Troubleshooting BMC Atrium Single Sign-On problems
This topic describes the common problems faced in BMC Atrium Single Sign-On and BAO integration.
- Re-registering agents in BMC Atrium Single Sign-On after an upgrade
- Registering agents on a new BMC Atrium Single Sign-On server
- Checking that the CDP can communicate with BMC Atrium Single Sign-On
- Problem starting BAO when BAO and Atrium SSO are installed on the same server
- BMC Atrium Orchestrator peer does not start after installation or BMC Atrium Orchestrator does not run properly
Re-registering agents in BMC Atrium Single Sign-On after an upgrade
When you upgrade BMC Atrium Single Sign-On to any later version, sometimes the integration fails and the following error message is displayed. Re-register the agents in BMC Atrium Single Sign-On again.
BMCSSG1757E: Integration with Atrium SSO is failing. Please contact the product's support team for help with resolving this integration problem (BMCSSG1766E: Local Atrium SSO certificate does not match remote server certificate. Agent may need to be re-integrated with Atrium SSO server.)
Perform the following steps to re-register agents by using the command line interface (see the parameter table below for details) :
- Go to BMC Atrium SSO Admin Console and click Agent Details.
- Select the check boxes against the BAO agents and click Delete.
- Remove the ${ao_home}/tomcat/atssoAgents directory.
- For the repository, this is $<REPO_HOME>/tomcat/atssoAgents
- For the CDP, this is $<CDP_HOME>/tomcat/atssoAgents
Go to the command prompt and run the following command:
<AOComponent Install Folder>\jvm\bin\java" -jar "<AO ComponentInstall Folder>\webagent\deployer\deployer.jar"
--install --container-type tomcatv7
--atrium-sso-url <https://customers-sso-instance:port/atriumsso>
--web-app-url <https://url-to-AO-component> or <https://url-to-AO-Load-Balancer>
--notify-url <https://url-to-AO-component>
--web-app-logout-uri /logout
--container-base-dir "<AO ComponentInstall Folder>\tomcat"
--admin-name <amadmin>
--admin-pwd <ampassword>
--jvm-truststore "<AOComponent Install Folder>\jvm\lib\security\cacerts"
--jvm-truststore-password changeit
--truststore "<AO Component InstallFolder>\tomcat\conf\.keystore"
--truststore-password changeit
--not-enforced-uri-file "<AO Component Install Folder>\excludedURLs"Sample command for the repository:
C:\Program Files\BMC Software\BAO\repo\jvm\bin\java" -jar "C:\Program Files\BMC Software\BAO\repo\webagent\deployer\deployer.jar"
--install --container-type tomcatv7
--atrium-sso-url https://<fqdn for sso server>:8443/atriumsso
--web-app-url https://<fqdn for your component>:28080/baorepo or <https://url-to-AO-Load-Balancer>
--notify-url <https://<fqdn for your component>:28080/baorepo
--web-app-logout-uri "/logout"
--container-base-dir "C:\Program Files\BMC Software\BAO\repo\tomcat"
--admin-name amadmin --admin-pwd <sso admin password>
--jvm-truststore "C:\Program Files\BMC Software\BAO\repo\jvm\lib\security\cacerts"
--jvm-truststore-password changeit
--truststore "C:\Program Files\BMC Software\BAO\repo\tomcat\conf\.keystore"
--truststore-password changeit
--not-enforced-uri-file "C:\Program Files\BMC Software\BAO\repo\excludedURLs"Sample command for the CDP:
C:\Program Files\BMC Software\BAO\CDP\jvm\bin\java" -jar "C:\Program Files\BMC Software\BAO\CDP\webagent\deployer\deployer.jar"
--install --container-type tomcatv7
--atrium-sso-url https://<fqdn for sso server>:8443/atriumsso
--web-app-url https://<fqdn for your component>:38080/baocdp or <https://url-to-AO-Load-Balancer>
--notify-url <https://<fqdn for your component>:38080/baocdp
--web-app-logout-uri "/logout"
--container-base-dir "C:\Program Files\BMC Software\BAO\CDP\tomcat"
--admin-name amadmin --admin-pwd <sso admin password>
--jvm-truststore "C:\Program Files\BMC Software\BAO\CDP\jvm\lib\security\cacerts"
--jvm-truststore-password changeit
--truststore "C:\Program Files\BMC Software\BAO\CDP\tomcat\conf\.keystore"
--truststore-password changeit
--not-enforced-uri-file "C:\Program Files\BMC Software\BAO\CDP\excludedURLs"Sample command for the graphing server:
C:\Program Files\BMC Software\BAO\CDP\jvm\bin\java" -jar "C:\Program Files\BMC Software\BAO\CDP\webagent\deployer\deployer.jar"
--install --container-type tomcatv7
--atrium-sso-url https://<fqdn for sso server>:8443/atriumsso
--web-app-url https://<fqdn for your component>:38080/baograph or <https://url-to-AO-Load-Balancer>
--notify-url <https://<fqdn for your component>:38080/baograph
--web-app-logout-uri "/logout"
--container-base-dir "C:\Program Files\BMC Software\BAO\CDP\tomcat"
--admin-name amadmin --admin-pwd <sso admin password>
--jvm-truststore "C:\Program Files\BMC Software\BAO\CDP\jvm\lib\security\cacerts"
--jvm-truststore-password changeit
--truststore "C:\Program Files\BMC Software\BAO\CDP\tomcat\conf\.keystore"
--truststore-password changeit
--not-enforced-uri-file "C:\Program Files\BMC Software\BAO\CDP\conf\excludedURLs"Sample command for the OCP (installed with the CDP):
C:\Program Files\BMC Software\BAO\CDP\jvm\bin\java" -jar "C:\Program Files\BMC Software\BAO\CDP\webagent\deployer\deployer.jar"
--install --container-type tomcatv7
--atrium-sso-url https://<fqdn for sso server>:8443/atriumsso
--web-app-url https://<fqdn for your component>:38080/baoocp or <https://url-to-AO-Load-Balancer>
--notify-url <https://<fqdn for your component>:38080/baocdp
--web-app-logout-uri "/logout"
--container-base-dir "C:\Program Files\BMC Software\BAO\CDP\tomcat"
--admin-name amadmin --admin-pwd <sso admin password>
--jvm-truststore "C:\Program Files\BMC Software\BAO\CDP\jvm\lib\security\cacerts"
--jvm-truststore-password changeit
--truststore "C:\Program Files\BMC Software\BAO\CDP\tomcat\conf\.keystore"
--truststore-password changeit
--not-enforced-uri-file "C:\Program Files\BMC Software\BAO\CDP\conf\excludedURLs"Sample command for the OCP (standalone installation):
C:\Program Files\BMC Software\BAO\OCP\jvm\bin\java" -jar "C:\Program Files\BMC Software\BAO\OCP\webagent\deployer\deployer.jar" --install --container-type tomcatv7
--atrium-sso-url https://<fqdn for sso server>:8443/atriumsso
--web-app-url https://<fqdn for your component>:38080/baoocp or <https://url-to-AO-Load-Balancer>
--notify-url <https://<fqdn for your component>:38080/baoocp
--web-app-logout-uri "/logout"
--container-base-dir "C:\Program Files\BMC Software\BAO\OCP\tomcat"
--admin-name amadmin --admin-pwd <sso admin password>
--jvm-truststore "C:\Program Files\BMC Software\BAO\OCP\jvm\lib\security\cacerts"
--jvm-truststore-password changeit
--truststore "C:\Program Files\BMC Software\BAO\OCP\tomcat\conf\.keystore"
--truststore-password changeit- Restart BMC Atrium Orchestrator peers.
Registration command parameters
Parameter | Definition | Required |
---|---|---|
container-type | Type of Web server used to host BMC Atrium Orchestrator. | Yes |
atrium-sso-url | Address of the Atrium SSO instance. | Yes |
web-app-url | Address of BMC Atrium Orchestrator or of the load balancer. | Yes |
web-app-logout-uri | The URL where the application is directed upon user logout. | Yes |
container-base-dir | The Web server home directory. | Yes |
admin-name | The SSO admin user name. | Yes |
admin-pwd | The SSO admin password. | Yes |
jvm-truststore | The truststore location. | Yes |
jvm-truststore-password | The truststore password. | Yes |
not-enforced-uri-file | The file that Atrium SSO uses to store the data that goes in its NotEnforcedURI table. | Required for the repository. |
notify-url | The BMC Atrium Orchestrator address if web-app-url specifies a load balancer. | Required if web-app-url specifies a load balancer. |
Registering agents on a new BMC Atrium Single Sign-On server
If you are registering agents on a new BMC Atrium Single Sign-On server, you must manually edit the context.xml file in the repository directory to point to the new BMC Atrium Single Sign-On server URL.
To change the BMC Atrium Single Sign-On URL:
- Go to <AO_HOME>/tomcat/conf/context.xml.
- Look for the com.bmc.ao.sso.ATRIUM_SSO_SERVER_URL property and provide the URL to the BMC Atrium Single Sign-On server, which you want to connect to the repository.
For more information, see Knowledge Base article KA000029966.
Checking that the CDP can communicate with BMC Atrium Single Sign-On
The CDP should be able to communicate with BMC Atrium Single Sign-On if the SSO port is accessible. You can use telenet to check the port connection.
The telenet command format is similar to the following:
For more information about using telenet, see Using telnet to check port access
Problem starting BAO when BAO and Atrium SSO are installed on the same server
If BAO and Atrium SSO are installed on the same server and BAO fails to start, ensure that the Atrium SSO service is running before starting the BAO service.
- Start the Atrium SSO service (see Starting-and-stopping-product-components-and-services).
- Log into the Atrium SSO console to ensure that it is running.
- Start the BAO service (see Starting-and-stopping-product-components-and-services).
- Log into BAO (see Logging-into-Grid-Manager-and-Repository-Manager).
BMC Atrium Orchestrator peer does not start after installation or BMC Atrium Orchestrator does not run properly
The symptoms may be that BAO fails to register with BMC Atrium Single Sign-On or that peers take several hours to start. This may be due to inadequate system entropy.
See the BMC Atrium Single Sign-On Prerequisites for installation page for more information. You can also find information in Knowledge Article Actions fail in Atrium Orchestrator due to low system entropy KA000066336.