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

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

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

- Query the IP addresses of the created VMs.
Parent topic: Configuring and Verifying Network on OpenStack