Posts Tagged ‘hpvm’

How to setup virtual iLO Remote Console

September 14th, 2011 No comments

In the new release of HP Integrity Virtual Machines 4.30, HP added a new feature which allows you to access the guest console by logging into a specific IP address. This feature is called virtual iLO Remote Console and should be configured with hpvmmodify.

Looking at the guest status (hpvmstatus -p) the following is observed:
[Remote Console]
Remote Console not configured

This is how to configure the IP address of the virtual iLO Remote Console:
root@vmhost1:/# hpvmmodify -p 1 -K -L

What the command does is configuring IP alias as could be seen in netstat:
lan0:110  1500  0                  0     0                  0     0

Running again hpvmstatus we see that the Remote Console is now configured:
[Remote Console]
Remote Console Ip Address:
Remote Console Net Mask:

Now about the users, by default the root user of the host is able login to all virtual consoles, although it’s not listed in following section:
[Authorized Administrators]
Oper Groups             :
Admin Groups            :
Oper Users              :
Admin Users             :

Let’s create a dedicated user for the first guest and then login:
root@vmhost1:/root# useradd -d /var/opt/hpvm/guests/vm01 -c ‘vm01 console’ adminvm1
root@vmhost1:/root# passwd adminvm1
root@vmhost1:/root# hpvmmodify -p 1 -u adminvm1:admin

Running status again we can see that the user is added to the administrators:
[Authorized Administrators]
Oper Groups             :
Admin Groups            :
Oper Users              :
Admin Users             : adminvm1

Let’s try now to login with our newly created user:
sve@angmar:~$ ssh adminvm1@


CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[vm01] vMP>

Voila, it’s working!


To enable access to the virtual iLO Remote Console through telnet (which by default is not supported) these two patches has to be applied on the host: PHCO_41595 and PHNE_41452. Two more considerations should be taken into consideration: The virtual iLO Remote Console’s SSH server host keys can change as it uses the host system’s SSH server host keys. If the guest is migrated to another system then these host keys will change. Another one is that guest administrator accounts are not migrated during Online VM Migration.


Categories: hp-ux Tags: , ,

Cannot start HP Integrity Virtual Machines Manager

September 19th, 2009 No comments

System: HP-UX 11.31 DCOE Match 2009, installed HP-SIM and HPVM

This error is shown on the System Management Homepage when I try to open HP Integrity Virtual Machines Manager:

An error occurred collecting data query failed.
An error occurred communicating with WBEM: CIM_ERR_FAILED CIM_ERR_FAILED: @1:An internal error has occurred.[hpvm_get_rsrc_controller:115:scheduler failure]

Which looked like the HP Integrity Virtual Machines are not running and when I try to start them I get the following:

root@itan2:/# /sbin/init.d/hpvm start
NOTE:   HPSIM-HP-UX is incompatible with Integrity VM software and should be removed.
ERROR:   Integrity VM software cannot be started when hyperthreading is enabled
(getconf SC_HT_ENABLED). Use /usr/sbin/setboot -m off and reboot to enable
this system as an Integrity VM host.
root@itan2:/# getconf SC_HT_ENABLED

On page 24 and 26 of HP Integrity Virtual Machines Version 4.1 Installation, Configuration, and Administration manual there are few requirements. In this particular case the two items which block Integrity VM Version 4.1 from starting are HP System Insight Manager (HP SIM) Server bundle and hyperthreading. First check for installed HPSIM product with the following command:

swlist | grep HPSIM-HP-UX

Remove with swremove if necessary.
Then check to see if the hyperthreading which if it is enabled. On page 26 of the manual there is a note regarding the hyperthreating:

NOTE: Integrity VM Version 4.1 does not support hyperthreading. Specify the following command to turn off hyperthreading; otherwise, Integrity VM will not start:

/usr/sbin/setboot -m off

Reboot the system and then HP Integrity Virtual Machines will start normally and respectively HP Integrity Virtual Machines Manager will start and will be available at the HP SMH.

Categories: hp-ux Tags: