nPar: nPar is a hard partition/physical partition of a single computer into multiple partitions, each having separate hardware components.
vPar: vPar is a virtual partition/separation of either a single computer or a nPar into multiple virtual partitions using vPar software. vPar also is known as HP VMs
To check the status of the virtual partitions (vPar) in the HP-UX use the command vparstatus or hpvmstatus.
Check Status of VM using vparstatus command
- List all the VMs or vPars with their status using the below command.
# vparstatus [Virtual Partition] Num Name RunState State === ========================== ============ ========= 1 daw_vpar1 UP Active 2 daw_vpar2 UP Active 3 daw_vpar3 UP Active [Virtual Partition Resource Summary] Virtual Partition CPU Num Num Total MB Floating MB Num Name Min/Max CPUs IO Memory Memory === ========================== ======= ==== ==== ========= ============ 1 daw_vpar1 1/512 2 5 16384 0 2 daw_vpar2 1/512 3 5 16384 0 3 daw_vpar3 1/512 2 6 65536 0 #
- For more details of a particular vm or nPar use the command vparstatus -p <vm-name> -v. Here, i have checked the details for vm number 1 named daw_vpar1
# vparstatus -p 1 -v [Virtual Partition Details] Number: 1 Name: daw_vpar1 RunState: UP State: Active [CPU Details] Min/Max: 1/512 System assigned [Count]: 2 [Memory Details] Total Memory(MB): 16384 Floating Memory(MB): 0 [CPU OL* Details] Operation : None CPU Count: 0 Status: [Memory OL* Details] Operation : None Base Memory(MB) : 0 Floating Memory(MB) : 0 Status: [IO OL* Details] Operation : None IO Device: none Status: [IO Details] disk:avio_stor:0,0,0:lv:/dev/vg00/rlvdaw_vpar1 network:avio_lan:0,1,0xc296dd4c187b:vswitch:sw_prod:portid:1 network:avio_lan:0,2,0x4e294738eaac:vswitch:sw_hb:portid:1 hba:avio_stor:0,4,0x50014C2000000002,0x50014C2800000002:npiv:/dev/fcd4 hba:avio_stor:0,5,0x50014C2000000003,0x50014C2800000003:npiv:/dev/fcd5 #
Check Status of VM using hpvmstatus command
- List all the VMs or vPars with their status using the below command.
# hpvmstatus [Virtual Machines] Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory ==================== ===== ==== ======= ========= ====== ===== ===== ======= daw_vpar1 1 VP HPUX On (OS) 2 3 2 16384 MB daw_vpar2 2 VP HPUX On (OS) 3 3 2 16384 MB daw_vpar3 3 VP HPUX On (OS) 2 4 2 65536 MB #
- For more details of a particular vm or nPar use the command hpvmstatus -p <vm-name> -v. Here, i have checked the details for vm number 1 named daw_vpar1
# hpvmstatus -p 1 [Virtual Machine Details] Virtual Machine Name VM # Type OS Type State ==================== ===== ==== ======= ======== daw_vpar1 1 VP HPUX On (OS) [Runnable Status Details] Runnable status : Runnable [Remote Console] Remote Console not configured [Authorized Administrators] Oper Groups : Admin Groups : Oper Users : Admin Users : [Virtual CPU Details] #vCPUs Ent Min Ent Max ====== ======= ======= 2 100.0% 100.0% [Memory Details] Total Reserved Overhead Floating Memory Memory Memory Memory ======= ======== ======== ======== 16384 MB 64 MB 128 MB 0 MB [Storage Interface Details] vPar/VM Physical Device Adapter Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= disk avio_stor 0 0 0 0 0 lv /dev/vg00/rlvdaw_vpar1 hba avio_stor 0 4 npiv /dev/fcd4-0x50014C2000000002,0x50014C2800000002 hba avio_stor 0 5 npiv /dev/fcd5-0x50014C2000000003,0x50014C2800000003 [Network Interface Details] Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address ========= ========== ===================== ======= === === === ================= vswitch avio_lan sw_prod 1 0 1 0 c2-96-dd-4c-18-7b vswitch avio_lan sw_hb 1 0 2 0 4e-29-47-38-ea-ac [Direct I/O Interface Details] vPar/VM Physical Device Adapter Bus Dev Ftn Mac Address Storage Device ======= ======= === === === ================= ========= =========== [Misc Interface Details] vPar/VM Physical Device Adapter Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= serial com1 tty console #
- To display more detailed information (verbose mode) about the virtual machines use the -V option with the hmvmstatus command, as given below.
# hpvmstatus -p 1 -V [Virtual Machine Details] Virtual Machine Name : daw_vpar1 Virtual Machine UUID : 84713640-d390-11e2-ae08-d4c9ef060500 Virtual Machine ID : 1 Virtual Machine Label : VM's Model Name : Integrity Virtual Partition VM's Serial Number : VM01324000 VM's Config Version : 6.50.0 VM's Config Label : HPVM B.06.50 PATCH_04 ccipf opt Mon Mar 11 2019 11h24m05s IST Virtual Machine Type : vPar Has reserved resources : Yes Configuration is active : Yes Operating System : HPUX OS Version Number : State : On (OS) Start type : Auto Console type : vt100-plus . . .
Last Updated: August 17, 2020