RX6600上VM,Cluster管理命令

ljm0211發表於2012-06-20

usage: hpvmstart {-P vm_name | -p vm_number} [-F | -s] [-Q]

zjop01上啟動vm的命令:hpvmstart -P guest1

zjop02上啟動vm的命令:hpvmstart -P guest2

usage: cmmodpkg [-v] {-e | -d} [-n node_name]... package_name...
or: cmmodpkg [-v] [-n node_name]... -R -s service_name package_name

常用“cmmodpkg -e zjoppkg”使得package名為zjoppkg的package自動切換

usage: cmhaltpkg [-v] [-n node_name]... package_name...

“cmhaltpkg zjoppkg”停掉zjoppkg包,zjoppkg為包名

usage: cmrunpkg [-v] [-n node_name]... package_name...

在zjop02上執行命令:"cmrunpkg cwyypkg"

作用為在zjop02上啟動名為cwyypkg的包,cwyypkg為包名

同時還有cmhaltnode,cmhaltcl命令:

cmhaltnode [-f] [-v] [node_name...]

cmhaltcl [-f] [-v]     如:cmhatlcl -f -v cluster_zjop

usage: hpvmstatus [-V | -M | -X] [-v]

       hpvmstatus {-P vm_name | -p vm_number} [-D] [-V | -M | -X] [-v]

       hpvmstatus -e [-P vm_name | -p vm_number] [-V | -M | -X] [-v]

       hpvmstatus -r [-P vm_name | -p vm_number] [-V | -M | -X] [-v]

       hpvmstatus -d {-P vm_name | -p vm_number} [-M | -X] [-v]

       hpvmstatus -i {-P vm_name | -p vm_number} [-M | -X] [-v]

       hpvmstatus -m [-M | -X]

       hpvmstatus -S [-M | -X]

       hpvmstatus -s [-M | -X]

常用“hpvmstatus -P guest1”顯示虛擬機器guest1的資訊,guest1為虛擬機器名(不是主機名)

usage: hpvmstop {-P vm_name | -p vm_number | -a} [-h | -g] [-F] [-Q] [-q]

常用“hpvmstop -P guest1”關閉虛擬機器guest1,guest1為虛擬機器名(不是主機名)

usage: hpvmmodify {-P vm_name | -p vm_number} [-F | -s] [-N new_vm_name]
[-l vm_label] [-B start_attr] [-O os_type[:version]]
[-c number_vcpus] [-e percent | -E cycles]
[-r amount]
[-g -group]... [-g [+]group[:{admin|oper}]]...
[-u -user]... [-u [+]user[:{admin|oper}]]...
[-a rsrc]... [-m rsrc]... [-d rsrc]...
[-i SG | -i SG_pkgname | -i GWLM | -i SG_pkgname,GWLM | -i NONE]
[-j {0|1}]
[-R amount]
[-x name=value] or [-x name=value[:name=value]], where
[-x dynamic_memory_control={0|1}]
[-x ram_dyn_type={none|any|driver}]
[-x ram_dyn_min=amount]
[-x ram_dyn_max=amount]
[-x ram_dyn_target_start=amount]
[-x ram_target={0|start|amount}]

       hpvmmodify -A {-P vm_name | -p vm_number} [-F] [-l vm_label]
[-B start_attr] [-e percent | -E cycles]
[-a rsrc]... [-m rsrc]... [-d rsrc]...
[-x name=value] or [-x name=value[:name=value]], where
[-x dynamic_memory_control={0|1}]
[-x ram_target={0|start|amount}]

Usage: hpvmconsole {-P vm_name | -p vm_number} [-c command]... [-e echar]
[-f] [-i] [-q]

啟動虛擬機器的MP板的命令,通常使用“hpvmconsole -P guest1”啟動guest1的MP板,guest1為虛擬機器名(不是主機名)

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11411056/viewspace-733513/,如需轉載,請註明出處,否則將追究法律責任。

相關文章