Difference between revisions of "Vnx-console-mgmt"

From VNX
Jump to: navigation, search
(VNX Console Definition)
(VNX Console Commands)
Line 15: Line 15:
  
 
== VNX Console Commands ==
 
== VNX Console Commands ==
 +
 +
Two commands are provided in VNX to manage virtual machine consoles: "'''--console'''", to open the consoles; and "'''--console-info'''" to show information about
 +
them.
 +
 +
Besides, two options are used to modify the behaviour of the commands: "'''--cid'''" to specify consoles identifiers (con0, con1, etc) and restrict the command to a specific console; and "'''-M'''" to specify a virtual machine or a list of virtual machines the command applies to.
  
 
<ul>
 
<ul>
 +
<li>Show information about the consoles of an scenario:</li>
 +
sudo vnx -f scenario.xml -v --console-info
 
<li>Open all the consoles enabled in an scenario:</li>
 
<li>Open all the consoles enabled in an scenario:</li>
 
  sudo vnx -f scenario.xml -v --console
 
  sudo vnx -f scenario.xml -v --console
only the consoles  
+
only the consoles with the 'display' attribute set to 'yes' are opened.
<li>Show information about the consoles of an scenario:</li>
+
<li>Open the first console of every virtual machine of an scenario:</li>
  sudo vnx -f scenario.xml -v --console-info
+
sudo vnx -f scenario.xml -v --console
 +
When using the "--cid" option to identify a specific console, the consoles are opened independently of the value of the 'display' attribute.
 +
 
 +
 
 +
<li>Open the first console of a specific virtual machine of an scenario:</li>
 +
  sudo vnx -f scenario.xml -v --console  
 +
When using the "--cid" option to identify a specific console, the consoles are opened independently of the value of the 'display' attribute.
 +
 
 +
 
  
  
 
<li>Show information about the consoles of an scenario:</li>
 
<li>Show information about the consoles of an scenario:</li>
 
  sudo vnx -f scenario.xml -v --console-info
 
  sudo vnx -f scenario.xml -v --console-info

Revision as of 15:13, 28 July 2011

VNX Console Management

To be completed soon...

VNX Console Definition

...

   <vm_defaults>
	    <console id="0" display="no"/>
	    <console id="1" display="yes"/>
    </vm_defaults>

VNX Console Commands

Two commands are provided in VNX to manage virtual machine consoles: "--console", to open the consoles; and "--console-info" to show information about them.

Besides, two options are used to modify the behaviour of the commands: "--cid" to specify consoles identifiers (con0, con1, etc) and restrict the command to a specific console; and "-M" to specify a virtual machine or a list of virtual machines the command applies to.

  • Show information about the consoles of an scenario:
  • sudo vnx -f scenario.xml -v --console-info
    
  • Open all the consoles enabled in an scenario:
  • sudo vnx -f scenario.xml -v --console
    

    only the consoles with the 'display' attribute set to 'yes' are opened.

  • Open the first console of every virtual machine of an scenario:
  • sudo vnx -f scenario.xml -v --console
    

    When using the "--cid" option to identify a specific console, the consoles are opened independently of the value of the 'display' attribute.


  • Open the first console of a specific virtual machine of an scenario:
  • sudo vnx -f scenario.xml -v --console 
    

    When using the "--cid" option to identify a specific console, the consoles are opened independently of the value of the 'display' attribute.



  • Show information about the consoles of an scenario:
  • sudo vnx -f scenario.xml -v --console-info