- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPVM fun. Make a machine start when the daemon...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 01:17 PM
тАО02-10-2010 01:17 PM
HPVM fun. Make a machine start when the daemon starts.
Built an hpvm machine running Linux.
It won't auto start.
Tried:
hpvmmodify -P
Got:
root@hpvmhst1:/etc/rc.config.d # hpvmstatus -P ditlinsb -V | more
[Virtual Machine Details]
Virtual Machine Name : ditlinsb
Virtual Machine UUID : 74cbd80a-1654-11df-8807-0017a4770054
Virtual Machine ID : 7
Virtual Machine Label :
VM's Model Name : server Integrity Virtual Machine
VM's Serial Number : VM01006002
VM's Config Version : 4.0.0
VM's Config Label : HPVM B.04.00 clearcase opt Wed Jul 02 2008 08h24m40s P
DT
Operating System : LINUX
OS Version Number :
State : Off
Start type : Auto
Console type : vt100-plus
Guest's hostname :
Guest's IPv4 address : 10.8.128.198
Guest's IPv6 address : fe80::e8ba:89ff:feaf:b771
EFI location : /opt/hpvm/guest-images/common/efi
Pattern File location : /opt/hpvm/guest-images/common/patterns.vmmpat
Guest revision : 1
Running on serverid : 0
Running on pid : 0
Application controllers : NONE
Distributed : 0
Effective serverid : 0
Graceful stop timeout : 30
Runnable status : Enabled
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
Number Virtual CPUs : 1
Minimum Virtual CPUs : 1
Maximum Virtual CPUs : 8
Percent Entitlement : 10.0%
Maximum Entitlement : 100.0%
[Memory Details]
Total memory : 4 GB
Minimum memory limit : 512 MB
Maximum memory limit : 64 GB
Reserved memory : 64 MB
Minimum reserved limit : 32 MB
Maximum reserved limit : 64 GB
VHPT Size : 1 MB
[Storage Interface Details]
Guest Device type : dvd
Guest Adaptor type : scsi
Ioscan format : 0/0/0/0.0.0
Bus : 0
Device : 0
Function : 0
Target : 0
Lun : 0
Physical Storage type : file
Physical Device : /var/opt/hpvm/ISO-images/linux/rhel-server-5.4-ia64-dv
d.iso
Guest Device type : disk
Guest Adaptor type : scsi
Ioscan format : 0/0/0/0.1.0
Bus : 0
Device : 0
Function : 0
Target : 1
Lun : 0
Physical Storage type : lv
Physical Device : /dev/vg_01/rlvol1
[Network Interface Details]
Physical Storage type : vswitch
Guest Adaptor type : lan
Backing : landem
Vswitch Port : 1
Ioscan format : 0/0/1/0
Bus : 0
Device : 1
Function : 0
Mac Address : ea-ba-89-af-b7-71
[Misc Interface Details]
Guest Device type : serial
Guest Adaptor type : com1
Physical Storage type : tty
Physical Device : console
So whats the magic secret here.
/etc/rc.config.d/hpvmconf does correctly auto start the service but not the machines.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 03:58 PM
тАО02-10-2010 03:58 PM
Re: HPVM fun. Make a machine start when the daemon starts.
The command that you ran simply means that
the next time the VM host is rebooted, the VM guest will autoboot:
# hpvmmodify -P
What you actaully need to start it now (without
the reboot of the VM host) is:
# hpvmstart -P
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 04:56 PM
тАО02-10-2010 04:56 PM
Re: HPVM fun. Make a machine start when the daemon starts.
cd /sbin/init.d
cp template start_vm
edit the file to define a start command
and a stop command to stop the vm in the right sections of the script
ln -s /sbin/init.d/start_vm /sbin/rc4.d/S500start_vm
ln -s /sbin/init.d/start_vm /sbin/rc3.d/K500start_vm
Then when you boot the system the rc script will be executed when you move to run level4 and when you shut the system down it should shtudown the VM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 06:47 PM
тАО02-10-2010 06:47 PM
Re: HPVM fun. Make a machine start when the daemon starts.
Any error you have seen which ur host is starting up, any thing u saw which is stopping VMs to start, Configuration seems to be fine here.
I have never seen any problem before my VMs silently used to come up.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 07:47 PM
тАО02-10-2010 07:47 PM
Re: HPVM fun. Make a machine start when the daemon starts.
Tried this:
# hpvmmodify -P
Did not work at all.
Will try the idea in post two on Thursday.
Thanks.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 09:11 PM
тАО02-10-2010 09:11 PM
Re: HPVM fun. Make a machine start when the daemon starts.
the "-B auto" option will power on the guest, but if the OS will boot or not depends on the settings "inside" the machine.
man page:
-B auto ...
This option does not set the virtual machine's console to
enable booting when the virtual machine is started. This
function must be set with the virtual machine's console.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 09:46 PM
тАО02-10-2010 09:46 PM
Re: HPVM fun. Make a machine start when the daemon starts.
Manually we can do it anytime what is the issue here is why its not comin up on its own.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 05:16 AM
тАО02-11-2010 05:16 AM
Re: HPVM fun. Make a machine start when the daemon starts.
If I have to do an init script then so be it.
I have to open a call with support anyway because the windows VM can't get networking, nor does it offer me the chance to set that up. DHCP is apparently too good for windows.
Once again Linux is superior. It is up and running easily.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 05:26 AM
тАО02-11-2010 05:26 AM
Re: HPVM fun. Make a machine start when the daemon starts.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 02:36 PM
тАО02-16-2010 02:36 PM
Re: HPVM fun. Make a machine start when the daemon starts.
I did a reboot recently and am going back to change.
Also: Can I run HPVM inside a vpar or are the technologies mutually exclusive.
Back with information on those logs shortly..
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com