How to register the license in EMC (powermt) multipathing on Linux ?

Before starting this article, I would like to thank Danish Inamdar my colleague for sharing this information with me, whole credit for this articles goes to him.

Today we got one issue where on server after reboot customer complained about missing file system. Server was having EMC multipathing and when we issued the command to check the status of disks, we found that some of disks are showing mode as unlicensed.
[root@mynode1 ~]# powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=**************** [my_mynode1]
Logical device ID=600601601C22280016002FBEE3C1E111 [LUN 207]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0;
Owner: default=SP B, current=SP B Array failover mode: 4
==============================================================================
————— Host ————— – Stor – — I/O Path — — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
4 qla2xxx sdb SP A1 unlic alive 0 0
4 qla2xxx sdc SP B0 unlic alive 0 0
3 qla2xxx sdd SP A0 active alive 0 0
3 qla2xxx sde SP B1 active alive 0 0

Issued below command to check the registration status and found that it is in expired status. Before reboot it was working fine only after reboot we encounter the issue.

[root@mynode1 ~]# powermt check_registration
Key ****-****-****-****-****-****
Product: PowerPath
Capabilities: All
Expired: Oct, 2012

We registered the new key to get rid of the error.

[root@mynode1 ~]# 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): ****-****-****-****-****-****
1 key(s) successfully added.
Key successfully installed.

Key (Enter if done):
1 key(s) successfully registered.

After the successful registration we were able to see the new key along with old one in below command output.

[root@mynode1 ~]# powermt check_registration

Key ****-****-****-****-****-****
Product: PowerPath
Capabilities: All
Expired: Oct, 2012

Key ****-****-****-****-****-****
Product: PowerPath
Capabilities: All

We removed the old key from the previous output.

[root@mynode1 ~]# emcpreg -remove ****-****-****-****-****-****

After the above operation only one key was showing in output which is the newly and desired one.

[root@mynode1 ~]# powermt check_registration
Key ****-****-****-****-****-****
Product: PowerPath
Capabilities: All

All the paths are showing in active status after that 🙂

[root@mynode1 ~]# powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=**************** [my_mynode1]
Logical device ID=600601601C22280016002FBEE3C1E111 [LUN 207]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=SP B, current=SP B Array failover mode: 4
==============================================================================
————— Host ————— – Stor – — I/O Path — — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
4 qla2xxx sdb SP A1 active alive 0 0
4 qla2xxx sdc SP B0 active alive 0 0
3 qla2xxx sdd SP A0 active alive 0 0
3 qla2xxx sde SP B1 active alive 0 0

Tips : If on the initial PowerPath installation, the license key is added after a host reboot, the PowerPath policy by default is set to Basic Failover. The Basic Failover policy is used for one HBA zoned to two ports on the backend storage. If one of the backend ports fails, the I/O traffic will be sent down the other path. There is no load balancing with this configuration. This is a valid policy if there is no license key. After adding the license key, the PowerPath policy must be manually changed to ClarOpt for CLARiiON arrays in order to maximize PowerPath’s potential. These policy’s are available with a full license key.

Advertisements

One thought on “How to register the license in EMC (powermt) multipathing on Linux ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s