Integrity Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

VM help on setting up first ever server.

 
SOLVED
Go to solution
Mike Bray
Advisor

VM help on setting up first ever server.

Hello,

I'm playing around with VM on a rx4640 running 11.23 (Itanium). The documention I have doesn't provide any "real" examples per se and I seem to be having some sort of syntax issue.

I'd like to add a VM called "itanrdcs" with one CPU, 4GB of memory, an IP address of 10.40.2.142 using the device /dev/rdsk/c29t0d6 for disk space.

Not sure on the syntax to be used, especially where you assinging it an IP address. Doesn't this get done on creation or would it occur when loading the OS to the guest server? Thanks

# hpvmcreate -P itanrdcs -O HPUX -c 1 -r 4G -a disk:scsi:/dev/rdsk/c29t0d6
hpvmcreate: Invalid PCI_bus argument '/dev/rdsk/c29t0d6'.
# modelate: Missing required device fields.
hpvmcreate: Invalid backing type ''.
hpvmcreate: Missing required device fields.
hpvmcreate: Incompatible backing type '' for 'disk'.
hpvmcreate: The device_name '' has invalid characters.
hpvmcreate: Invalid value specified with the -a option (disk:scsi:/dev/rdsk/c29t
0d6).
usage: hpvmcreate -P vm_name [-F | -s] [-l vm_label] [-B start_attr]
[-O os_type[:version]] [-c number_vcpus]
[-e percent | -E cycles] [-r amount]
[-g group[:{admin|oper}]... [-u user[:{admin|oper}]...
[-a rsrc]...
[-i SG | -i SG_pkgname | -i GWLM | -i SG_pkgname,GWLM | -i NONE]
[-j [0|1]]
hpvmcreate: Unable to create the guest.

Here is the disk info:
disk 34 0/2/1/0.2.0.0.0.0.6 sdisk CLAIMED DEVICE HP HS
V200
/dev/dsk/c29t0d6 /dev/rdsk/c29t0d6
3 REPLIES 3
Torsten.
Acclaimed Contributor
Solution

Re: VM help on setting up first ever server.

Hi,

I'm not sure about your version of Integrity VM, this is valid for Version 2.

But your command looks like something is missing -change it to this and try again:

hpvmcreate -P itanrdcs -O HPUX -c 1 -r 4G -a disk:scsi::disk:/dev/rdsk/c29t0d6

(new: ":disk:" in "disk:scsi::disk:")

Regarding the LAN:
create a virtual network switch like

hpvmnet -c -S vswitch01 -n 1

for using the lan1 device, start the switch and pass this to your VM config:

hpvmnet -b -S vswlan01

hpvmmodify -P itanrdcs -a network:lan::vswitch:vswitch01

This will look like a lan0 device from the VM Guest point of view. Configure this as usual.


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!   
Mike Bray
Advisor

Re: VM help on setting up first ever server.

That worked thanks.
Mike Bray
Advisor

Re: VM help on setting up first ever server.

That worked thanks.