Operating System - HP-UX
1826388 Members
4499 Online
109692 Solutions
New Discussion

Re: VM "guest's hostname"

 
Jeffrey Heneks_2
Occasional Advisor

VM "guest's hostname"

I have a few VMs running fine. But I have something in the definitions I want to change, and can't figure out how to do it. Somehow I have all my VMs defined with the "Guest's hostname" as test_cluster_node_1. I must have used this when either defining the VMs or the Virtual Networks. But I can't find how to change it.
Until I put test_cluster_node_1 in /etc/hosts on the Virtual Host, I was getting errors when doing a hpvmstatus. But I put something bogus (1.2.3.4) for test_cluster and now I see the Guest's IPv4 address as 1.2.3.4 in a hpvmstatus -P -V.

Please note that everything is working fine. So I gather this parameter doesnt' seem to be actually used for anything.

I also see that same name when doing a hpvmnet -V (it comes out as the IPv4 Address)

I also see that same name in the /var/opt/hpvm/guests//vmm_config.* files listed as the host_name. I was tempted to hack the vmm_config.next file, but they say you are not supposed to do that.

Anyone know how to change this parameter? I can't see where to change it in the manual.

4 REPLIES 4
Tim Nelson
Honored Contributor

Re: VM "guest's hostname"

hpvmmodify -P OldVhostName -N NewVhostName

Jeffrey Heneks_2
Occasional Advisor

Re: VM "guest's hostname"

No that is not correct. This is NOT the Virtual Machine Name. Remember when I said that they were working. Now how could they all be working if the Virtual machine name was wall the same? How could I even get to them?

No this "Guest's hostname" is something different. See the last line (before I cut it off) of the hpvmstatus -P -V below:

hpvmstatus -P drhp07 -V |more
[Virtual Machine Details]
Virtual Machine Name : drhp07
Virtual Machine UUID : 287b0b2c-96ff-11dd-8d00-00110a31c6f9
Virtual Machine ID : 4
Virtual Machine Label :
VM's Model Name : server Integrity Virtual Machine
VM's Serial Number : VM00841003
VM's Config Version : 4.0.0
VM's Config Label : HPVM B.04.00 clearcase opt Wed Jul 02 2008 08h24m40s PDT
Operating System : HPUX
OS Version Number :
State : Off
Start type : Manual
Console type : vt100-plus
Guest's hostname : test_cluster_node_1

Tim Nelson
Honored Contributor

Re: VM "guest's hostname"

What version of IVM ? My IVM 3.0 does not display a guest_host_name.
State : On (OS)
Start type : Manual
Console type : vt100-plus
Guest's hostname :
Guest's IP address : 172.20.103.98
EFI location : /opt/hpvm/guest-images/common/efi
Pattern File location : /opt/hpvm/guest-images/common/patterns.vmmpat
Guest revision : 1


I also see no mention of updating/creating this field in any man page or doc.

Might be a time for a call to HP. Sorry.


likid0
Honored Contributor

Re: VM "guest's hostname"

Yep, I have 3.5 and I only get:

Console type : vt100-plus
Guest's hostname :
Guest's IPv4 address : 106.16.5.24
Windows?, no thanks