5 This document gives the guide of how to set up the infrastructure for the use of bottlenecks test cases.
7 Create Instances for the Applications
8 =====================================
10 Firstly, there is a need to set up several instances for the applications which will be installed.
12 The script create_instances.sh will set up several instances, the parameters used in this script can be obtained according to the following,
14 Parameter $OPENRC_PATH is the path of where your admin-openrc.sh located, which includes the username and password of your openstack. Other parameters can be obtained under your openstack CLI as listed below,
16 +-------------+----------------------+
17 | parameter | commond line commond |
18 +=============+======================+
19 | NET_ID | neutron net-list |
20 +-------------+----------------------+
21 | FLAVOR_TYPE | nova flavor-list |
22 +-------------+----------------------+
23 | IMAGE_ID | nova image-list |
24 +-------------+----------------------+
25 | SEC_GROUP | nova secgroup-list |
26 +-------------+----------------------+
28 Add Floating IPs for the Instances
29 ===================================
31 Check the available floating IPs::
35 Check the status of the instances created::
39 If there're no available floating IPs, to create one::
41 nova floating-ip-create <ext_net_name>
43 replace <ext_net_name> with the external network in your environment.
45 Associate the floating IP address with the instance::
47 nova add-floating-ip <instance name or ID> <allocated_floating_IP>
50 **Documentation tracking**