5.1 Configuring the Create VM form
Building the Create VM form is similar to building all other Viewpoint forms, all sharing the common requirement of modification to the <pages>, <components>, and <queue> elements.
To configure the create VM Form
- Open the nodes.xml file located in the Viewpoint home directory. Locate the <create-vm> element.
- Locate the <request> element.
- Inside the <requirement> element, set any of the following child elements corresponding with the Moab mvmctl command (for more information about the mvmctl command, see the Moab Workload Manager Administrator Guide):
- <disk>
- <hv-id>
- <ram>
- <os>
- <cpu>
- <variables>
- Specify a name for the variable with the <name> child element.
- Specify the variable's value with the <value> child element. The value can be any....
<variables>
<variable>
<name>FOO</name>
<value>
<component id="fooVar" />
</value>
</variable>
<variable>
<name>BAR</name>
<value>
<component id="barVar" />
</value>
</variable>
</variables>
- <storage>
- Specify a location with the <location> child element.
- Specify the variable's size with the <size> child element.
- Specify the variable's type with the <type> child element.
- Specify the variable's mount options with the <mount-options> child element.
<storage>
<location><component id="location" /></location>
<size><component id="size" /></size>
<type>nfs</type>
<mount-options><component id="options" /></mount-options>
</storage>
Related topics
© 2012 Adaptive Computing