Create the Region Virtual Machines

This is part three of a five-part process.

About this task

Tip

Tip

After you create the first of the three region VMs, you can create the remaining region VMs and the zone VM at the same time.

Procedure

  1. Open the region.conf file, which you obtained when you untarred the release tar file.
  2. Update region.conf for one region as described in the comments of the file.
    Note

    Note

    In region.conf, do not enclose values in double-quotes. For example, to configure NTP, NTP_CONF=1 is correct. NTP_CONF="1" is incorrect.
  3. Copy region.conf to xvmconf.
    # cp region.conf xvmconf
  4. Copy the xvmconf file to the qcow image.
    # virt-copy-in -a <absolute-path-for-region-qcow2-file> xvmconf /etc/
  5. Repeat steps 2 through 4 once for each region you are creating.
  6. Install the region VMs.
    virt-install --name region199  --ram 16384 --vcpus 4 
    --disk path=/home/user/sbrBuilds/region1-xvm.qcow2,bus=sata  --nographics --import 
    --os-variant centos7.0 --network bridge:<name-of-bridge> --console pty,target_type=virtio 
    
    virt-install --name region200  --ram 16384 --vcpus 4 
    --disk path=/home/user/sbrBuilds/region2-xvm.qcow2,bus=sata  --nographics --import 
    --os-variant centos7.0 --network bridge:<name-of-bridge> --console pty,target_type=virtio 
    
    virt-install --name region201  --ram 16384 --vcpus 4 
    --disk path=/home/user/sbrBuilds/region3-xvm.qcow2,bus=sata  --nographics --import 
    --os-variant centos7.0 --network bridge:<name-of-bridge> --console pty,target_type=virtio
    
    Note

    Note

    The <name-of-bridge> variable is the name of the bridge that is built into your host system. You can use the ifconfig command to identify the bridge configuration of the host.
    The VMs start up.
  7. Log in with the following credentials.
    • user name: root
    • password: password
  8. Follow the automated instructions to complete the installation.

What to do next

Create the Zone Virtual Machine