Performing the command line initialization

Deploying an HCP VM System on KVM

Version
9.6.x
Audience
anonymous
Part Number
MK-94HCP009-07

To create, configure, and deploy the HCP VM, enter a virt-install command with the parameters shown:

virt-install -n hcp-vm-node-name -r memory-ram \
--disk path=/var/lib/libvirt/images/os-disk- name.qcow2,bus=virtio,size=32 \
--disk path=/var/lib/libvirt/images/storage-disk-name- 1.qcow2,bus=virtio,size=disk-size-1 \
--disk path=/var/lib/libvirt/images/storage-disk-name- 2.qcow2,bus=virtio,size=disk-size-2 \
-c File-Path-To-HS222_Release-Number.iso\
--network bridge=front-end-network-bridge-name,model=virtio \
--network bridge=back-end-network-bridge-name,model=virtio \
--noautoconsole -v --vcpus=number-of-virtual-cpus --os-variant=node- os

For example:

virt-install -n hcp_example -r 32768 \
--disk path=/var/lib/libvirt/images/hcp_example- 01.qcow2,bus=virtio,size=32 \
--disk path=/var/lib/libvirt/images/hcp_example- 02.qcow2,bus=virtio,size=500 \
--disk path=/var/lib/libvirt/imageshcp_example- 03.qcow2,bus=virtio,size=500 \
-c /var/iso/HS222_8.0.0.682.iso \
--network bridge=front-end,model=virtio \
--network bridge=back-end,model=virtio \
--noautoconsole -v --vcpus=4 --os-variant=fedora25