Verwenden Sie die Datei ovf-env.xml für die Aktivierung im Hintergrund, um Konfigurationsparameter anzugeben.
Gemäß Empfehlung der OVF-Spezifikation sollte ein ISO-Image eine Datei ovf-env.xml enthalten. Die vollständige Spezifikation finden Sie auf der Website mit der Spezifikation OVF 1.0. Diese Datei wird während der unbeaufsichtigten Aktivierung verwendet. um die virtuelle Maschine zu konfigurieren. Sehen Sie sich das folgende Beispiel an:
<?xml version="1.0" encoding="UTF-8"?>
<Environment xmlns="http://schemas.dmtf.org/ovf/environment/1"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1"
xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ovf:id="1/DMGR_1">
<PropertySection>
<Property ovfenv:key="License.accept" ovfenv:value="yes"/>
<Property ovfenv:key="ConfigLocale.language" ovfenv:value="en"/>
<Property ovfenv:key="ConfigLocale.country" ovfenv:value="US"/>
<Property ovfenv:key="ConfigLocale.encoding" ovfenv:value="UTF-8"/>
<Property ovfenv:key="ConfigNET.bootproto" ovfenv:value="static"/>
<Property ovfenv:key="ConfigNET.hostname" ovfenv:value="myvm"/>
<Property ovfenv:key="ConfigNET.domain" ovfenv:value="sample.my.company "/>
<Property ovfenv:key="ConfigNET.ipaddr" ovfenv:value="10.0.0.5"/>
<Property ovfenv:key="ConfigNET.netmask" ovfenv:value="255.255.255.0"/>
<Property ovfenv:key="ConfigNET.gateway" ovfenv:value=”10.0.0.1"/>
<Property ovfenv:key="ConfigNET.pri_dns" ovfenv:value="10.0.0.100"/>
<Property ovfenv:key="ConfigNET.sec_dns" ovfenv:value="10.0.0.101"/>
<Property ovfenv:key="ConfigPWD_ROOT.username" ovfenv:value="root"/>
<Property ovfenv:key="ConfigPWD_ROOT.password" ovfenv:value="mypassword"/>
<Property ovfenv:key="ConfigPWD_USER.username" ovfenv:value="virtuser"/>
<Property ovfenv:key="ConfigPWD_USER.password" ovfenv:value="mypassword"/>
<Property ovfenv:key="ConfigWAS.type" ovfenv:value="dmgr"/>
<Property ovfenv:key="ConfigWAS.colocateihs" ovfenv:value="false"/>
<Property ovfenv:key="ConfigWAS.cell_name" ovfenv:value="HypervisorEditionCell"/>
<Property ovfenv:key="ConfigWAS.node_name" ovfenv:value="HypervisorEditionNode"/>
<Property ovfenv:key="ConfigWAS.autostart" ovfenv:value="true"/>
<Property ovfenv:key="ConfigWAS.augment_list" ovfenv:value="none"/>
<Property ovfenv:key="ConfigVNC.enabled" ovfenv:value="true"/>
<Property ovfenv:key="ConfigVNC.username" ovfenv:value="virtuser"/>
<Property ovfenv:key="ConfigVNC.password" ovfenv:value="mypass"/>
<Property ovfenv:key="ConfigNTP.ntp.0" ovfenv:value="ntp1.mycompany.org"/>
<Property ovfenv:key="ConfigNTP.ntp.1" ovfenv:value="ntp2.mycompany.org"/>
<Property ovfenv:key="ConfigNTP.ntp.2" ovfenv:value="ntp2.mycompany.org"/>
<Property ovfenv:key="ConfigNTP.ntp.3" ovfenv:value="ntp3.mycompany.org"/>
</PropertySection>
</Environment>
Eigenschaft | Gültige Werte | Beschreibung |
---|---|---|
<Property ovfenv:key="License.accept" ovfenv:value="yes"/> | yes | no | Die Lizenzvereinbarungen von IBM® WebSphere Application Server Hypervisor Edition, Novell SuSE und der VMware-Tools werden akzeptiert. VM startet erst, wenn dieser Wert auf yes gesetzt ist. |
<Property ovfenv:key="ConfigLocale.language" ovfenv:value="en"/> | en | de | ja | ko | zh | fr | it | es | pt | cs | hu | pl | ru | Die sprachspezifische Angabe, in der die virtuelle Maschine angezeigt wird. |
<Property ovfenv:key="ConfigLocale.country" ovfenv:value="US"/> | US | DE | JP | KR | CN | TW | FR | IT | ES | BR | CZ | HU | PL | RU | Die länderspezifische Angabe, in der die virtuelle Maschine angezeigt wird. |
<Property ovfenv:key="ConfigLocale.encoding" ovfenv:value="UTF-8"/> | UTF-8 | Die Maschinencodierung für die VM. |
<Property ovfenv:key="ConfigNET.bootproto" ovfenv:value="static"/> | static | dhcp | Netzbootprotokoll für die VM. |
<Property ovfenv:key="ConfigNET.hostname" ovfenv:value="myvm"/> | alle gültigen Hostnamen | Der Hostname der virtuellen Maschine. |
<Property ovfenv:key="ConfigNET.domain" ovfenv:value="sample.my.company"/> | alle gültigen Domänen | Die Netzdomäne. Sie stimmt mit dem Hostnamen überein. |
<Property ovfenv:key="ConfigNET.ipaddr" ovfenv:value="10.0.0.5"/> | alle gültigen IP-Adressen | Nicht erforderlich, wenn DHCP verwendet wird. |
<Property ovfenv:key="ConfigNET.netmask" ovfenv:value="255.255.255.0"/> | jede gültige IP-Adressnetzmaske | Nicht erforderlich, wenn DHCP verwendet wird. |
<Property ovfenv:key="ConfigNET.gateway" ovfenv:value=”10.0.0.1"/> | jedes gültige IP-Adress-Gateway | Nicht erforderlich, wenn DHCP verwendet wird. |
<Property ovfenv:key="ConfigNET.pri_dns" ovfenv:value="10.0.0.100"/> | alle gültigen DNS-Server (primär) | Nicht erforderlich, wenn DHCP verwendet wird. |
<Property ovfenv:key="ConfigNET.sec_dns" ovfenv:value="10.0.0.101"/> | ein gültiger DNS-Server (sekundär) | Nicht erforderlich, wenn DHCP verwendet wird. |
<Property ovfenv:key="ConfigPWD_ROOT.username" ovfenv:value="root"/> | root | Der Benutzername "root". Ändern Sie diesen Wert nicht. |
<Property ovfenv:key="ConfigPWD_ROOT.password" ovfenv:value="mypassword"/> | jedes gültige Kennwort | Das Betriebssystemkennwort für "root". |
<Property ovfenv:key="ConfigPWD_USER.username" ovfenv:value="virtuser"/> | virtuser | Der Benutzer ohne Rootrechte, der für das Betriebssystem und WebSphere definiert wurde. Ändern Sie diesen Wert nicht. |
<Property ovfenv:key="ConfigPWD_USER.password" ovfenv:value="mypassword"/> | jedes gültige Kennwort | Kennwort für "virtuser", das von WebSphere und vom Betriebssystem verwendet wird. |
<Property ovfenv:key="ConfigWAS.type" ovfenv:value="dmgr"/> | dmgr | default | custom | adminagent | jmgr | liberty | odr | Der auf dieser VM zu konfigurierende Profiltyp. Die Optionen "liberty", "odr", "adminagent" und "jmgr" gelten nicht für virtuelle Images der Version 6.1.0.x. Die Optionen "liberty" und "odr" gelten nicht virtuelle Images mit einer früheren Version als 8.5. |
<Property ovfenv:key="ConfigWAS.liberty_server_name" ovfenv:value="server"/> | jeder gültige Liberty-Servername | |
<Property ovfenv:key="ConfigWAS.colocateihs" ovfenv:value="false"/> | true | false | Legt fest, ob IBM HTTP Server auf dieser VM konfiguriert wird. Ist nur gültig für Deployment-Manager-Knoten. |
<Property ovfenv:key="ConfigWAS.cell_name" ovfenv:value="HypervisorEditionCell"/> | jeder gültige Zellenname | Der Name der Zelle, die Sie für diese VM konfiguriert haben. Für eingebundene angepasste Profile wird dieser Wert ignoriert. |
<Property ovfenv:key="ConfigWAS.node_name" ovfenv:value="HypervisorEditionNode"/> | jeder gültige Knotenname | Der Name des Knotens, den Sie für diese VM konfiguriert haben. |
<Property ovfenv:key="ConfigWAS.autostart" ovfenv:value="true"/> | true | false | Gibt an, ob der Server automatisch gestartet wird. |
<Property ovfenv:key="ConfigWAS.augment_list" ovfenv:value="none"/> | none, sca | Die Feature-Pack für die Erweiterung des Profils. Nur gültig für virtuelle Images der Version 7.x. |
<Property ovfenv:key="ConfigVNC.enabled" ovfenv:value="true"/> | true | false | Konfiguration der virtuellen Maschine für die VNC-Verwaltung. |
<Property ovfenv:key="ConfigVNC.username" ovfenv:value="virtuser"/> | virtuser | Nicht ändern |
<Property ovfenv:key="ConfigVNC.password" ovfenv:value="mypass"/> | jedes gültige Kennwort | Das Kennwort für den VNC-Zugriff. |
<Property ovfenv:key="ConfigNTP.ntp.0" ovfenv:value="ntp1.mycompany.org"/> | alle gültigen NTP-Server | Ein gültiger NTP-Server ist erforderlich für eine ordnungsgemäße Zeiteinstellung auf der virtuellen Maschine. |
<Property ovfenv:key="ConfigWAS.dmgr_federate" ovfenv:value="true"/> | true | false | Wenn die Eigenschaft "dmgr_federate" auf "true" gesetzt ist, sind die folgenden Werte erforderlich. Die Werte werden verwendet,
um den angepassten und den Standardknoten in den Ziel-Deployment-Manager einzubinden.
|
<Property ovfenv:key="ConfigWAS.jmgr_federate" ovfenv:value="true"/> | true | false | Wenn die Eigenschaft "jmgr_federate" auf "true" gesetzt ist, sind die folgenden Werte erforderlich. Die Werte werden verwendet,
um den angepassten und den Standardknoten in den Zieljobmanager einzubinden.
|