Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pilot a DLPAR ?

Status
Not open for further replies.

stephnane

Technical User
Jun 25, 2004
34
FR
Hi.

I have a p650 server and I need to move a CPU from a partition to another.

How can I do this with a script ?

Tks.

Stephnane
 
There is no way to pilot this from the AIX ???
 
You can do this from AIX by Script and SSH over Public Key Mechanism to the HMC.

ssh hscroot@hmc chhwres.....


 
You can run some DLPAR operations from the AIX command line using the drmgr command. Here is an example....

drmgr [-r (for remove)|-a (for add)] –c (resource type) –q (quantity)

Remove 256 MB or memory:
drmgr -r -c mem -q 1

Add 256 MB of memory:
drmgr -a -c mem -q 1

Add 1 cpu:
drmgr -a -c cpu -q 1

Is this supported by IBM? I have no idea. Have I tried it on a system of my own? Not yet, but this information was provided to me by a very trusted source so I am passing it along with no guarantee of functionality. If you try it out please let me know how well it works. HTH.


Jim Hirschauer
 
AIX5L - excellent post

hirschaj - a don't see those flags in the man page.... I'd be curious to see if it works.

 
This command woks with scripts, but it seems to be hard to understand how it works...

I'll try to work with the HMC

Stephnane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top