1829265 Members
9232 Online
109988 Solutions
New Discussion

Scripting Help

 
SOLVED
Go to solution
George Chechakunnil
Frequent Advisor

Scripting Help

Hello Admins,

I would like to write a script so i can apply the EMC powerpath license on all systems.

Manually this is what i do

• emcpreg –install
• The following messag will be displayed:
=========== EMC PowerPath Registration ===========
Do you have a new registration key or keys to enter?[n]

• Type yes.

• Enter the key : XXXX-XXXX-XXXX-XXX-XXXX

you should see the message below:

Key (Enter if done): XXXX-XXXX-XXXX-XXX-XXXX
1 key(s) successfully added.
Key successfully installed.

• Enter to exit.
• Configure PowerPath devices. Enter:
powermt config
• Enable load balancing and failover using the following commands:
powermt set policy=so dev=all


If i can get this to a script then i can make it part of the depot and thus install automated on all our servers..

Any help would be appreciated
I am like a small boy picking up pebbles in god's vast shore of knowledge --- Sir Issac Newton
2 REPLIES 2
Tim Nelson
Honored Contributor

Re: Scripting Help

I believe there is a licence.dat file that you may just be able to copy to all servers. I know for sure there is one for Solutions Enabler.

Maybe just search the EMC support site ( might just get more hits than using the HPUX site )
Rita C Workman
Honored Contributor
Solution

Re: Scripting Help

If you have licensure for the product to your servers then Tim is right...
Once you have your licenses loaded on one box, just copy the file (below) to the rest of your servers.

/usr/emc/API/symapi/config/symapi_licenses.dat

Rgrds,
Rita