Configuring the Presentation Server in the high-availability and disaster recovery mode
Where you are in the Installation process
Step | Task |
---|---|
1 | Complete the planning activities |
2 | Prepare for TrueSight Operations Management installation |
3 | Install Remedy Single Sign-On |
4 | Install TrueSight Presentation Server — Phase A |
Configure TrueSight Presentation Server for disaster recovery — Phase B (You are here) | |
5 | Install Infrastructure Management (If licensed) |
6 | Install App Visibility Manager (If licensed) |
7 | Install Real End User Experience Monitoring Software Edition (If licensed) |
8 | Install TrueSight IT Data Analytics (If licensed) |
9 | Complete the post-installation activities |
To configure the TrueSight Presentation Server in the high-availability and disaster recovery mode
Every installation of the Presentation Server is disaster-recovery ready. Therefore, you do not need any configuration on the primary TrueSight Presentation Server.
You need to configure the recovery servers only. To do this, perform the following tasks:
Before you begin
- Ensure that TrueSight Presentation Server in installed in the high-availability mode at the primary site and the recovery site with the same database name. You must also ensure that both the primary and secondary computers are installed on the same platform and are using the same ports and operating system locale.
- Ensure that Remedy Single Sign-On configured at the primary site and the recovery site is using the same port number and is set with the same password.
- On both, the primary site and the recovery site, stop the primary computer and the secondary computer.
Step A: Configure the primary computer on the recovery site
On the recovery site, primary computer, take a backup of the following folders. Ensure that you save them with different names.
- Windows:
- %TRUESIGHTPSERVER_HOME%\truesightpserver\data
- %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data
- %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\cma
- Linux:
- $TRUESIGHTPSERVER_HOME/truesightpserver/data
- $TRUESIGHTPSERVER_HOME/truesightpserver/modules/elasticsearch/data
- $TRUESIGHTPSERVER_HOME/truesightpserver/modules/cma
- Windows:
Go to the primary site. Copy the following files from the primary site, primary computer to the recovery site, primary computer:
Note
BMC recommends that you use any third-party file synchronization and backup software to copy these directories because traditional copying can result in an unexpected failure.
- Windows:
%TRUESIGHTPSERVER_HOME%\truesightpserver\data
%TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data
%TRUESIGHTPSERVER_HOME%\truesightpserver\modules\cma
Linux:
$TRUESIGHTPSERVER_HOME/truesightpserver/data
$TRUESIGHTPSERVER_HOME/truesightpserver/modules/elasticsearch/data
$TRUESIGHTPSERVER_HOME/truesightpserver/modules/cma
- Windows:
On the recovery site, primary computer, perform these steps:
- (Linux only) Run this command as a non-root user:
chmod 700 -R $TRUESIGHTPSERVER_HOME/truesightpserver/data
- Start the database by running this command:
tssh process start database
Verify if the database is up and running by running this command:
tssh server status
- Change the host name by running this command:
tssh dr configure <RecoveryPrimaryTSPSHostName>
- Stop the database by running this command:
tssh process stop database
- Edit the pg_hba.conf file located at the following location.
- Windows: %TRUESIGHTPSERVER_HOME%\truesightpserver\data\pgsql\
- Linux: $TRUESIGHTPSERVER_HOME/truesightpserver/data/pgsql/
- In the pg_hba.conf file, add the following properties to provide the secondary computer, load balancer, and the database details and then save the file:
hostnossl replication <TSPSDatabaseUserName> <SecondaryHostName> trust
hostnossl replication
<TSPSDatabaseUserName>
<LoadBalancerName> trust
- Start the Presentation Server by running this command:
tssh server start skipHACheck
- Set the Remedy Single Sign-On details by running the following commands:
tssh properties set tspsProxyHosts "<RemedySSOHostName>,<RecoverySitePrimaryHostName>,<RecoverySiteSecondarHostName>,<loadbalancername>"
In the above command, the following definitions apply:
<RemedySSOHostName>
refers to the fully qualified host name of Remedy Single Sign-On.<RecoverySitePrimaryHostName>
refers to the recovery site, primary computer's fully qualified host name.<RecoverySiteSecondar
HostName>
refers to the recovery site, secondary computer's fully qualified host name.<loadbalancername
>
refers to the recovery site, load balancer name.
tssh properties set tspsProxyHosts "RSSO.bmc.com,RecPrimaryComp.bmc.com,RecSec.bmc.com,LB.bmc.com"
tssh properties set bmc.sso.servername <RemedySSOHostName>
tssh properties reload
Applies only if you are using a different load balancer in the production environment
In the production environment, if you are using a different load balancer name than the one in the non-production environment, then in addition to the Remedy Single Sign-On details, you must also set the load balancer name. To do this, you run the following commands:
tssh properties set loadbalancername <RecoveryLoadBalancerName>
tssh properties reload
- (Linux only) Run this command as a non-root user:
Step B: Configure the secondary computer on the recovery site
On the recovery site, secondary computer, take a backup of the following folders. Ensure that you save them with different names.
- Windows:
- %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data
- %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data
- Linux:
- $TRUESIGHTPSERVER_HOME/truesightpserver/modules/elasticsearch/data
- Windows:
Go to the primary site. Copy the following files from the primary site, secondary computer to the recovery site, secondary computer:
Note
BMC recommends that you use any third-party file synchronization and backup software to copy these directories because traditional copying can result in an unexpected failure.
- Windows:
%TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data
Linux:
$TRUESIGHTPSERVER_HOME/truesightpserver/modules/elasticsearch/data
- Windows:
- On the recovery site, secondary computer, perform these steps:
- Start the Presentation Server by running this command:
tssh server start
- Change the host name by running this command:
tssh dr configure <RecoverySecondaryTSPSHostName>
- Stop the Presentation Server by running this command:
tssh server stop
- Edit the pg_hba.conf file located at the following location.
- Windows: %TRUESIGHTPSERVER_HOME%\truesightpserver\data\pgsql\
- Linux: $TRUESIGHTPSERVER_HOME/truesightpserver/data/pgsql/
- In the pg_hba.conf file, add the following properties to provide the primary computer, load balancer, and the database details, and then save the file:
hostnossl replication
<TSPSDatabaseName>
<PrimaryHostName> trusthostnossl replication
<TSPSDatabaseName>
<LoadBalancerName> trust
Start the Presentation Server by running this command:
tssh server start
Synchronizing the primary and recovery sites
To ensure that the primary and recovery sites are in sync, perform the following tasks:
Back up folders regularly
Ensure that you regularly backup the following folders on the primary site and copy it over to the recovery site:
- %TRUESIGHTPSERVER_HOME%\truesightpserver\data
- %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\cma
- %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data
On Linux, it is possible to backup the folders while the Presentation Server processes are running. On Windows, do one of the following:
- Use a Windows or third-party utility to backup the folders. Traditional copying while the Presentation Server processes are running might result in an error.
- Stop the Presentation Server processes and then backup the folders.
Apply patches and configuration changes
If you apply product patches or make changes to configuration files at the primary site, ensure that you do the same at the recovery site.
Bringing up the recovery or primary site
To bring up the recovery or primary site, or to verify the disaster recovery configuration, see Bringing up the recovery or primary Presentation Server in high-availability and disaster recovery mode
Next step in the Installation process
Now that you have successfully configured disaster recovery for the Presentation Server, install the other TrueSight components as per your license entitlements. For instructions, see Installation process.
Comments
Log in or register to comment.