Learn how to configure a high availability (HA) hybrid deployment, which is composed of
cloud native Netcool® Operations Insight® components on
Red Hat® OpenShift®, with an
on-premises Operations Management installation that has multiple
WebGUI instances to provide redundancy.
About this task
Use this topic to help you setup a HA hybrid deployment where your on-premises Operations Management installation has multiple WebGUI
instances. If your Operations Management installation has only one WebGUI
instance, then do not use the topic, and follow the installation roadmap.
Extra deployment steps, which are tagged with the
icon, are required for a HA hybrid deployment.
Note: In HA hybrid deployment, only policies get pushed to the backup cluster through the backup or
restore pods. No event and topology data synchronize across the Cassandra. The Cassandra instances
do not communicate with each other.
To download a PDF of the HA hybrid deployment process, click here.
Procedure
-
Prepare for your HA hybrid deployment.
Follow the instructions in
Preparing to install on-premises
Operations Management and prepare for the HA hybrid
deployment.
- Setup load balancing for your on-premises WebGUI instances.
- Configure your on-premises Operations Management to work with a hybrid
deployment.
- Set up persistence for the OAuth service.
This creates another Db2® database to persist
OAuth tokens and clients for use by all WebGUI nodes. You can use the same Db2 instance that you use for your load-balancing database.
- When instructed to create a client in the Db2
database, use the following
values:
INSERT INTO OAuthDBSchema.OAUTH20CLIENTCONFIG
(
COMPONENTID,
CLIENTID,
CLIENTSECRET,
DISPLAYNAME,
REDIRECTURI,
ENABLED
)
VALUES
(
'NetcoolOAuthProvider',
'client_id',
'client_secret',
'My Client',
'redirect_url',
1
)
Where
- client_id is the value of client-id in
custom-resource-was-oauth-cnea-secrets. For more information, see Configuring authentication.
- client_secret is the value of client-secret in
custom-resource-was-oauth-cnea-secrets. For more information, see Configuring authentication.
- redirect_url is the value that you specified for Redirect
URL when you installed the integration kit. For more information, see Installing the integration kit.
- Create a JDBC entry to enable connection to your Db2 instance from WebSphere®. In DASH, click Console Settings > WebSphere Administrative console > WebSphere Administrative console, and then Resources > JDBC > JDBC providers and add an entry for Db2.
- Create a WebSphere datasource that has the
credentials to connect to the OAuth Db2 database:
In DASH, click , and then
and add an
entry for the OAuth Db2 database that you created. This
datasource must have a different name to the datasource created for the load-balancing feature.
jdbc/oauthProvider
is the suggested value. The value of JNDI
name for the datasource must be used for the value of the
oauthjdbc.JDBCProvider parameter in NetcoolOAuthProvider.xml in step
6.
- Configure WebGUI with OAuth database.
The value of the oauthjdbc.JDBCProvider parameter in
NetcoolOAuthProvider.xml must match the JNDI name used for
the datasource in step 3b.
To avoid potential conflict, move the base.clients.xml file
with the following command:
cd $JazzSM_Profile_Home/config/cells/JazzSMNode01Cell/oauth20
mv base.clients.xml base.clients.xml.backup
Note: Complete
this step each time that the Netcool Hybrid Deployment Option Integration Kit
is redeployed.
- Install cloud native Netcool Operations Insight components on Red Hat OpenShift.
- Restart on-premises Dashboard Application Services
Hub instances.
Restart all
Dashboard Application Services
Hub instances on your
Operations Management on-premises installation by using
the following
commands:
cd JazzSM_WAS_Profile/bin
./stopServer.sh server1 -username smadmin -password password
./startServer.sh server1
where
JazzSM_WAS_Profile is the location of the application server profile that is used for Jazz® for Service Management. This is usually
/opt/IBM/JazzSM/profile.
- Restart the common-ui and cem-users pods on your cloud native Netcool Operations Insight components deployment.
- Find the names of the common-ui pod and cem-users pods on your cloud native Netcool Operations Insight components deployment with the following command:
oc get pod | grep common-ui
oc get pod | grep cem-users
- Restart these pods with the following command:
oc delete pod pod_name
where pod_name
is the name of the pod to be restarted.
- Complete the post installation steps in Post installation setup and verification.