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.

Saturday, 14 January 2012

Hp Unix LVM Commands

# extendfs : To Extend a file system.
# lvmadm : Display the limit associated with the volume group version.
# lvchange : Change the attribute of a logical volume.
# lvcreate : To create a logical volume.
# lvdisplay : To display information about a logical volume.
# lvextend -m : Add a mirror to a logical volume.
# lvextend -L : Increase the size of the logical volume.
# lvlnboot : Prepares a logical volume to become a root, swap, dump area.
# lvmerge : Merge the split logical volumes.
# lvmove : Migrate a logical volume to a new disk.
# lvreduce -L : Reduce the size of the logical volume.
# lvreduce -m : Reduce the number of mirror copies of a logical volume.
# lvremove  : Remove a logical volume.
# lvrmboot : Removes a logical volume link to root, swap, dump.
# lvsplit : Split a mirrored logical volume into two logical volumes.
# lvsync : Syncronize the stale logical volume.

Tuesday, 10 January 2012

Need of PVID, UDID and IEEE

To export a physical volume as a virtual device, the physical volume must have an IEEE volume attribute, a unique identifier (UDID), or a physical identifier (PV ID).

Physical Volume Identifiers

A physical volume in an AIX Box (hdisk#) could be identified with Physical Volume ID, UDID (Unique Device Identifier), IEEE Identifier.

PVID : 32 Digit Identified on which the first 16 Digit remains the same on all the Physical Volumes and the remaining 16 Digit vary among the physical volumes.

UDID : This is value that is assigned to the physical volumes that are managed by MPIO.

$ chdev -dev hdisk# -verbose : Command to view the PVID, UDID and IEEE ID for a physical volume.

# lsattr -EHl hdisk# : Command to view the PVID and UDID for a disk.

$ chkdev -dev hdisk1 -verbose

NAME:                hdisk1
IDENTIFIER:          210ChpO-c4HkKBc904N37006NETAPPfcp
PHYS2VIRT_CAPABLE:   YES
VIRT2NPIV_CAPABLE:   NA
VIRT2PHYS_CAPABLE:   NA
PVID:                00c58e40599f2f900000000000000000
UDID:                2708ECVBZ1SC10IC35L146UCDY10-003IBXscsi
IEEE:
VTD:
PHYS2VIRT_CAPABLE:  Shows that the resource could be virtualized.
VIRT2NPIV_CAPABLE:  Shows that the resource is N-Port Virtualization supportive.
VIRT2PHYS_CAPABLE :  Shows the resource could be used as a physical object.

Wednesday, 21 December 2011

Volume Group Operation in AIX and HP_UNIX

HP_Unix:

1) #  vgdisplay <volume group name> : Display information about the volume group.

2) # vgdisplay -v <volume group name> : Display more detailed information on the volume group.

3) # vgchange -a y /dev/<VG name> : To activate a volume group.

4) # vgchnage -a n /dev/<VG name> : To deactivate a volume group.

5) # vgexport  /dev/<VG name> : To remove a volume group.

6) # vgimport /dev/<VG name> : To import an exported volume group.

IBM AIX:

1) # lsvg : List all the volume groups.

2) # lsvg -o : List all the active volume groups.

3) # lsvg <volume group name> : Information about the Volume group.

4) # lsvg -l <volume group name> : Information about the logical volumes in the volume group.

5) # lsvg -p <volume group name> : Information about the physical volumes in the volume group.

6) # lsvg -m <volume group name> : Information about the mirroed volume group.

7) # varyoffvg <volume group name> : To deactivate a volume group.

8) # varyonvg <voluume group name> : To activate a volume group.

9) # exportvg  <voluume group name> : To remove a volume group.

10) # importvg <voluume group name> : To import a volume group.

Volume Group Creation in HP_Unix and IBM AIX

HP-UNIX:

1) # ioscan -funC disk : Locate the disk you want to use for the creation of volume group.

2) # strings /etc/lvmtab : Shows the physical volumes that are part of LVM.

3) For Hp Unix Version 11:

We need to create a device file called "group" for the volume group which we are about create. The "group" file is a character based file with the major  "64" default for Hp_ux and minor number of out choice "0x010000"

# cd /dev/

# mkdir <volume group name>

# chown root:root <volume group name>

# chmod 755 <volume group name>

# cd /volumegroup name

# mknod /dev/volume group name/group c 64 0x010000

# chown root:sys group

# chmod 755 group

4) # pvcreate /dev/rdsk/c#t#d# : PV creation.

5) # vgcreate -s <PE size> /dev/<volume group name> /dev/dsk/c#t#d#

6) # vgdisplay : View the volume group created.

7) # strings /etc/lvmtab : Verify the same.

AIX:

1) # cfgmgr

2) # lspv :  Select the physical volumes in the none state.

3) # mkvg -y <volume group name> -s <PP size> <Physical volumes....>

4) # lsvg  : List all the volume group.

5) # cd /etc/vg/

6) # ls -l : Verify a "Zero Byte" file is created with the prefix "vg.<VG ID>" has been created..

Tuesday, 20 December 2011

Adding and Removing a Device in AIX and HP_UNIX

AIX: # cfgmgr :  Execute configuration manager.

HP_UNIX: # ioscan : Running hardware scan on the box.

AIX:  # rmdev -dl <Device name> : Command to remove a device.

HP_UNIX: # rmsf -a <Device path (/dev/dsk/c2t0d0)

AIX: # mkdev -l <Device name> : To bring the device active or # cfgmgr.

HP_UNIX: # insf -e and then run # ioscan

AIX : # lsdev -Cc <Class> -d <Device name> -F Parent : View the parent of the device.

HP_UNIX: # ioscan

Monday, 19 December 2011

LVM in IBM AIX and HP UX

Volume Group Creation:

# mkvg -y <VG name> -s <Size of PP> <Physical Volumes>  : AIX

# vgcreate -n <VG name> <Physical Volumes> : HP_UX

Physical Volume Creation:

# mkdev -l hdisk# : Intialize a physical volume : AIX

# pvcreate /dev/rdsk/c#t#d# : Create a physical volume : HP_UX

Logical Volume Creation:

# mklv -t  <Filesystem type> -y <Logical volume name> <Volume group name> <No.of PP's>  <Physical Volume Name> : AIX

# lvcreate -L <Size in MB> -n <Logical volume name> <Volume group name with the location> : HP_UX

File System Creation:

# crfs -v <Filesystem type> -d <Logical volume name> -m <Mount point> -A y/n : AIX

# newfs -F vxfs <Location of a Raw Logical volume name> : HP_UX

Mount Point:

# mount <Logical Volume Name> <Mount Point> : Same in AIX and HP_UX.