Operating System - HP-UX
1834747 Members
2542 Online
110070 Solutions
New Discussion

Re: converting from lan to avio_lan

 
donna hofmeister
Trusted Contributor

converting from lan to avio_lan

i have a hpvm 3.5 integrity server hosting 3 guests.

i'd like to convert from lan to avio_lan.

i halted my 1st guest and typed:

hpvmmodify -p1 -m network:avio_lan
hpvmmodify: Missing required device fields.
hpvmmodify: Missing required device fields.
hpvmmodify: Invalid value specified with the -m option (network:avio_lan).
<>

i also tried:
hpvmmodify -p1 -m network:avio_lan::vswitch:vlan

no matter how i change the -m(odify) clause i still get the same error.

the documentation implies that the vswitch needs to be converted as well but doesn't say how to do it.

is that the step that i'm missing?
4 REPLIES 4
unixdaddy
Trusted Contributor

Re: converting from lan to avio_lan

i've only been on the course (yesterday) and we did this:-

hpvmstatus -d -P

you should see present device deails including Lan:-

[Network Interface Details]
network:lan::vswitch:

you need the and . then

hpmmodify -P -m network:avio_lan::vswitch:

It worked on the course.
unixdaddy
Trusted Contributor

Re: converting from lan to avio_lan

You need to have installed the avio drivers from software.hp.com and not all Interface cards support avio. you will need to look at "HP Virtual Machine Installation, Configuration, and Administration Guide" for a list of supported cards.
melvyn burnard
Honored Contributor

Re: converting from lan to avio_lan

Take a read through this white paper:
http://docs.hp.com/en/12567/avio_solution_wp-final.pdf

It may assist you here.
Of course, the guest OS you have installed on the VM does have to support AVIO, and have the relevant drivers installed, as well as teh AVIO drivers installed on the VM Host
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
donna hofmeister
Trusted Contributor

Re: converting from lan to avio_lan

we finally got it working.

it appears that some of the fields are required even though the documentation implies that they are optional.

(it would be *really nice* if this could be clarified )

the pieces i had been leaving out were the bus and device numbers.

an easy way to determine the bus and device numbers is to do an hpvmstatus with the -d option. for example:

hpvmstatus -p 1 -d
[Virtual Machine Devices]

[Storage Interface Details]
dvd:scsi:0,0,0:disk:/dev/rdsk/c0t0d0
disk:scsi:0,1,0:disk:/dev/rdsk/c2t0d0

[Network Interface Details]
network:lan:0,2,0xFA0DC7F78BCC:vswitch:vlan

[Misc Interface Details]
serial:com1::tty:console

(yours will be different of course)

in my case the lan bus is 0, the device is 2. (first two numbers following 'lan:')

so the whole command to switch to avio_lan was:

hpvmmodify -p 1 -m network:avio_lan:0,2:vswitch:vlan

so two of my three guests are using avio_lan now (one guest is linux and can't use avio yet).

enjoy - d