1824806 Members
4101 Online
109674 Solutions
New Discussion

creating vm guests

 
NDO
Super Advisor

creating vm guests

Hi All

 

I have a C7000 blade chassis with a "ia64 hp Integrity BL860c i2" on it in, and using the admin manual I have created 2 VMs, but I am a bit stuck now on how actually to create the vm guests, because the C7000 do not have a DVD drive for me to boot a guest VM.

what I have done so far is as follows:

 

hpvmstatus
[Virtual Machines]
Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Rmt Host
==================== ===== ======= ========= ====== ===== ===== ======= ========
vmguest1                 2 HPUX    On (EFI)       2     0     0   16 GB        -
vmguest2                 3 HPUX    Off            2     0     0   16 GB        -

 and :

 

hpvmnet -v
Version B.04.30.01
Name     Number State   Mode      NamePPA  MAC Address    IPv4 Address
======== ====== ======= ========= ======== ============== ===============
localnet      1 Up      Shared             N/A            N/A
vsw01         2 Up      Shared    lan1     0x2c4138318400 10.1.20.32

 I now need to create a guest but I am stuck on :

 

"adding a boot option"

 

Please can you help?

 

 

FR

 

 

19 REPLIES 19
Torsten.
Acclaimed Contributor

Re: creating vm guests

If the missing DVD drive is your problem, why not using vMedia over ILO?

 

In the older virtual machines versions you can assign an ISO image as a virtual DVD to the guests, I guess you can do this here with version 6.x too.

 

What version you are using exactly?


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

 

Thank you for your reply.

 

I am using:

 

swlist | grep -i integrity
  T2801AA               B.04.30.01     Integrity VM
  VMGuestLib            B.04.30        Integrity VM Guest Support Libraries
  VMGuestSW             B.04.30        Integrity VM Guest Support Software
  VMKernelSW            B.04.20        Integrity VM Kernel Software

 

The C7000 do not have dvd drive, so how do I assign a vMedia over ilo?

 

 

regards

 

FR

Torsten.
Acclaimed Contributor

Re: creating vm guests

You have at least 3 options:

 

- connect to the ILO of the blade and use vMedia (in fact you mount a DVD or an ISO located on your PC and present it to the blade)

- copy an ISO to the host and assign it as virtual DVD to the guest

- copy the install media to an ignite server and install via ignite server


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

I have choosen your first option, but it does not seem to be working:

 

Add a Boot Option.  Select a Volume


    Load File [EFI Shell [Built-in]]
    Legacy Boot
    Exit
EFI Boot Maintenance Manager ver 1.10 [14.62]

Main Menu. Select an Operation


        Boot from a File
        Add a Boot Option
        Delete Boot Option(s)
        Change Boot Order

        Manage BootNext setting
        Set Auto Boot TimeOut

        Select Active Console Output Devices
        Select Active Console Input Devices
        Select Active Standard Error Devices

        Cold Reset
        Exit


    Timeout-->[10] sec SystemGuid-->[8681B2AE-FCC0-11E1-A80C-2C41383183FC]
    SerialNumber-->[VM01237001          ]
EFI Boot Maintenance Manager ver 1.10 [14.62]

Add a Boot Option.  Select a Volume


    Load File [EFI Shell [Built-in]]
    Legacy Boot
    Exit

 But

 

 

I did mount it as you can see from attached, but I also cannot see when doing bdf.

 

 

FR

Torsten.
Acclaimed Contributor

Re: creating vm guests

You assigned it to the vm host, now you need to assign this "virtual" drive from the host to 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!   
NDO
Super Advisor

Re: creating vm guests

 

 

Hi

 

I am having the following error:

hpvmmodify -P vmguest1 -a dvd:scsi::disk:/dev/rdsk/c0t0d0
hpvmmodify: ERROR (vmguest1): Device file '/dev/rdsk/c0t0d0' is a server-restricted device and cannot be used by a guest while restricted.  See 'hpvmdevmgmt -l rdev:/dev/rdsk/c0t0d0'.
hpvmmodify: Unable to create device dvd:scsi:0,0,0:disk:/dev/rdsk/c0t0d0.
hpvmmodify: WARNING (vmguest1): Device file '/dev/rdsk/c0t0d0' is a server-restricted device and cannot be used by a guest while restricted.  See 'hpvmdevmgmt -l rdev:/dev/rdsk/c0t0d0'.
hpvmmodify: ERROR (vmguest1): Due to errors affecting the device database, the guest configuration file will not be updated.
hpvmmodify: Unable to modify the guest.

 Can you help

 

FR

Torsten.
Acclaimed Contributor

Re: creating vm guests

vMedia installation is slooow anyway, how about the other 2 options (much faster)?

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

 

I am now a bit coonfused:

 

hpvmmodify -P vmguest1 -a dvd:scsi::disk:/dev/rdsk/c1t0d0
hpvmmodify: Unable to dynamically add virtual device dvd:scsi:0,0,1:disk:/dev/rdsk/c1t0d0.
hpvmmodify: Cannot add a new adapter to a running guest.
hpvmmodify: Guest needs to be restarted (using hpvmstop followed by hpvmstart) for all changes to take effect.
HPVM guest vmguest1 configuration problems:
    Warning 1 on item /dev/rdsk/disk2: '/dev/rdsk/disk2' backing device does not exist or is not currently available.
These problems may prevent HPVM guest vmguest1 from starting.
hpvmmodify: The modification process is continuing.
mcelVMhost4[180]/ #

 

Do I have to stop the VM to create a virtual storage device? Does not make sense, or I am wrong?

 

 

FR

Dave Olker
Neighborhood Moderator

Re: creating vm guests


@Torsten. wrote:
vMedia installation is slooow anyway, how about the other 2 options (much faster)?

I agree.  I install all of my VMs via Ignite.  It's fast, easy, allows for multiple simultaneous installations, and makes repeat installs a breeze.  

 

Dave



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
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