- DSR Cloud Installation Guide
- Software Installation Procedure
- Create DSR Guests (KVM/OpenStack)
- Configure NOAM Guests Role Based on Resource Profile (KVM/OpenStack Only)
3.2.2 Configure NOAM Guests Role Based on Resource Profile (KVM/OpenStack Only)
This procedure configures networking on VMs.
- Name the new VM instance.
- Create an informative name for the new instance: NOAM1.
- Examine the DSR Network to Device Assignments defined in DSR Cloud Benchmarking Guide.
- Create and boot the NOAM VM instance from the glance image.
- Get the following configuration values.
The image ID
$ glance image-list
The flavor ID$ nova flavor-list
The network ID (s)$ neutron net-list
An informative name for the instance:
- NOAM1
- NOAM2
- Create and boot the VM instance.
The instance must be owned by the DSR tenant user, not the admin user. Source the credentials of the DSR tenant user and issue the following command. Use one --nic argument for each IP/interface. Number of IP/interfaces for each VM type must conform with the DSR Network to Device Assignments defined in DSR Cloud Benchmarking Guide.
Note:
IPv6 addresses should use the v6-fixed-ip argument instead of v4‑fixed-ip.$ nova boot --image <image ID> --flavor <flavor id> --nic net-id=<first network id>,v4-fixed-ip=<first ip address> --nic net-id=<second network id>,v4-fixed-ip=<second ip address> <instance name>
- View the newly created instance using the nova
tool.
The VM takes approximately 5 minutes to boot and may be accessed through both network interfaces and the Horizon console tool.$ nova list --all-tenants
- Get the following configuration values.
- Configure NOAM VIP.This is an optional step.
Note:
For information about Firewall Ports, refer to DSR IP Flow document. Refer to Application VIP Failover Options (OpenStack) for more information on VIP.If a NOAM VIP is needed, run the following commands:- Find the port ID associated with the NOAM instance XMI
interface.
$ neutron port-list
- Add the VIP IP address to the address pairs list of the
NOAM instance XMI interface
port.
$ neutron port-update <Port ID> --allowed_address_pairs list=true type=dict ip_address=<VIP address to be added>
- Find the port ID associated with the NOAM instance XMI
interface.
- Check if interface is configured.If DHCP is enabled on the Neutron subnet, VM configures the VNIC with the IP address provided in step 2. To verify, ping the XMI IP address provided with the nova boot command from step 2:
$ ping <XMI-IP-Provided-During-Nova-Boot>
If the ping is successful, ignore step 5 to configure the interface manually.
- Manually configure interface, if not already done.This is an optional step.
Note:
If the instance is already configured with an interface and has successfully pinged (step 4), then ignore this step to configure the interface manually.- Log in to the Horizon GUI as the DSR tenant user.
- Go to the Compute/Instances section.
- Click the Name field of the newly created instance.
- Select the Console tab.
- Log in as the admusr user.
- Configure the network interfaces, conforming with the DSR
Network to Device Assignments defined in DSR Cloud
Benchmarking
Guide.
$ sudo netAdm add --onboot=yes --device=eth0 --address=<xmi ip> --netmask=<xmi net mask> $ sudo netAdm add --route=default --device=eth0 --gateway=<xmi gateway ip>
Verify network connectivity by pinging Gateway of XMI network.
Under some circumstances, it may be necessary to configure as many as 6 or more interfaces.$ ping –c3 <XMI Gateway>
- Reboot the NOAM VM. It takes approximately 5 minutes for the
VM to complete
rebooting.
The new VM should now be accessible through both network and Horizon consoles.$ sudo init 6
Note:
To configure NOAM2, repeat the above steps for NOAM2.