Configuring BMC Network Automation for HA
This topic provides instructions for configuring BMC Network Automation for high availability (HA).
Before you begin
To configure BMC Network Automation for HA, you can use any clustering technology and you can configure it accordingly with the help of your cluster administrator.
To configure the BMC Network Automation service as a generic service on a Windows cluster
To support BMC Network Automation installation in an HA environment, you must add the BMC Network Automation web service to the clustered application generic services.
- In the Microsoft Failover Cluster Manager, right-click Services and applications, and then click Configure a Service or Application from the left navigation pane.
- In the High Availability Wizard: Before you Begin panel, click Next.
- In the Select Service or Application panel, select Generic Service, and click Next.
- In the Select Service panel, select the BCA-Networks Web Server web service, and click Next.
- In the Client Access Point panel, perform the following substeps, and click Next.
- Specify a name for the web service that clients will use when accessing the service, for example BNA.
Select a network, and then add a new virtual IP address to which the service would be assigned and running on the cluster.
In the Select Storage panel, do not select a shared volume, and click Next.
- Click Next until the Configure High Availability panel appears appears.
- Click Finish to complete the configuration.
- After the service is created, add the shared disk to the created generic service.
- Right-click the newly created service, for example, BNA, and then click Add Storage.
- In the Add Storage dialog box, select a shared volume that you want to add, and click OK.
- (Optional) Right-click the newly created service, for example, BNA, click Add a Resource, and then click Generic Service.
- In the Select Service panel, select the BCA-Networks TFTP Server web service, and click Next.
- Click Finish to complete adding the service.
To configure BMC Network Automation service as a generic service on a Linux cluster
- Run the
system-config-cluster
command to open the Cluster Configuration console or the web-based console for Cluster Configuration. For example, https://hostName:port. - Add the relevant nodes that make up the cluster and specify the host names for the primary and secondary servers.
- Add the failover domain with the Virtual Cluster host name.
- Add the following resources:
- Shared disk, for example, GFS
- Virtual IP address to which the service will be assigned and running on the cluster
- Shared disk, for example, GFS
- Add a new service under the Service Groups tab as shown in the following figure:
- Add the resources added in step 4 to the newly created service.
Verify whether the /etc/cluster/cluster.conf file is created.
- Turn off the cluster virtual machines (VMs).
- Turn on the cluster VMs.
Verify the cluster status by using either of the following methods:
By executing the following command on any node:
clustat \- verify cluster status
- By viewing the Service Groups tab on the web-based console for Cluster Configuration
Move the cluster to the other node by using either of the following methods:
By executing the following command on any node:
clusvcadm \-r gfs \-m <Secondary Node/Primary Node>
- By using the web-based console for Cluster Configuration as shown in the following figure:
Add the shell script, which automatically triggers the BMC Network Automation service on and off when failover occurs to the shared disk.
Perform the following tasks to add the script as a resource:
Click Add, and select Script as the resource type.
Specify a name for the script.
Specify the location of the script.
Add the newly added script resource to the existing service.
To configure the Oracle RAC database
- Log on to the BMC Network Automation host and stop the BMC Network Automation service.
- From the BMCNetworkAutomationInstallation/bca-networks-data folder, open the database.properties file.
- Update the
javax.jdo.option.ConnectionURL
property with the following value:javax.jdo.option.ConnectionURL=jdbc:oracle:thin:@cdlrac.bmc.com:1521:CDL
- From the BMCNetworkAutomationInstallation/tomcat/conf/ folder, open the server.xml file.
- Update the
connectionURL
property with the following value:
connectionURL="jdbc:oracle:thin:@ cdlrac.bmc.com:1521:CDL"
- From the BMCNetworkAutomationInstallation folder, open the BcanInstalledConfiguration.xml file.
- Locate the following properties in the file and update their values:
DATABASE_PORT_NUMBER
— DBportDATABASE_URL
— DBurl
- Start the BMC Network Automation service.
To integrate BMC Network Automation and BMC Atrium CMDB
- Log on to BMC Network Automation using the cluster host name or service virtual IP address.
- Go to Admin > system parameter > Enable CMDB integration URL and set the following parameters:
Atrium Web URL
— specify the BMC Atrium Web Registry URL, for example, http://AWSLoadBalancer:8080/cmdbws/server/cmdbws.Enterprise AR Username
— Demo.Enterprise AR Password
— specify the password for the Demo user.
- Click Save.
Comments
Log in or register to comment.