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 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.
    • To be able to discover 9920 devices that have IPv4 and IPv6 addresses, set the eth0_ADDRTYPE variable to v4v6 and enter both addresses.
    • To be able to discover 9920 devices that have only IPv4 addresses, set the eth0_ADDRTYPE variable to v4 and then enter the addresses.
    • You cannot change the mode (v4 or v4v6) after you install Visibility Manager.
  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.
    Wait for the installation to complete on the first region VM before continuing with the remaining 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.
  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