msgbartop
Tips and Tricks site for advanced HP-UX Engineers
msgbarbottom

12 Jan 15 hpvm guest vlan reconfiguration after a clone

A hpvm 6.2 guest was cloned from one host to another and would not come on network.

hpvmnet -S prod

Port    Port         Port     Untagged Number of    Active VM    Tagged
Number  State        Adapter  VLANID   Reserved VMs              VLANIDs
======= ============ ======== ======== ============ ============ =============
1       Reserved     avio_lan 101      1                         none
2       Available    unknown  653      0                         none
3       Active       avio_lan 38       1            working     none
4       Active       avio_lan 400      1            nonworking     none

The problematic guest was guest 4 (p4)

We want to configure it to avio_lan 38

## The portid:4: is from the Port Number Column of the hpvmnet output

hpvmnet -S prod -u portid:4:vlanid:38

[Port Configuration Details]
Port    Port         Port     Untagged Number of    Active VM    Tagged
Number  State        Adapter  VLANID   Reserved VMs              VLANIDs
======= ============ ======== ======== ============ ============ =============
1       Reserved     avio_lan 101      1                         none
2       Available    unknown  653      0                         none
3       Active       avio_lan 38       1            working     none
4       Active       avio_lan 38       1            newhost      none

 

Other useful commands

netstat -ni

 hpvmstatus -p 4 | grep -i lan
vswitch   avio_lan   ignite                4         0   0   0 9a-01-f8-a4-c8-dd
vswitch   avio_lan   prod                  4         0   1   0 56-a1-3b-78-66-3b
vswitch   avio_lan   mgmt                  4         0   2   0 2e-b9-7b-9c-e5-1c
vswitch   avio_lan   data                  4         0   4   0 16-90-57-11-37-e1

MAC addresses are fake.

Tags: ,

Leave a Comment

You must be logged in to post a comment.

sidebarbottom
sidebartop
sidebarbottom
WhatsApp chat