Saturday, June 13, 2009

How to Check the Network Settings

How to Check the Network Settings on the system:

On HPUX System:
run lanscan and get the lan card id
#lanadmin -sx 0
Speed = 100000000
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF

On all the machines you can run $ `ifconfig -a` and get the nic card id
On Solaris System: ( Check for Solaris version, solaris 10 got dladm) Gotcha :-)
ndd -get /dev/hme link_speed
1 ( My NIC Card is set as 100mbps )
Legend: (0=10mbps 1=100mbps 1000=1gbps)

ndd -get /dev/hme link_mode
1 ( My NIC Card is set as Full Duplex)
(0=Half Duplex 1=Full Duplex)

For Solaris 10 systems:
#dladm show-dev
bge0 link: up speed: 100 Mbps duplex: full
bge1 link: down speed: 0 Mbps duplex: unknown

On AIX System:
$ entstat -d en4 grep -i med
Media Speed Selected: 100 Mbps Full Duplex

On Linux System: ( Checked on Red-Hat need to check in SuSE)
Need to try these commands; its been while I ran (missing output :-( )
mii-tool
ethtool


and let villagers be happy with your findings...

Tuesday, June 9, 2009

What's Happening Part - I (HPUX LVM 2.x)

Starting a new thread which will talk about the new technology changes:

Abstract from http://docs.hp.com/en/lvm-v2/L2_whitepaper_8.pdf



Introduction of HPUX LVM 2.x
The 2.0 volume groups became available with the March 2008 release of HP-UX 11i v3 (11.31) and the 2.1 volume groups with the 11i v3 2008 September release. Prior to the March 2008 release, only version 1.0 volume groups were available.



Notable Difference(s)/Enhancement(s):

1)Automatic creation of the volume group directory and group file is available starting with the March 2008 release of HP-UX 11i. It is available for 1.0 and 2.x volume groups

2) No. Of mirror Copies increased from 2 to 5 in LVM 2.x

3) You can have /etc/lvmtab and /etc/lvmtab_p

4) New Command : lvmadm ,

5) Boot, dump and primary swap not supported on 2.x resulting 2.x volume group cannot be used to save crashdumps.

6) Bad blocks not supported on 2.x

7) Commands not supported on 2.x volume groups :

vgmodify (1M), lvrmboot(1M), lvlnboot(1M), pvck(1M)