1753250 Members
3520 Online
108792 Solutions
New Discussion

Re: creating vm guests

 
NDO
Super Advisor

Re: creating vm guests

Hi

 

In the end I have managed to install the DVD and a network interface, them, when issuing:

 

hpvmconsole -P vmguest1

 it started the installation phase of the O.S. and it stop here:

 

 Welcome to the HP-UX installation/recovery process!

  Use the <tab> key to navigate between fields, and the arrow keys
  within fields.  Use the <return/enter> key to select an item.
  Use the <return/enter> or <space-bar> to pop-up a choices list.  If the
  menus are not clear, select the "Help" item for more information.

  Hardware Summary:         System Model: ia64 hp server Integrity Virtual Mach
  +----------------------+---------------+--------------------+[ Scan Again  ]
  | Disks: 0  (    0.0GB)| Floppies: 0   | LAN cards:   1     |
  | CD/DVDs:        1    | Tapes:    0   | Memory:    16378Mb |
  | Graphics Ports: 0    | IO Buses: 2   | CPUs:        2     |[ H/W Details ]
  +----------------------+---------------+--------------------+

                       [      Install HP-UX       ]

                   [   Run an Expert Recovery Shell   ]

                       [    Advanced Options      ]


          [  Reboot  ]                              [  Help  ]

 

 

But for that to start, I beleive I need to have storage, i.e. some disks...

 

is that right?

 

 

FR

Torsten.
Acclaimed Contributor

Re: creating vm guests

Yes

;-)


Consider to use a file, a LVOL or a disk as storage for the guest.

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!   
pradeep m
Respected Contributor

Re: creating vm guests

The error states that the host device (/dev/rdsk/c0t0d0) is in the added to the server-restricted devices and guests are not allowed to access this device. 

 

To view  all the restricted devices in the Host machine, run the below command:

# hpvmdevmgmt -l rdev

 

To view the attributes set for a server-restricted device, run

# hpvmdevmgmt -l rdev:/dev/rdsk/c0t0d0

 

Inorder to present this server-restricted device to the guest machine, perform the following:

 

# hpvmdevmgmt -d rdev:/dev/rdsk/c0t0d0  --> delete the restricted device

 

# hpvmmodify -P vmguest1 -a dvd:scsi::disk:/dev/rdsk/c0t0d0 --> present the device to the guest.

 

Hope this helps.. 

 

 

 

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


NDO
Super Advisor

Re: creating vm guests

Hi!

 

 

How much and what sort of storage I have to allocate to install the O.S. in the guest server?

pradeep m
Respected Contributor

Re: creating vm guests

you can use any of the below storage type for guest machine to install OS.

1. Raw Disk (rdsk) 

2. Raw lvol (rlvol)

3. File 

 


Depending on your system’s purpose, you may need to determine how much disk space you
will need for each partition/file system before you cold-install HP-UX 11i . For example, if you plan to install applications from other vendors, you may need to modify the size of the /opt partition to accommodate their size. Depending on how much disk space is available, you can change the partition/file system size to meet your needs. 

 

Refer the page number 10 & 11 in the below web document for more details:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02023874/c02023874.pdf

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


NDO
Super Advisor

Re: creating vm guests

Hi

 

AT this stage I am only experiment, and try to convince people in the company, that we can use VMs. I do not intend to install any vendor applications.

The host system has no attached storage, so it has only vg00 with 90Gb left.

Is that wise to use half of that space available to use as storage of the guest vm? How should I assign It? As disk, file or lvol?

Your help will be appreciated

 

 

pradeep m
Respected Contributor

Re: creating vm guests

>> The host system has no attached storage, so it has only vg00 with 90Gb left.

In this case you can use lvol or file as disk storage for the guest machine.

 

Lvol as a storage:

1. Create a logical volume of desired size (In this example its 20GB).

# lvcreate -L 20480M -n vmguest1_lvol1 vg00

 

2. Assign the raw logical volume as storage to the guest machine.

# hpvmmodify -P vmguest1 -a disk:scsi::lv:/dev/vg00/rvmguest1_lvol1

 

3. Check if the device is added

# hpvmstatus -P vmguest1

 

File as a storage:

1. Create a file of desired size (In this example its 20GB)

# hpvmdevmgmt -S 20G /vmguest1_file1

 

2. Assign the file as storage to the guest machine.

# hpvmmodify -P vmguest1 -a disk:scsi::file:/vmguest1_file1

 

3. Check if the device is added

# hpvmstatus -P vmguest1

 

For more detail refer HPVM administrator guide.

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02793352/c02793352.pdf

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


NDO
Super Advisor

Re: creating vm guests

Hi

 

Installation of hp-ux on the guest completed successfully, thank you very much for your help. I will now asign some points, but, now I am login in on the guest, so how do I leave the guest to  the host?

 

FR

Torsten.
Acclaimed Contributor

Re: creating vm guests

From manual:

 

"The default interrupt character is Ctrl/B, unless the
session is on the VM Host's /dev/console, in which case, use the Ctrl/X."

 

 

This means, if you are connected via console to the host, then connected to the vMP, use CTRL x to switch back from the guest OS to the vMP.


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!   
NDO
Super Advisor

Re: creating vm guests

Hi

 

The Integrity software that I install is a trial version, it will expire in 90 days, so will I be able to stop de VMs created and remove them after its expired or do I have to do it before them?

 

FR