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 Chriss Miller 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
Joined
Jun 25, 2004
Messages
34
Location
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
 
DLPAR operations must be run from the HMC. Either from the HMC user interface or the HMC command line.

The info on how to do it is in a redbook:
These operations can be automated from a unix box (you need ssh and perhaps also expect)


HTH,

p5wizard
 
There is no way to pilot this from the AIX ???
 
no. you must do it from an HMC
 
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.

 
hfaix you are correct. Those are undocumented flags. I am curious about them too but don't have a test system to use right now.


Jim Hirschauer
 
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