Today we encountered a degraded policy in EMC PowerPath disk on one of our SUN/Oracle Solaris boxes. We found out that the license for our PowerPath was not properly installed on the system. With this current issue – our disks is only running on Basic Failover policy which is not recommended for CLARiiON disks. To mitigate the issue, we need to install the license and set the policy back to CLARiiON Optimization Policy.
Check the current status of the EMC PowerPath
[email protected]# /etc/powermt display dev=emcpower0a Pseudo name=emcpower0a CLARiiON ID=APM00063103821 [solaris] Logical device ID=600601601C0XXXXXXXXXXXXXXXXXXX11 [LUN 356] state=alive; policy=BasicFailover; priority=0; queued-IOs=0; Owner: default=SP A, current=SP A Array failover mode: 1 ============================================================================== --------------- Host --------------- - Stor - -- I/O Path -- -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 3074 [email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0 c3t500601234567890Bd0s0 SP A1 active alive 0 1 3074 [email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0 c3t500601234567891Bd0s0 SP B1 active alive 0 0 3075 [email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0 c3t500601234567892Bd0s0 SP A3 unlic alive 0 1 3075 [email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0 c3t500601234567893Bd0s0 SP B3 unlic alive 0 0
Install the license
[email protected]# /etc/emcpreg -install =========== EMC PowerPath Registration =========== Do you have a new registration key or keys to enter?[n] y Enter the registration keys(s) for your product(s), one per line, pressing Enter after each key. After typing all keys, press Enter again. Key (Enter if done): ABCD-EFGH-1234-IJKL-5678-MNOP 1 key(s) successfully added. Key successfully installed. Key (Enter if done): 1 key(s) successfully registered.
Check if the license was installed
[email protected]# /etc/powermt check_registration Key ABCD-EFGH-1234-IJKL-5678-MNOP Product: PowerPath Capabilities: All
Set the policy to CLARiiON Optimization
[email protected]# /etc/powermt set policy=co dev=emcpower0a
Check the status of the EMC PowerPath after the changes
[email protected]# /etc/powermt display dev=emcpower0a Pseudo name=emcpower0a CLARiiON ID=APM00063103821 [solaris] Logical device ID=600601601C0XXXXXXXXXXXXXXXXXXX11 [LUN 356] state=alive; policy=CLAROpt; priority=0; queued-IOs=0; Owner: default=SP A, current=SP A Array failover mode: 1 ============================================================================== --------------- Host --------------- - Stor - -- I/O Path -- -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 3074 [email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0 c3t500601234567890Bd0s0 SP A1 active alive 0 1 3074 [email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0 c3t500601234567891Bd0s0 SP B1 active alive 0 0 3075 [email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0 c3t500601234567892Bd0s0 SP A3 active alive 0 1 3075 [email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0 c3t500601234567893Bd0s0 SP B3 active alive 0 0