Information about settings in the Solaris Zones VGP XML file
This topic contains the following sections:
- Decription of sections and settings
- To get the Global Zone ID - Solaris
- To get the Solaris resource pool name
- To get the Solaris physical value
Decription of sections and settings
Section | Settings |
|---|---|
<GeneralInfo>> | <Name> and <Description> — Name and description of the VGP. |
<ZoneInfo> | <ZonePath> — Path to the zone root directory, starting with a forward slash ( / ). For example, enter /home/export/my-zone |
<ZoneInfo> cont | <ProcessorType> — Specify one of the following: |
<ZoneNetworkAddress>> | <Physical> — If you set IPType to shared, specify both the IP address and the physical device. Optionally, you can also set the default router. For example, Physical = hme0, Address=192.168.0.1, Default Router=10.0.0.1. |
<ZoneFileSystem> | Adding a file system is optional. |
<ZoneDataSet> | <DataSetName> — Adding data sets is optional. Adding a ZFS data set resource enables storage administration to be delegated to a non-Global zone. The DataSetName should not start with / and should not contain any spaces. Example: testpool/testzfs. |
<ZoneDevice> | <DeviceMatch> — Specify the path to a device to make the device available and dedicated to the zone.For example, /dev/pts. |
<ZoneInheritedPkgDir> | Use this tag to specify a Sparse Root zone type. Omit this tag if you want to use a Whole Root zone type. |
<ZoneResourceControl> | <ResourceControlName> — Should start with zone. Example: zoneMyResourceControl |
<ZoneAttribute> | Adding an attribute is optional. These are generic comments used for user comments or other subsystems. |
To get the Global Zone ID - Solaris
Some of the commands you use to get VGP values require you to pass in the ID of the Global Zone.
To do this, use the listVirtualEntityManagers command, and pass in an EntityType argument that specifies the Global Zone - SolarisGlobalZone:
Command | Virtualization listVirtualEntityManagers SolarisGlobalZone |
Output format | GlobalZoneID::GlobalZoneName |
Output example | 1::MyGlobalZone |
In this example, the Global Zone ID is 1.
To get the Solaris resource pool name
- Get the Global Zone ID, as described in To get the Global Zone ID - Solaris. For the purpose of this example, assume the ID is 1.
Now you can use the listVirtualEntitiesByEntityManagerServerIdAndEntityType command to get the resource pool name. This command takes 2 arguments – ServerId and EntityType. You already have the ServerId (1). Because you want a pool name, you specify SolarisGlobalZoneResourcePool as EntityType:
Command
Virtualization listVirtualEntitiesByEntityManagerServerIdAndEntityType 1 SolarisGlobalZoneResourcePoolOutput format
NameOutput example
Pool1 \\
Pool2 \\
Pool3For example, in the VGP file, you might specify the following:
<ResourcePool>Pool3</ResourcePool>
To get the Solaris physical value
- Get the Global Zone ID, as described in To get the global zone ID - Solaris. For the purpose of this example, assume the ID is 1.
Now you can use the listVirtualEntitiesByEntityManagerServerIdAndEntityType command to get the physical value. This command takes 2 arguments – ServerId and EntityType. You already have the ServerId (1). Because you want a physical value, you specify SolarisGlobalZoneNetworkCard as EntityType:
Command
Virtualization listVirtualEntitiesByEntityManagerServerIdAndEntityType 1 SolarisGlobalZoneNetworkCardOutput format
PhysicalValueOutput example
hme0For example, in the VGP file you might specify the following:
<Physical>hme0</Physical>