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.

Thursday, 19 January 2012

Unmirroring of Operating System in IBM AIX and Hp_Unix

IBM AIX:

1) # lsvg -m rootvg : Check the volume group is mirrored or not.

2) # lsvg -p rootvg : Check the physical volume that belong to the volume group.

3) # lsvg rotvg : Ensure that there are no stale partitions on the volume group.

4) # unmirrorvg rootvg hdisk# : Command to un mirror the Operating System from the mentioned hdisk#.

5) # lsvg -m rootvg : Check the volume group is mirrored or not.

6) # chpv -c hdisk# : Command to clear the boot image from the physical volume.

7) # reducevg -d -f rootvg hdisk3# : Command to remove the hdisk# from the root volume group.

Hp_Unix:

1) # vgdisplay -v vg00 | grep "PV Name" : Command to view the Physical volume of the OS volume group.

2) # vgdisplay -v vg00 | grep "LV Name" : Command to view the Logical volumes on the OS volume group.

3) # lvdisplay -v <lv_name> : Command to view the logical volume distribution over the physical volume.

4) # lvreduce -m 0 <logical_volume_name> <physical_volume_name> : Command to unmirror the OS volume group.

5) # lvlnboot -R : Command to refresh the boot table.

6) # lvlnboot -v : View the updated boot list.

7) # vgreduce vg00 /dev/dsk/c#t#d# : Command to remove the disk from the OS volume group.

8) Remove the disk entry from the file "/stand/bootconf"...

Mirroring of Operating System in IBM AIX and Hp_Unix-Part II

1) # ioscan -funC disk : Select an empty disk which is of same size of the OS disk.

2) # diskinfo -v /dev/rdsk/c#t#d# : Command to verify the size of the disk.

3) # vi /tmp/idf : File that contains entry and amount of space allocated to the EFI, OS, HPSP Partition.

3
EFI 500MB
HPUX 100%
HPSP 400MB

Save the file.

4) # idisk -wf /tmp/idf /dev/rdsk/c#t#d# : Command to create partition as described in the /tmp/idf.

5) # idisk /dev/rdsk/c#t#d# : Command to verify the created partition.

6) # insf -eC disk : Command to create DSF for the partition.

7) #ioscan -kfnN /dev/dsk/c#t#d# : Command to ensure the DSF created successfully.

8) # mkboot -e -l /dev/rdsk/c#t#d# : Command to copy "/efi/hpux/hpux.efi" bootloaded to the new partition.

9) # efi_ls -d /dev/rdsk/c#t#d#_p1 /efi/hpux : Command to verify the "hpux.efi: bootloader is copied into the new partition.

10) # mkboot -a "boot vmunix -lq" /dev/rdsk/c#t#d# : Command to disable quorum on the disk.

11) # insf -eC disk : Command to create DSF.

12) # pvcreate -fB /dev/rdsk/c#t#d#_p2  : Command to create a bootable disk.

13) # vgextend vg00 /dev/dsk/c#t#d# : Command to add physical volume to existing OS Volume group.

14) # lvlnboot -R : Command to update the LABEL file of OS Partition.

15) # lvlnboot -v :  Command to verify the boot disks.

16) # vi /stand/bootconf : Add the below lines to the files to show the boot disk and sequence.
1 /dev/dsk/c#t#d#_p2
2 /dev/dsk/c#t#d#_p2

Save the file.

17) # setboot -p /dev/dsk/c#t#d#  : Command to set the primary boot path.

18) # setboot -h /dev/dsk/c#t#d# : Command to set the secoundary boot path.

19) # setboot : Command to verify the boot path.

Mirroring of Operating System in IBM AIX and Hp_Unix

IBM_AIX:

# lspv : Command to list the physical volumes. Identify the disk that belongs to the volume group "rootvg".

# extendvg rootvg hdisk# : We add another empty disk to the rootvg to mirror the Operating System.

# mirrorvg rootvg : Command to mirror the Operating System.

# lsvg -l rootvg : Command to check the rootvg is mirrored.

# lsvg -m rootvg : Command to check the rootvg is mirrored.

# bosboot -ad /dev/hdisk# : Command to create boot image on the mirrored disk.

# boolist -m both -o hdisk# : Command to update the bootlist.

The above procedure is simple enough in AIX but its really a complicated in Hp_Unix.

HP_UNIX:

Understanding the boot disk structure:

Boot disk is divided into 3 partition:

* EFI (Extensible Firmware Interface) Partition.
* OS Partition.
* HPSP (HP Service Partition).

EFI Partition:  Location /dev/rdsk/disk1_p1

OS loader is called "\efi\hpux\hpux.efi"

"\efi\hpux\auto" file that holds several system boot string and trouble shooting utilities.

1) Contains the Master Boot Record at the top of the disk.

2) Each EFI partition is has a GUID (Globally Unique Identifier) and the locations are recorded in the EFI GUID Partition table.

3) Contains OS loader for loading OS in memory during the boot process.

OS Partition: Location /dev/rdsk/disk1_p2

1) LIF (Logical Interchange Format) area in a OS Partition that contains a LABEL File that identifies the location of boot, swap and root file systems.

2) It also includes PVRA, VGRA, BDRA, BBRA.

HPSP:  Location /dev/rdsk/disk1_p3

1) Contains offline diagnostics utilities. Its FAT 32 file system.


Continued.....