Chapter 8. Continuing Broker Host Installation for Enterprise
8.1. Installing and Configuring DNS Plug-ins
# rpm -ql rubygem-openshift-origin-dns-nsupdate
Gem_Location/lib/openshift/nsupdate_plugin.rb
file to observe the necessary functions.
8.1.1. Installing and Configuring the Fog DNS Plug-in
Procedure 8.1. To Install and Configure the Fog DNS Plug-in:
- Install the Fog DNS plug-in:
#
yum install rubygem-openshift-origin-dns-fog
- Copy the example to create the configuration file:
#
cp
/etc/openshift/plugins.d/openshift-origin-dns-fog.conf.example
/etc/openshift/plugins.d/openshift-origin-dns-fog.conf
- Edit the
/etc/openshift/plugins.d/openshift-origin-dns-fog.conf
file and set your Rackspace® Cloud DNS credentials.Example 8.1. Fog DNS Plug-in Configuration Using Rackspace® Cloud DNS
FOG_RACKSPACE_USERNAME="racker" FOG_RACKSPACE_API_KEY="apikey" FOG_RACKSPACE_REGION="ord"
- Disable any other DNS plug-in that may be in use by moving its configuration file from the
/etc/openshift/plugins.d/
directory or renaming it so that it does not end with a.conf
extension. - Restart the broker service to reload the configuration:
#
service openshift-broker restart
8.1.2. Installing and Configuring the DYN® DNS Plug-in
Procedure 8.2. To Install and Configure the DYN® DNS Plug-in:
- Install the DYN® DNS plug-in:
#
yum install rubygem-openshift-origin-dns-dynect
- Copy the example to create the configuration file:
#
cp
/etc/openshift/plugins.d/openshift-origin-dns-dynect.conf.example
/etc/openshift/plugins.d/openshift-origin-dns-dynect.conf
- Edit the
/etc/openshift/plugins.d/openshift-origin-dns-dynect.conf
file and set your DYN® DNS credentials.Example 8.2. DYN® DNS Plug-in Configuration
ZONE=Cloud_Domain DYNECT_CUSTOMER_NAME=Customer_Name DYNECT_USER_NAME=Username DYNECT_PASSWORD=Password DYNECT_URL=https://api2.dynect.net
- Disable any other DNS plug-in that may be in use by moving its configuration file from the
/etc/openshift/plugins.d/
directory or renaming it so that it does not end with a.conf
extension. - Restart the broker service to reload the configuration:
#
service openshift-broker restart
8.1.3. Configuring the nsupdate DNS Plug-in for Compatible DNS Services
Because Infoblox® supports TSIG and GSS-TSIG updates, you can configure the nsupdate DNS plug-in to use an Infoblox® service to publish OpenShift Enterprise applications. See https://www.infoblox.com for more information on Infoblox®.
Procedure 8.3. To Configure the nsupdate DNS Plug-in to Update an Infoblox® Service:
- The nsupdate DNS plug-in is installed by default during a basic installation of OpenShift Enterprise, but if it is not currently installed, install the rubygem-openshift-origin-dns-nsupdate package:
#
yum install rubygem-openshift-origin-dns-nsupdate
- Edit the
/etc/openshift/plugins.d/openshift-origin-dns-nsupdate.conf
file and set values appropriate for your Infoblox® service and zone:BIND_SERVER="Infoblox_Name_Server" BIND_PORT=53 BIND_KEYNAME="Key_Name" BIND_KEYVALUE="Key_Value" BIND_KEYALGORITHM=Key_Algorithm_Type BIND_ZONE="Zone_Name"
- Disable any other DNS plug-in that may be in use by moving its configuration file from the
/etc/openshift/plugins.d/
directory or renaming it so that it does not end with a.conf
extension. - Restart the broker service to reload the configuration:
#
service openshift-broker restart