Tuesday, April 5, 2011

EXTENDING EXISTING FILE SYSTEMS ONLINE IN HP-UX

EXTENDING ONLINE JFS FILESYSTEMSIf you want to extend /usr from 300MB to 600MB, and there is available space, do the following:              1. Determine lvol # of /usr. Type: #bdfMake note of the lvol that is mounted to /usr.2. Increase lvol6 to 600MB:  /sbin/lvextend -L 600 /dev/vg00/lvol6 (-L...

CREATING A BOOT DISK – ROOT VOLUME in HP-UX SERVER

CREATING A BOOT DISK – ROOT VOLUME in HP-UX SERVER 1. First create a bootable logical volume disk. #pvcreate –B /dev/rdsk/c0t1d0  2. Add the PV to vg00. #vgextend /dev/vg00 /dev/dsk/c0t1d0 3. Place Boot Utilities on disk:   #mkboot /dev/rdsk/c0t1d0 4. Add the AUTO File to the LIF area:  #mkboot –a “hpux –lq (;0)/stand/vmunix”...

HP-UX - MIRRORING ROOT VOLUME

MIRRORING THE ROOT VOLUME 1. First create a bootable logical volume disk. 2. Mirror the root logical volume to new disk: #lvextend –m 1 /dev/vg00/lvol1 /dev/dsk/c0t1d0 3. Mirror the Primary Swap area: Lvextend –m 1 /dev/vg00/prswaplv /dev/dsk/c0t1d0 4. Verify the LVM was updated: #lvlnboot –v BREAKING A MIRROR FOR BACKUP PURPOSES Mirrors...

Network management - HPUX

Network management - HPUXTo display the network interface cards and status# lanscan Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI Path Address In# State NamePPA ID Type Support Mjr# 0/0/0/0 0x00306E1CC281 0 UP lan0 snap0 1 ETHER Yes 119 1/12/0/0 0x00306E210F32 3 UP lan3 snap3 ...