1834280 Members
1987 Online
110066 Solutions
New Discussion

Re: HPVM migration

 
madhuca-
Occasional Advisor

HPVM migration

 


# /opt/hpvm/bin/hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Rmt Host
==================== ===== ======= ========= ====== ===== ===== ======= ========
ipt001 2 HPUX On (OS) 8 24 3 96 GB 9
ipt002 3 HPUX On (OS) 8 50 3 96 GB 9
ipt003 4 HPUX On (RMT) 12 17 3 96 GB 7
ipt004 11 HPUX On (RMT) 4 51 3 64 GB 7

# /usr/sbin/cmviewcl

CLUSTER STATUS
cl_ipt up

NODE STATUS STATE
pst001 up running

PACKAGE STATUS STATE AUTO_RUN NODE
ipt001 up running disabled pst001
ipt002 up running enabled pst001

NODE STATUS STATE
pst002 up running

PACKAGE STATUS STATE AUTO_RUN NODE
ipt003 up running disabled pst002
ipt004 up running enabled pst002

 

There are two VSP machine (pst001 and pst002)

Each VSP machine running with 2 hpvm configured in cluster

HPVM version is 4.30

Now I need to move the ipt001 from pst001 to pst002.

commands are same as moving one package from one node to other node.

please confirm if my steps are correct.


#cmhaltpkg -v -n pst001 ipt002

#cmrunpkg -v -n pst002 ipt002

WIll those above works or any other commands to move hpvm from one node to other node.

2 REPLIES 2
Ajin_1
Valued Contributor

Re: HPVM migration

 

 

Hi

Login to the server and halt the Cluster packages individually.

Then move the VM

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Eric SAUBIGNAC
Honored Contributor

Re: HPVM migration

Bonjour,

Globally, yes those commands are OK.

Just be aware that :

- Once you have moved ipt002 to pst002  you have to activate the auto_run flag : cmmodpkg -e ipt002 It was activated before you move the VM, so I guess it is a critical VM you want to be automatically moved back to pst001 in case of a failure of pst002 ... or not ?

- When you halt a package there is no need to specify the node on which the package resides. You halt it, that's all.

- Unless you wrote any complementary scripts, cmhaltpkg will not shutdown properly the VM. So I strongly recommand that you shutdown all applications that are running inside the VM before moving it.

Hope this help

Eric

[ Oups : didn't saw it is an old thread. Anyway, I keep my post ]