Pages

Wednesday, December 18, 2013

Root Disk Mirror in HPUX 11.31 vg00




Locate disks

/usr/sbin/ioscan -fNnkC disk (to find out boot disk and empty disk for me /dev/dsk/c2t1d0 is empty disk)

ioscan -m lun

Locate Slice

/usr/sbin/ioscan -m dsf


Activate disk
pvcreate -fB /dev/dsk/c2t1d0

extend vg
sam-> vg -> vg00-> extendvg  or vgextend rootvg /dev/dsk/c2t1d0

then vgdisplay -v vg00 (first disk will be main disk and second disk will be empty disk)

  --- Physical volumes ---
   PV Name                     /dev/disk/disk4_p2
   PV Status                   available
   Total PE                    4347
   Free PE                     3280
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/dsk/c2t1d0
   PV Status                   available
   Total PE                    4356
   Free PE                     4356
   Autoswitch                  On
   Proactive Polling           On



for i in $(vgdisplay -v vg00| grep "LV Name" | awk '{ print $3 };')                          (press enter)
do              (press enter)
lvextend -m 1 $i /dev/dsk/c2t1d0    (press enter)
done   (press enter)



Add EFI menu for Autoboot
efi_cp -d /dev/dsk/c2t1d0   /tmp/AUTO.lq /EFI/HPUX/AUTO

To check current Bootable devices
lvlnboot -v

To check current disk size
diskinfo -v /dev/rdsk/c2t1d0

Thursday, August 1, 2013

IBM x3850 X5 Available on Rent @ Delhi, Chennai, Hyderabad, Noida, Calcutta

Ibm x3850 X5 Server available with Dual 8 core processors. Please call + 919769494144 or shailesh.bhanushali@infotrendz.com for more details

Dell C6100 Server Available on Rent, Mumbai, Delhi, Bangalore, Pune

Dell Power Edge Server C6100 XS23-TY3 

4 x HOT PLUG NODES 

2 x 2.13GHz Six Core L5639 Processors 96GB RAM per node (2u chassis can take 4 nodes, total will be 8 * 6 core cpu, 384gb memory per 2u chassis)

Please call + 919769494144 or mail me on shailesh.bhanushali@infotrendz.com for any requirement on Rent


Monday, May 20, 2013

IBM Server Spares Available for Sale

We have IBM Server Spares Available for Sale, Next Day Delivery in Mumbai, Bangalore, Delhi, Pune, Hyderabad, Chennai


03N6441                            IBM 2GBPS FC Adapter Feature Code 280B

00P6131                            IBM Dual Port Giga Network Adapter Feature Code 5706

D42357-001 or 39Y9661 or SBCECMM2               IMM module for IBM/Intel Blade Chassis

46M6151 or 39Y9327 or 39Y9326       Network Pass Thru Module or server connectivity module

44W4486 or 44W4485     Copper Pass Thru Module

13N2285 or 13N2286       Cisco Giga Ethernet Switch Module for IBM BladeCenter

26K6481 or 26K6479       Qlogic 6-Port Enterprice fibrechannel switch module for IBM BladeCenter

44X1916 or 44X1913        Qlogic 8gb PassThru Module for IBM BladeCenter



Saturday, April 13, 2013

Hp Itanium 2 Rx 2660 Server spares available

AB419-60001   : - HP Rx 2660 server 2 Socket System Board
AB419-60002   : - HP Rx 2660 server 3 Slot PCI-X IO Riser          
AB419-60004   : - HP Rx 2660 server Fan/Display Board              
AB419-60005   : - HP Rx 2660 server Diagnostic Display Panel       


AD391-2100C


AB419-2101A, AH235A : HP Integrity rx2660 Dual Processor Server

Monday, March 11, 2013

HPUX Raid on 6400 controller

ioscan -kfnd ciss  will show available ciss device output will be /dev/cissX(x can be 1 or 2 or 5 )

then..

sautil /dev/ciss5 (hope controller is @ 5)

will show you errors on controller and settings(raid type and hot spare details)

Saturday, February 9, 2013

Unix Command Shortcuts

Unix Grep and Kill process in one line

kill -9 `ps -ef | grep ppp | awk '{ print $2 } ' (This command will search for process called ppp and kill all instance of ppp)



macaddress=`cat /sys/class/net/eth0/address`  (store mac address in variable)
currentip=`ifconfig eth0 | grep "inet addr" | awk -F: '{ print $2 }' | awk '{ print $1 }'` (store ip address in variable)
currentsubnet=`ifconfig eth0 | grep "inet addr" | awk -F: '{ print $4 }' | awk '{ print $1 }'` (store subnet in variable)