Appendix D. Manual Procedures
The following procedures outline methods for manually configuring the user interface that have been replaced by new user interface elements or are not required to provision Red Hat Enterprise Linux OpenStack Platform environments using the installer, and are provided here for reference only.
D.1. Configuring Fencing on High-Availability Nodes
If you provision Red Hat Enterprise Linux OpenStack Platform 5.0 on Red Hat Enterprise Linux 7.2 with high availability, you must configure fencing on each of the controller nodes in the environment. In principle, you must configure fencing in the user interface before you provision your environment. However, if necessary, you can manually configure fencing on hosts after they have been provisioned via the following procedure.
Note
For more information about configuring high availability in Red Hat Enterprise Linux 7.2, see High Availability Add-On Reference.
Important
This procedure assumes you have a fencing device in your Red Hat Enterprise Linux OpenStack Platform environment that you can use to fence the nodes in that environment. All steps in the procedure must be performed on each controller node.
Procedure D.1. Configuring Fencing on High-Availability Nodes
- Stop and disable the
puppetservice:#systemctl stop puppet.service#systemctl disable puppet.serviceNote
Disabling thepuppetservice prevents future changes from being applied to the controller nodes. To apply any changes, you must enable thepuppetservice and apply the changes. You must then disable thepuppetservice again and repeat the final step in this procedure to reactivate fencing. - Configure IPMI:
- Ensure the
ipmiservice is running:#systemctl start ipmi.service - Configure and activate an IPMI user with administrative privileges:
#ipmitool user set name 2 user_name#ipmitool user set password 2 password#ipmitool user priv 1 4#ipmitool user enable 2
- Create a fencing agent:
#pcs stonith create fence_agent_name fence_ipmilan login=user_name passwd=password ipaddr=ip_address pcmk_host_list="host_name"fence_agent_name: A human-readable name for the fencing agent.user_name: The name of the IPMI user on the fencing device.password: The password for the IPMI user on the fencing device.ip_address: The IP address of the fencing device.host_names: The host name of the node.
- Confirm that the fencing agent has been correctly created:
#pcs status - Enable fencing:
#pcs property set stonith-enabled=true
You have created a fencing agent that uses a fencing device to fence the nodes in your Red Hat Enterprise Linux OpenStack Platform environment.