Sys-Admin Information’s

Share Knowledge, Distribute Knowledge, Capture & Modify Knowledge, Create Knowledge

Archive for the ‘Multipath I/O’ Category

IP multipathing on Solaris 10 with Hanic (NIC Redundancy with one IP)

without comments

Hanic ?
Do you know what’s that.
Yes, Hanic is NIC Redundancy with one IP, hanic was made by “Partha Subramanian”, and based on perl, hanic more simply and powerfull than IPMP, the default solaris IP multipathing. Why hanic was simply, in hanic we unnecessary to defined all requirement for respective NIC , just install, run and ready to failover.

Bellow, this is the step by step for hanic used.

1. First of all, we must got the hanic source as usually

bash> wget http://www.sun.com/bigadmin/scripts/submittedScripts/hanic.tar.gz

2. Show your NIC for me

bash> ifconfig e1000g0 plumb
bash> ifconifg e1000g1 plumb
bash> vi /etc/hosts
192.168.85.3    training.bascomp.org    training

3. Install hanic on your system

bash> gunzip hanic.tar.gz|tar xvf -
bash> cd hanic
bash> chmod +x *
bash> ./hanic.install

As usually software installation you must follow the guide, something like this.
Define your primary and secondary NIC, type your IP Address, your netmask and then reboot your system, for completed the installation.

bash> init 6

Read the rest of this entry »

Written by Hendrawan

April 25th, 2009 at 4:20 pm

Posted in Multipath I/O, Solaris

Tagged with ,

PowerPath show “unlic” status

without comments

Unlic indicates that unlicensed PowerPath is running for a CLARiiON array (no license key has been installed), Unlicensed defaults to “basic Fail/Over policy, we made change yet.

bash> powermt display dev=emcpower0a|grep policy
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
bash> powermt display dev=emcpower0a
Pseudo name=emcpower0a
CLARiiON ID=CK200071500374 [SERVER]
Logical device ID=60060160F0CE1A00185D33F95722DD11 [LUN 25 SERVER]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 1
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
3072 pci@8,700000/SUNW,qlc@3/fp@0,0 c5t5006016239A02677d0s0 SP A2     active  alive      0      0
3072 pci@8,700000/SUNW,qlc@3/fp@0,0 c5t5006016A39A02677d0s0 SP B2     active  alive      0      0
3074 pci@8,700000/SUNW,qlc@3,1/fp@0,0 c6t5006016339A02677d0s0 SP A3     unlic   alive      0      0
3074 pci@8,700000/SUNW,qlc@3,1/fp@0,0 c6t5006016B39A02677d0s0 SP B3     unlic   alive      0      0

Workaround
1. powermt check_registration
2. powermt set policy=co dev=all (Set the Policy to co = Clariion Optimization)
3. powermt display dev=all
4. powermt save

bash> powermt display dev=emcpower0a|grep policy
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
bash> powermt display dev=emcpower0a
Pseudo name=emcpower0a
CLARiiON ID=CK200071500374 [SERVER]
Logical device ID=60060160F0CE1A00185D33F95722DD11 [LUN 25 SERVER]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 1
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
3072 pci@8,700000/SUNW,qlc@3/fp@0,0 c5t5006016239A02677d0s0 SP A2     active  alive      0      0
3072 pci@8,700000/SUNW,qlc@3/fp@0,0 c5t5006016A39A02677d0s0 SP B2     active  alive      0      0
3074 pci@8,700000/SUNW,qlc@3,1/fp@0,0 c6t5006016339A02677d0s0 SP A3     active  alive      0      0
3074 pci@8,700000/SUNW,qlc@3,1/fp@0,0 c6t5006016B39A02677d0s0 SP B3     active  alive      0      0

Written by Hendrawan

March 23rd, 2009 at 8:02 pm

Posted in Multipath I/O, Solaris