And another
This commit is contained in:
parent
af5224abe7
commit
ca1aada5b0
|
@ -177,51 +177,51 @@ This section walks through deploying a simple Debian VM to the cluster with Debo
|
||||||
`$ uuidgen`
|
`$ uuidgen`
|
||||||
`$ $EDITOR /tmp/test1.xml`
|
`$ $EDITOR /tmp/test1.xml`
|
||||||
|
|
||||||
<domain type='kvm'>
|
<domain type='kvm'>
|
||||||
<name>test1</name>
|
<name>test1</name>
|
||||||
<uuid>[INSERT GENERATED UUID]</uuid>
|
<uuid>[INSERT GENERATED UUID]</uuid>
|
||||||
<description>Testing VM</description>
|
<description>Testing VM</description>
|
||||||
<memory unit='MiB'>1024</memory>
|
<memory unit='MiB'>1024</memory>
|
||||||
<vcpu>1</vcpu>
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
|
<type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<pae/>
|
<pae/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/kvm</emulator>
|
<emulator>/usr/bin/kvm</emulator>
|
||||||
<controller type='usb' index='0'/>
|
<controller type='usb' index='0'/>
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<serial type='pty'/>
|
<serial type='pty'/>
|
||||||
<console type='pty'/>
|
<console type='pty'/>
|
||||||
<disk type='network' device='disk'>
|
<disk type='network' device='disk'>
|
||||||
<driver name='qemu' discard='unmap'/>
|
<driver name='qemu' discard='unmap'/>
|
||||||
<auth username='libvirt'>
|
<auth username='libvirt'>
|
||||||
<secret type='ceph' uuid='[INSERT CEPH STORAGE SECRET]'/>
|
<secret type='ceph' uuid='[INSERT CEPH STORAGE SECRET]'/>
|
||||||
</auth>
|
</auth>
|
||||||
<source protocol='rbd' name='vms/test1_disk0'>
|
<source protocol='rbd' name='vms/test1_disk0'>
|
||||||
<host name='[INSERT FIRST COORDINATOR CLUSTER NETWORK FQDN' port='6789'/>
|
<host name='[INSERT FIRST COORDINATOR CLUSTER NETWORK FQDN' port='6789'/>
|
||||||
<host name='[INSERT FIRST COORDINATOR CLUSTER NETWORK FQDN' port='6789'/>
|
<host name='[INSERT FIRST COORDINATOR CLUSTER NETWORK FQDN' port='6789'/>
|
||||||
<host name='[INSERT FIRST COORDINATOR CLUSTER NETWORK FQDN' port='6789'/>
|
<host name='[INSERT FIRST COORDINATOR CLUSTER NETWORK FQDN' port='6789'/>
|
||||||
</source>
|
</source>
|
||||||
<target dev='sda' bus='scsi'/>
|
<target dev='sda' bus='scsi'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
<mac address='52:54:00:12:34:56'/>
|
<mac address='52:54:00:12:34:56'/>
|
||||||
<source bridge='vmbr100'/>
|
<source bridge='vmbr100'/>
|
||||||
<model type='virtio'/>
|
<model type='virtio'/>
|
||||||
</interface>
|
</interface>
|
||||||
<controller type='scsi' index='0' model='virtio-scsi'/>
|
<controller type='scsi' index='0' model='virtio-scsi'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|
||||||
*NOTE:* This Libvirt XML is only a sample; it should be modified to fit the specifics of the VM. Alternatively to manual configuration, one can use a tool like `virt-manager` to generate valid Libvirt XML configurations for PVC to use.
|
*NOTE:* This Libvirt XML is only a sample; it should be modified to fit the specifics of the VM. Alternatively to manual configuration, one can use a tool like `virt-manager` to generate valid Libvirt XML configurations for PVC to use.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue