Operating System - HP-UX
1747985 Members
4912 Online
108756 Solutions
New Discussion

HPVM - Move from scsi/lan to avio_store/avio_lan

 
SOLVED
Go to solution
srayfay
Valued Contributor

HPVM - Move from scsi/lan to avio_store/avio_lan

Hello,

 

I need to use AVIO Storage and Lan for mu hpvm-guest, the status is follow :

 

HOSTvm01:/#hpvmstatus -dP GUESTvm01
[Virtual Machine Devices]

[Storage Interface Details]
disk:scsi:0,5,0:disk:/dev/rdisk/disk228

[Network Interface Details]
network:lan:0,0,0xF63A4E38F16E:vswitch:data:portid:6
network:lan:0,1,0xE6EE4A0BCA56:vswitch:data_sec:portid:6
network:lan:0,2,0x6E3B24DD5578:vswitch:backup:portid:6
network:lan:0,4,0xAAC6D2CFBF0E:vswitch:ignite:portid:6

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

 

is there any way to do a simple convert? or should I delete and recreate my network & storage interfaces?

 

Regards

Regards
4 REPLIES 4
Dave Olker
HPE Pro

Re: HPVM - Move from scsi/lan to avio_store/avio_lan

On page 122 of the Integrity VM v4.3 Admin Guide it talks about the hpvmmodify syntax you can use to do a bulk replace of SCSI LUNs with AVIO_LUNs in a single command.  This is also described in the hpvmmodify man page.  I don't know, and have never tried, doing a blanket replacement of all LAN devices with AVIO_LAN devices in a single command so I don't know if that feature is available. If not, use hpvmmodify to remove the old devices and again to add the new ones.

 

Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
srayfay
Valued Contributor

Re: HPVM - Move from scsi/lan to avio_store/avio_lan

Hello Dave,thanks for the reply,

I just tried with hpvmmodify with all its options, it wotks with avio_lan, but scsi noway, I must delete and recreate with the same Bus and device number. It's kinda hard and long way to fix this ... Im still lokking for other command such convert or else ...

Regards
Dave Olker
HPE Pro

Re: HPVM - Move from scsi/lan to avio_store/avio_lan

That's interesting because the SCSI conversion is the one listed in the hpvmmodify man page, so I would expect it to work:

 

-m rsrc Modifies an existing I/O resource for a virtual machine. The resource is specified as described in
hpvmresources(5). You must specify the hardware address of the device to modify. The physical device
portion of the rsrc specifies a new physical device to replace the one in use.

 

Note:

Changes to DIO device resources on an active vPar or VM will only take effect after the vPar or VM is rebooted.

As an example, to move a disk from VIO to AVIO, use the following command:

 

# hpvmmodify -P guest1 -m disk:avio_stor:0,5

 

 

What happens when you attempt to convert from VIO to AVIO storage via hpvmmodify?

 

Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
srayfay
Valued Contributor
Solution

Re: HPVM - Move from scsi/lan to avio_store/avio_lan

Hello Dave,

 

it works for me, 

No need to delete and recreate ... 

your command is not workin :

 

HOSTvm:/#hpvmmodify -P GUESTvm -m disk:avio_stor:0,5
hpvmmodify: Missing required device fields.
hpvmmodify: Missing required device fields.
hpvmmodify: The device_name '' has invalid characters.
hpvmmodify: Invalid value specified with the -m option (disk:avio_stor:0,5).

 

the right command as shown in the manual is :

 

hpvmmodify -P GUESTvm -m hba:avio_stor:0,5

 

Thanks Dave for your help

Regards