Este conteúdo não está disponível no idioma selecionado.
18.3. Extend the Tenant Network for the Benchmarking Service
The following procedure is
optional and required only if the Benchmarking service scenario being run requires a direct access (ssh) to the guest. When running the NovaServers.boot_server scenario, extending the tenant network is not required as this is specific scenario does not ssh into the guests but simple launches the guests.
Perform the following steps on your Controller node, unless otherwise specified.
- If your Red Hat OpenStack Platform deployment does not have any floating point IPs available, extend the Tenant network to the
rallyhost. Run the following command to install the OpenStack Networking OpenvSwitch agent package:yum install openstack-neutron-openvswitch
# yum install openstack-neutron-openvswitchCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Copy the OpenStack Networking configuration files from the Compute node to the Controller node:
scp COMPUTE_NODE_IP:/etc/neutron/* /etc/neutron
# scp COMPUTE_NODE_IP:/etc/neutron/* /etc/neutronCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Set an IP address to the interface that would have been associated with the Tenant network had it been part of the OpenStack cluster.
- Edit the
ovs_neutron_plugin.inifile and change thelocal_ipto the IP address that resides on the Tenant network:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the
/etc/neutron/plugin.inifile and change thelocal_ipto the IP address that resides on the Tenant network:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart the
neutron-openvswitch-agent:systemctl restart openvswitch systemctl restart neutron-openvswitch-agent
# systemctl restart openvswitch # systemctl restart neutron-openvswitch-agentCopy to Clipboard Copied! Toggle word wrap Toggle overflow - On the Controller node, verify the agent is properly setup by using the
neutron agent-listcommand:neutron agent-list
# neutron agent-list ... Output Abbreviated ... ] | 8578499b-0873-47a9-9cae-9884d4abf768 | Open vSwitch agent | Controller_Host | :-) | True | neutron-openvswitch-agentCopy to Clipboard Copied! Toggle word wrap Toggle overflow - On the Controller node, create the variables
netidandhostidwith the following information:netid=PRIVATE_NETWORK_ID echo $netid hostid=CONTROLLER_NODE_HOSTNAME echo $hostid
# netid=PRIVATE_NETWORK_ID # echo $netid # hostid=CONTROLLER_NODE_HOSTNAME # echo $hostidCopy to Clipboard Copied! Toggle word wrap Toggle overflow - On the Controller node, create a
neutronport labelledrally-portthat binds to thehost_idand creates the port within the network of the associatednetid.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Within the Controller node, modify the
rallyvirtual machine XML with the following:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
Make sure you update theneutron-port-idwith theidlocated in the previous step when creating therally-port. - After the XML file changes have been applied to the
rallyguest, reboot the guest.