Provisioning Gateway Installation Procedure
The steps to install and configure Provisioning Gateway are as follows:
- Take one Linux system that
has Openstack Client installed on it. If a system does not have Openstack
client, then install it through CLI.
- The steps to install
OpenStack Client are:
- Login as a root user
and execute the following command:
yum install python-devel
- Install OpenStack
client using following command:
pip install python-openstackclient
- The above command
does not import heatclient plugin. Execute the following command to install
this plugin.
pip install python-heatclient
- Login as a root user
and execute the following command:
- The steps to install
OpenStack Client are:
- Identify an OpenStack
instance. The steps to identify an OpenStack instance are:
Note:
This identified OpenStack instance must meet the Provisioning Gateway OpenStack Prerequisites.- Download the OpenStack API credential file from OpenStack.
- Download the OpenStack
RC file. The steps are:
- Login to OpenStack application.
- Go to API Access section tab.
- Click the Download Openstack RC File option and download the Identity API v3 file.
- Execute the following
command to source the downloaded OpenStack API RC file into the Linux system
where openstack client is installed.
source openrc.sh
Example:
source openstack_API.rc
where,openstack_API.rc
is the API RC file name.Note:
When system prompts for password, you have to enter OpenStack Controller password.
- Download the HEAT templates
for Provisioning Gateway installation.
Note:
Download theprovgateway (x.x.x.x) HEAT template
to your local system from Oracle Help Center (OHC). - Upload the image file to
OpenStack. The steps to upload the image file to OpenStack are:
- From the OpenStack GUI, navigate to Projects > Compute-Image.
- Click Create Image.
- In the
Create Image
dialog box, select an appropriate options for the following fields:
- Select an Image File from the Image Source field.
- Select the
Provgateway-x.x.x.x image from the
Image
File. The ProvGateway Image can be obtained from Oracle Software Delivery
Cloud (OSDC) Portal.
Image name:
ProvGateway-x_x_x_x.qcow2
- The Minimum Disk and Minimum RAM fields can be left blank.
- The ProvGateway flavors must be provided with the appropriate values (4-8-60).
- Modify the input parameters. The steps to modify the
input parameters are:
- Edit the HEAT template file, 'provGwParams.yaml'.
Note:
- The input parameters are given as key/value pairs. Only modify the values (the part to the right side of the colon).
- The formatting is very important in a YAML file. Do not remove any leading spaces or add any line to the file.
- Edit the values as per the guidelines provided in below table and save the file.
Table 2-2 provGwParams.yaml File Parameters
Parameter Description Value index Index in the lists of VM names. 0 vmNames Provisioning Gateway Server Name. VMNames to identify Provisioning Gateway in the network. Example: ProvGatewayServers image The VM image for the Provisioning gateway. Provisioning gateway Image name. Example: UDR-PrvGwy-12.6.0.0.0_18.4.0-dev.qcow2 flavor The flavor that defines the VM size for the Provisioning Gateway. The provisioning gateway flavor name loaded onto the openstack. xmiPublicNetwork Network to communicate with external devices. Xmi network type name. Example: xmi xmiNetworkName Network name to communicate with users and MMI clients. Only one XMI network Name. Example: xmi_net, EXT_NET xmiIps IP to communicate with external devices. Default: []. If fixed Ips if are present: [IP1, IP2] xmiSubnetName Subnet name for XMI [{"subnet": "ext-net-subnet"}] provGatewayVMName Name of ProvGateway VM on which config XML was loaded VM Name for this Instance. Example: ProvGateway_01 isFixedIps True, if the VM is created by fixed Ips Default: false configDrive Config drive enable condition false - Edit the HEAT template file, 'provGwParams.yaml'.
- Execute the following command
to deploy Provisioning Gateway using the OpenStack CLI:
openstack stack create -t ProvGatewayVm.yaml -e ProvGatewayParams.yaml < stackName >