Rate This Document
Findability
Accuracy
Completeness
Readability

Testing the Interconnection Between VMs in Different AZs

Perform the following operations on the controller node.

  1. Source the admin credentials to gain access to admin-only CLI commands.
    1
    source /etc/keystone/admin-openrc
    
  2. Create an instance flavor.
    openstack flavor create ${flavor_name} --ram $RAM_MB --vcpus $CPU --disk $DISK_GB --public
    Figure 1 flavor creat
  3. Create an x86 VM in the x86 compute AZ (select the self-service x86 network).
    1
    openstack server create --flavor 4u8g40gb --image CentOS-7.6-x86_64 --nic net-id=test_selfservice_x86 --availability-zone az-x86 x86-self-service-instance
    
  4. Create an Arm VM in the Arm compute AZ (select the self-service Arm network).
    1
    openstack server create --flavor 4u8g40gb --image CentOS-7.6-aarch64 --nic net-id=test_selfservice_arm --availability-zone az-arm arm-self-service-instance
    
  5. Test the network connectivity between two VMs in different AZs.
    1. Query the IP addresses of the created VMs.
      1
      openstack server list
      

    2. Query the IP address and port number of the VNC console.
      1
      nova get-vnc-console x86-self-service-instance novnc
      

    3. Log in to the VM using a browser and ping the IP address of another VM.
      1
      ping <arm-self-service-instance ip>