Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3858

May 6th, 2014 05:00

AIX :: change adapter settings online

Hi All,

i have the following challange; let me first explain what i can do, and what i want to do.

we have two fibre adapter, fcs0 and fcs1, both have 192 paths;

# powermt display

Symmetrix logical device count=96

CLARiiON logical device count=0

Hitachi logical device count=0

HP xp logical device count=0

Ess logical device count=0

Invista logical device count=0

==============================================================================

----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------

###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors

==============================================================================

   0 fscsi1                        optimal     192      0       -     0      0

   1 fscsi0                        optimal     192      0       -     0      0

We now need to change settings on the fcs0 and fcs1 adapters (setting is tme). For one of these adapters this is relatively easy, since the hdiskpowerxx devices are not attached to it:

# lsdev -C | grep fcs

fcs0         Available 04-00       8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)

fcs1         Available 02-00       8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)

# lsdev -C | grep 04-00 | grep hdiskpower <-- shows all the hdiskpowers

# lsdev -C | grep 02-00 | grep hdiskpower <-- shows no hdiskpowers

So, we can disable hba=0

# powermt disable hba=0 dev=all

fscsi1 is now failed, with all paths dead.

# rmdev -Rl fcs1

Now all devices are on Defined, and i can change the device fcs1 and fscsi1, afterwards i run

# cfgmgr

# powermt enable hba=0 dev=all

And all paths are available again.

So far the easy part, now the challange; All hdiskpowerxx devices are mapped to fcs0 (lsdev -C | grep 04-00 | grep hdiskpower). I can disable this hba, but these devices stay on this HBA.

If i now do

# powermt remove hba=1

The devices get moved to the other HBA, and i can do the things i need on the fcs0 device... however i can not get this device back under powerpath control (without rebooting).

Things i tried;

powermt save, remove the hba, do the changes, powermt load -> errors, not working

powermt check force -> removes the dead paths and the hba, however the hdiskpowerxx devices stay on this adapter.

Thanks for reading so far :-) If you need more info let me know

ooh yeah, versions;

Vios 2.2.2.2 (AIX 6.1 TL8 SP2)

Powermt 5.5 P 06 (build 4)

May 7th, 2014 01:00

Hi all, for now it seems you do not need to use "powermt disable" before "powermt remove".

So;

# powermt remove hba=0

# rmdev -Rl fcs0

fcnet0 Defined

sfwcomm0 Defined

hdisk2 Defined

….

fscsi0 Defined

fcs0 Defined

# cfgmgr

# powermt config

No Events found!

Top