For a KVM environment, use self-extracting executables for the Hedvig Deployment Server and Hedvig Storage Proxies. The script assigns IP addresses and hostnames during the extract process.
Procedure
Hedvig Deployment Server
-
Run:
./kvmdeploy.bin
-
Respond to the prompts, as shown in bold, below:
Select:
1) Extract qcow2 image.
2) Extract and install.
3) Extract, install and configure network.
3
Enter target folder: /var/lib/libvirt/images
Enter domain/guest name: kvmdeploy
Created /var/lib/libvirt/images/kvmdeploy.qcow2
Enter host fully qualified domain name: kvmdeploy.hedviginc.com
Network configuration
Select:
1) DHCP
2) Static
1
-
When the configuration is complete, the VM reboots. To access it from the console, enter (as root):
virsh list
virsh console kvmdeploy (name of the domain)
Hedvig Storage Proxies
-
Run:
./hedvigproxy7.bin
-
Respond to the prompts, as shown in bold, below. You are also prompted for the configuration of the second NIC.
Select:
1) Extract qcow2 image
2) Extract and install
3) Extract, install and configure network
3
Enter target folder: /var/lib/libvirt/images
Enter domain/guest name: cvtest01
Created /var/lib/libvirt/images/cvmtest01.qcow2
Enter bridge name for public NIC: br0
Enter bridge name for private/isolated NIC: br
Starting install...
Domain creation completed.
Enter host fully qualified domain name: cvmtest01.hedviginc.com
Network configuration
Select:
1) DHCP
2) Static
1
Select:
1) Configure private network for HA
2) Standalone proxy
1
Enter private network IP address: 172.22.22.3
Enter private network Netmask: 255.255.255.0