Operating System - HP-UX
1833811 Members
3761 Online
110063 Solutions
New Discussion

Re: HPVM Unable To Add Network To VM host

 
SOLVED
Go to solution
Thao Huynh
Advisor

HPVM Unable To Add Network To VM host

Please see the steps and error messages at the end. Please help. Thank you.

#hpvmcreate -P t1b7vm1 -O hpux -e 20 -r 2G \
-a disk:scsi::lv:/dev/vg00/rt1b7vm1

# hpvmnet
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
sw1 4 Up Shared lan1 0x001b787a7021 10.101.35.22



# hpvmmodify -P t1b7vm1 -a network:lan::vswitch:sw1


hpvmmodify: WARNING (host): Failed after 3 attempts.
hpvmmodify: WARNING (host): Unable to create Ethernet MAC Address.
hpvmmodify: ERROR (t1b7vm1): malloc() failed - Error 0.
hpvmmodify: ERROR (t1b7vm1): Unable to load defaults for 'sw1'.
hpvmmodify: Unable to create device network:lan::vswitch:sw1.
hpvmmodify: Unable to modify the guest.

5 REPLIES 5
Torsten.
Acclaimed Contributor
Solution

Re: HPVM Unable To Add Network To VM host

Hi,

the software checks the newly created virtual MAC if this is unique.

Depending on your LAN switch, this may result in a result = "No".

Some switch vendors providing firmware updates to reflect and correct this.
Ask your vendor!


To disable the check, add the following to
/etc/rc.config.d/hpvmconf

HPVMMACADDRFRAMES=0

Remember, this will disable the check only.
You *may* have duplicated MACs.

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!   
Thao Huynh
Advisor

Re: HPVM Unable To Add Network To VM host

Thank you for the info.
Torsten.
Acclaimed Contributor

Re: HPVM Unable To Add Network To VM host

Please take some time and read this:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

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!   
Torsten.
Acclaimed Contributor

Re: HPVM Unable To Add Network To VM host

If you have further questions about Integrity VMs, feel free to ask ...

Have fun!

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!   
Emil Velez
Honored Contributor

Re: HPVM Unable To Add Network To VM host

This cookbook worked to create VMs. Maybe you did not boot the switch.. THis ties a switch to lan1 (notice -n 1) which is already functioning at the OS level.

I hope this example helps. IT works.

hpvmnet -c -S switch1 -n 1
hpvmnet
hpvmnet -b -S switch1
hpvmdevmgmt -S 8000M /home/vmdisk1
hpvmcreate -P vm1 -e 20
hpvmstatus
hpvmmodify -P vm1 -a disk:scsi::file:/home/vmdisk1
hpvmmodify -P vm1 -a network:lan:1,0,aabbccdd0005:vswitch:switch1
hpvmconsole -P vm1