Operating System - HP-UX
1826534 Members
3859 Online
109695 Solutions
New Discussion

Re: move a package from running on one node to another

 
SOLVED
Go to solution
Bob Carback
Frequent Advisor

move a package from running on one node to another

It looks like the only way to move a package from running on one node to running on another is to --
cmhaltpkg pkg1
cmrunpkg -n othernode pkg1

Is this true or am I missing a command?
8 REPLIES 8
Marvin Strong
Honored Contributor

Re: move a package from running on one node to another

you got it thats how you do it.
A. Clay Stephenson
Acclaimed Contributor

Re: move a package from running on one node to another

Well, if you've setup your package correctly there is an even simpler method:

1) Grab power cord
2) Yank

pkg1 should then start running on othernode.
If it ain't broke, I can fix that.
Marvin Strong
Honored Contributor

Re: move a package from running on one node to another

LOL
Yeah, if you have physical access to the machine in question. Always good to test failures when setting up a cluster :)
Steven E. Protter
Exalted Contributor

Re: move a package from running on one node to another

Shalom,

A. Clay's methodology has the benefit of being how things happen in real life.

Maybe a little hard on the power supply but its an HP-9000 server after all. Only Merkava tanks are tougher.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: move a package from running on one node to another

Okay, if you don't have physical access then:

1) Aim gun at server
2) Pull trigger
3) Lather, rinse, and repeat until something vital is hit.

Running the cmhaltpkg and cmrunpkg commands are only the start of a testing cycle but they are the way that packages are moved for maintenance, for example.
If it ain't broke, I can fix that.
Bob Carback
Frequent Advisor

Re: move a package from running on one node to another

-
Torsten.
Acclaimed Contributor

Re: move a package from running on one node to another

Regarding the gun - go to this link and watch the video:

http://h71028.www7.hp.com/ERC/cache/49205-0-0-225-121.aspx?bodycontentparams=320065-0-0-0-121&ERL=true

;-)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
A. Clay Stephenson
Acclaimed Contributor

Re: move a package from running on one node to another

Dang, I only thought I was being stupid. I may have to add that to my MC/SG cluster testing.
If it ain't broke, I can fix that.