Configuring the on-premises system
-
Get the service CA that signed the ObjectServer certificates:
Note: You must run this step on the cloud side and copy over the
service-ca.crtto the on-premises server.oc get configmap <name>-tls-ca -o jsonpath='{.data.ca\.crt}' > service-ca.crtWhere
<name>is the name of your installation resource. -
Import the CA certificate into the IBM Tivoli Netcool/OMNIbus keystore:
$NCHOME/bin/nc_gskcmd -keydb -create -db $NCHOME/etc/security/keys/omni.kdb -pw "$KEYSTORE_PW" -stash $NCHOME/bin/nc_gskcmd -cert -add -db $NCHOME/etc/security/keys/omni.kdb -pw "$KEYSTORE_PW" -label "CA" -file service-ca.crtNote: The default for
$NCHOME is /opt/IBM/tivoli/netcool/. -
Add the local host resolution for service name that is used in the CN of certificates to the IP of the cluster control node. This is so that the client can validate the certificate chain by the hostname used.
/etc/hosts: <cluster_control_node_ip> aiops-ir-core-ncoprimary.<namespace>.svc <cluster_control_node_ip> aiops-ir-core-ncobackup.<namespace>.svc -
Update the
omni.dat($NCHOME/etc/omni.dat) with the necessary connection details, for example:[AIOPS_AGGV] { Primary: aiops-ir-core-ncoprimary.<namespace>.svc ssl ${NCOPRIMARY_NODEPORT} Backup: aiops-ir-core-ncobackup.<namespace>.svc ssl ${NCOBACKUP_NODEPORT} }Then, regenerate the interfaces file through
$NCHOME/bin/nco_igen. -
Try pinging the server by name:
$NCHOME/omnibus/bin/nco_ping AIOPS_AGGV -
Specify the challenge credentials in the probe property files:
AuthUsername: "aiopsprobe" AuthPassword: "<password from step 6 of on cloud side>"