- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Virtual Switch
Operating System - HP-UX
1823011
Members
3815
Online
109645
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-08-2008 08:08 PM
тАО10-08-2008 08:08 PM
Hi,
What is the command to automatically start a virtual switch of a guest when the host boot up?
Thanks!
What is the command to automatically start a virtual switch of a guest when the host boot up?
Thanks!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2008 09:06 PM
тАО10-08-2008 09:06 PM
Solution
From the hpvmnet man page:
"-b
Starts an existing vswitch. Vswitches must be started before
they will accept guest traffic.
Note that Integrity VM
attempts to automatically start all existing vswitches when
Integrity VM itself is started."
From hpvmmodify man page:
"-B
start-attr Specifies the startup behavior of the virtual machine. The
start_attr argument can have the following
(case-insensitive) values:
├в ┬в auto: Automatically start the virtual machine when
Integrity VM is initialized on the host.
├в ┬в manual: Manually start the virtual machine.
If the start_attr attribute is set to auto, the virtual machine
is started when Integrity VM is initialized. This is the
default. This occurs when the VM Host system is booted,
and when the Integrity VM software is stopped and
restarted on a running VM Host. For example, when you
upgrade Integrity VM to a new version on a running
system, the software is started automatically. The VM Host
attempts to start all virtual machines for which the attribute
is set to auto. If insufficient resources exist, some virtual
machines may fail to start.
If the attribute is set to manual, the virtual machine will
not be started automatically when Integrity VM is
initialized on the VM Host. The virtual machine can then
be started manually with the hpvmstart command or
through its virtual console.
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."
So if your HPVMs are starting in auto mode, your switches will do the same.
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!
"-b
Starts an existing vswitch. Vswitches must be started before
they will accept guest traffic.
Note that Integrity VM
attempts to automatically start all existing vswitches when
Integrity VM itself is started."
From hpvmmodify man page:
"-B
start-attr Specifies the startup behavior of the virtual machine. The
start_attr argument can have the following
(case-insensitive) values:
├в ┬в auto: Automatically start the virtual machine when
Integrity VM is initialized on the host.
├в ┬в manual: Manually start the virtual machine.
If the start_attr attribute is set to auto, the virtual machine
is started when Integrity VM is initialized. This is the
default. This occurs when the VM Host system is booted,
and when the Integrity VM software is stopped and
restarted on a running VM Host. For example, when you
upgrade Integrity VM to a new version on a running
system, the software is started automatically. The VM Host
attempts to start all virtual machines for which the attribute
is set to auto. If insufficient resources exist, some virtual
machines may fail to start.
If the attribute is set to manual, the virtual machine will
not be started automatically when Integrity VM is
initialized on the VM Host. The virtual machine can then
be started manually with the hpvmstart command or
through its virtual console.
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."
So if your HPVMs are starting in auto mode, your switches will do the same.
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
тАО10-08-2008 11:56 PM
тАО10-08-2008 11:56 PM
Re: Virtual Switch
Hi Torsten,
Wonderful! I configured such that the VM boots automatically with
hpvmmodify -B auto -P servername.
After rebooting, the VM and the Virtual Switch starts automatically.
That does the trick.
Thanks for you help.
Wonderful! I configured such that the VM boots automatically with
hpvmmodify -B auto -P servername.
After rebooting, the VM and the Virtual Switch starts automatically.
That does the trick.
Thanks for you help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 07:45 AM
тАО10-09-2008 07:45 AM
Re: Virtual Switch
You are welcome.
Good luck and have fun!
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!
Good luck and have fun!
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!

The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP