Recommended Configuration Order
The following sections outline the steps necessary to configure the NMS Monitors, NMS Agents and ZooKeeper. However there are some configuration dependencies between each of these components. Specifically, the identity stores and truststores of the ZooKeeper, NMS Monitor, and NMS Agent nodes need to exist before each other’s certificates can be imported. Below is a recommended order when configuring these node:
1. ZooKeeper
• Install ZooKeeper on each node
• Create the identity store on each node, see ZooKeeper -> Keystore creation
• Export the certificate on each node, see ZooKeeper -> Export the certificate
• Create the truststore store on each node and import the certificates from each of the other nodes, see ZooKeeper -> Creating the truststores
• Configure the environment variables for each node, see
• ZooKeeper -> Environment
• Generate the ZooKeeper configuration file, see ZooKeeper -> ZooKeeper configuration file
• Create the ZooKeeper data directory, see ZooKeeper -> ZooKeeper data directory
2. NMS Monitor
• Set the WebLogic domain environment in a terminal, see NMS Monitor -> Set the domain environment
• Configure the connection to the ZooKeeper cluster, see NMS Monitor -> Configure ZooKeeper
• Configure the NMS datasources, see NMS Monitor -> Configure Datasource
• Set the keystore location for each NMS Monitor, see NMS Monitor -> Keystore actions -> Set keystore location
• Create the keystore for each NMS Monitor, see NMS Monitor -> keystore actions -> Create keystore
• Export the certificate for the NMS Monitor, see NMS Monitor -> keystore actions -> Export certificate
• Set the truststore location for each NMS Monitor, see NMS Monitor -> Truststore actions -> Set truststore location
• Create the truststore for each NMS Monitor, see NMS Monitor -> Truststore actions -> Create truststore
• Create the credentials for the WebLogic admin (#1), see NMS Monitor -> Credentials -> Create credentials
• Create the credentials for the NMS cesejb managed server 1 (#2), see NMS Monitor -> Credentials -> Create credentials
• Create the credentials for the NMS cesejb managed server 2 (#3), see Credentials -> Create credentials
• Create the credentials for the NMS OMA managed server 1 (if different from the CESEJB Managed server) (#4), see NMS Monitor -> Credentials -> Create credentials
• Create the credentials for the NMS OMA managed server 2 (if different from the CESEJB Managed server) (#5), see NMS Monitor -> Credentials -> Create credentials
• Create the NMS Monitor server in WebLogic, see NMS Monitor -> Creating the NMS Monitor server
3. NMS Agent
• Configure the server properties on each NMS Agent node, see NMS Agent -> Configure Server
• Set the keystore location for each NMS Agent, see Keystore actions, NMS Agent -> Set keystore location
• Create the keystore for each NMS Agent, see NMS Agent -> Keystore actions -> Create keystore
• Export the certificate for the NMS Agent, see NMS Agent -> Keystore actions -> Export certificate
• Set the truststore location for each NMS Agent, see NMS Agent -> Truststore actions, -> Set truststore location
• Create the truststore for each NMS Agent, see NMS Agent -> Truststore actions -> Create truststore
• Run each NMS Agent as a service, see NMS Agent -> Generate service script
• Create the nmsagent directory on each NMS Agent, see NMS Agent -> The nmsagent directory
4. ZooKeeper
• Import each of the NMS Monitor certificates into each ZooKeeper nodes truststore, See ZooKeeper -> Creating the truststores
5. NMS Monitor
• Import each of the ZooKeeper node certificates into each of the NMS Monitors truststores, see NMS Monitors -> Truststore actions -> Import certificate
• Import each of the NMS Agent node certificates into each of its associated NMS Monitor truststores, see NMS Monitors -> Truststore actions -> Import certificate
• Import the NMS self-signed certificate into the java truststore (optional), see NMS Monitors -> NMS CESEJB Self-Signed Certificates
6. NMS Agent
• Import each of the NMS Monitor certificates into its associated NMS Agent truststore, see NMS Agent -> Truststore actions -> Import certificate
7. NMS Monitor Web Application
• Configure the Site Configuration within the NMS Monitor web application, see NMS Monitor Web Application -> Configuration Screens -> Sites
• Add each of the sites to be monitored
• For each site
• Add a URL for the NMS Agent in environment 1 into Agent1.
• Add a URL for the NMS Agent in environment 2 into Agent2.
• Add a URL for the WebLogic administration server. This must match the credentials entered in NMS Monitor properties (See #1)
• Add a URL for the first NMS CESEJB managed server into NMS Env 1. This must match the credentials entered in NMS Monitor properties (See #2)
• Add a URL for the second NMS CESEJB managed server into NMS Env 2. This must match the credentials entered in NMS Monitor properties (See #3)
• Add a URL for the first NMS OMA managed server into OMA Env 1. This must match the credentials entered in NMS Monitor properties (See #4)
• Add a URL for the second NMS OMA managed server into OMA Env 2. This must match the credentials entered in NMS Monitor properties (See #5)
• Configure the automatic failover properties, see NMS Monitor Web Application -> Configuration Screens -> Automatic Failover
• Configure the failover priority, see NMS Monitor Web Application -> Configuration Screens -> Failover Priority
• Configure the failover operation plans, see NMS Monitor Web Application -> Configuration Screens Failover operation plans