Installing on a virtual machine
Install the IBM Storage Ceph Provisioner server on a virtual machine (VM) by using the Provisioner Server ISO.
Before you begin
Before you begin, make sure that you have the following prerequisites in place:
- The prerequisites listed in Installing the Ceph Provisioner server are met.
- The VM environment supports
UEFI boot mode. - Two virtual NICs are configured: one for the provisioning network and one for the external network.
- The Provisioner Server ISO is downloaded.
About this task
You can install the server on VMware vCenter or on KVM or libvirt, depending on your environment. For KVM or libvirt deployments, the provisioning network NIC must be connected to a Linux bridge-based network to support the layer-2 broadcasts required for node discovery.
Procedure
-
To install on VMware vCenter, complete the following steps:
- Create a new VM with 4 vCPUs, 4 GB RAM, 200 GB disk, and two NICs (provisioning and external).
- Enable
UEFI boot mode. - Attach the
IBM-Ceph-Provisioner-version.isofile as a virtual CD/DVD device. - Power on the VM.
-
To install on KVM or libvirt, complete the following steps:
-
Create a bridge-based provisioning network by using virsh:
cat <<EOF > prov-network.xml <network> <name>prov</name> <forward mode='bridge'/> <bridge name='nm-bridge'/> </network> EOF virsh net-define prov-network.xml virsh net-start prov virsh net-autostart provReplace nm-bridge with the name of your Linux bridge interface.
Important: The provisioning network must be a bridge-based network. A NAT-based virtual network does not support the layer-2 DHCP and ARP broadcasts required for Ready Node discovery. Verify the network type after creation:
Confirm that thevirsh net-info provBridgefield shows a valid bridge interface name. -
Create the VM with two virtual NICs by using virt-install:
virt-install \ --name mtserver \ --ram 4096 \ --vcpus 4 \ --disk size=200 \ --cdrom /path/to/IBM-Ceph-Provisioner-version.iso \ --network network=default \ --network network=prov \ --boot uefiThe first NIC connects to the external network. The second NIC connects to the bridge-based provisioning network.
Replace version with the ISO version number and
/path/to/with the actual path to the downloaded ISO file. -
Verify the VM network configuration after creation:
virsh domiflist mtserverConfirm that one interface is connected to the
defaultnetwork and one is connected to theprovbridge network. For example:Interface Type Source Model MAC ------------------------------------------------------------- vnet0 network default virtio 52:54:00:20:10:08 vnet1 bridge prov virtio 52:54:00:b6:e7:67 - Select UEFI firmware, for example,
OVMF_CODE.fd. - Boot the VM.
-
Results
The Provisioner server is installed and ready for initial login and password configuration.
What to do next
After installation completes, log in and secure the server. See Logging in and securing the server.