About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Friday, 8 April 2011

Link Aggregation

Link Aggregation refers to the process of assigning an IP Address to 2 Physical Interfaces for redundany purpose.


In AIX:


Smit > Devices > Communication > EtherChannel / IEEE 802.3ad Link Aggregation > Add An EtherChannel >
Link Aggregation


Select the primary network adapter (ent0) and select its mode as 8023ad. Now both the interfaces ent0 and ent1 are bounded together to form virtual interface ent2. Assign the IP address to the virtual interface ent2.


In case if any one of the interface goes down another interface will act as a backup.


  

History with Time

The post shows the command used to view the history with the time appendend to it.

# HISTTIMEFORMAT="%c #"

# export HISTITMEFORMAT

# history

The output will show the commands executed and what time the commands were executed.

Monday, 4 April 2011

Instfix

1) # instfix -i /* List all the fixes installed on the machine */

2) # instfix -i -k "APAR No" /* Check the requested APAR Installed on the machine or not */

3) # instfix -icqk 5300-04-AIX_ML | grep ":-:" /* List the filesets requested to bring the machine to desired TL */

4) # instfix -k "APAR No" -d /dev/rmt0 /* Installing a fix from Tape*/

LVM Command

1) # chfs -a size=+/-<size> <file system> /* Increases/Decrease the size of a journaled file system to the total number of  512 byte blocks specified */

2) # chlv -n <new name> <old name> /* Change the name of a logical volume (it must be inactive) */

3) # mklv -y <LV name> -t <LV type> <VG name> <No.of PP's> /* This command makes a logical volume, mount point with a journaled file system */

4) # crfs -v <File system type> -d < LV name> -m <Mount point> /* Creates a jfs file system on a logical volume. */

5) # df -k /*  Shows the disk usage of logical volumes on the server.*/

6) # reducevg -d -f <VG name> <PV name> /* Removes a volume group from a machine */

7) # extendvg <VG name> <PV name> /*Adds a new physical volume to an existing volume group*/

8) # mkvg -y <VG name> <PV name> /* Add a volume group to another machine */
9) # lslv <LV name> /*Lists information about the logical volumes. */

10) # lspv /*Lists the disks on the server, including the physical volume will give details about that disk. */

11) #lsvg <VG name> /* Lists the volume groups on the server, including the volume group name will give details about that vg. */

12) #lsvpcfg  /* Lists each vpath and the hdisks that make up the vpath*/







 

Friday, 1 April 2011

Package Handling in AIX

This post deals with the commands to handle the LPP's, Packages and Filesets.

1) # lslpp -ha /* To list installation history of filesets */

2) #  lslpp -v /* To the filesets that do not have the required prerequisites or are not completely installed */

3) # lslpp -w /usr/sbin/mkvg /* To the filesets that do not have the required prerequisites or are not completely installed */

4) # lslpp -f bos.rte /* To display the names of all the files of fileset bos.perf  */

5) # lslpp -l bos.rte.security /* To display the names of all the files of fileset bos.perf */

6) # lslpp -l  /* To list all the installed software AIX */

7) # lslpp -L  /* To list all the installed softwares of AIX and Linux RPM */

Checking the Boot Disk

The post contains 2 basic and important command to get more information about the boot disk.

# bootinfo -b  /* Command to veiw the current booting device */

# bootinfo -d /* Command to view the previous booting device */

# bootlist -m <mode< -o -v /* Command to display the booting disk information stored in NVRAM */

# ipl_varyon -i  /* Command to show list of booting device */

Wednesday, 30 March 2011

Split and Joining a Volume Group in AIX

Splitting refers to the process of a breaking a mirrored Volume Group, which can be imported and used in a different AIX Machine or a LPAR. Applicaton Portability with less downtime are executed using the Splitting and Join Operation.

Scenario:

Consider an application configured on a volume group called "Application" which is made up of hdisk0 and hdisk1. And the application is mirrored.

Note: Only a mirrored volume group can be splitted.

Steps to Split:

1) # lsvg -o

2) # lsvg -l application /* Check the VG is mirrored */

3) # lsvg -p application  /* PV's used to make the Volume Group*/

4) # splitvg -y <new vgname> -c 2 application /* Splitting application VG to a new VG, if no new name is givethen the VG is created with the default name vg00 */

5) New VG name is given as say "backupappln"

6) The VG "backupappln" is created in the PV hdisk. Where hdisk1 was a part of mirrored VG application.

7) Verify the new VG Created.

8) # lsvg - l backupappln

9) # lsvg -l application

10)  # lsvg -p application

The output will still show that the VG application is made up of hdisk0 and hdisk1 but the state of hdisk1would be snapshotlv.


11) # lsvg -p backupappln

The output will show only the hdisk1

12) Now we export the VG backupappln to be used in a different machine. Before exporting the VG backupappln make sure that there is no Open Logical Volume and Varyoff the VG.
    
     # varyoffvg backupappln
 
13) # exportvg backupappln

14) # rmdev -Rdl hdisk1 /* The disk hdisk1 has been removed from the AIX Machine */

15) # lsdev -l hdisk1 /* Ensure the hdisk1 is not shown */

16) Connect the hdisk1 to the required machine.

17) # cfgmgr /* Look for the newly connected device */

18) # lsdev -l hdisk1 /* Check the status of hdisk */

19) # importvg -y VG Name PV Name

VG Name : backupappln and PV Name : hdisk1

20) # lsvg -o /* Output will show the VG backupappln */

21) # lsvg -l backappln /* List the LV's in the VG */

22) By default all the LV's  and mountpoints are prefixed with "fs".

23) # chlv -n newname oldname /* To change the name of the LV's

24) # chfs -m newmount point filesystem /* To change the mount point */

25) # mount -a /* To mount the file system *.