Setting up the integration between BMC Server Automation and BMC TrueSight Infrastructure Management


To integrate BMC Server Automation with Infrastructure Management, you must perform the following tasks:

  • Install and license the BMC Server Automation RSCD Agent on the BMC TrueSight Infrastructure Management Server. (For instructions, see the BMC Server Automation documentation). This is required only for the pw blade create packages command. RSCD agent is required by BladeLogic even for job execution.

Note

Licensing of RSCD agent is not required from BBSA 8.2. Automatic licensing happens.

To create a dedicated BMC Server Automation administrator user account for the BMC Server Automation Application Server 

  1. Create a new user for the BMC Server Automation Application Server.
  2. Assign that user to a single BLAdmins role. No other role must be assigned to this user.


    Warning

    You must create a dedicated user account with only a BLAdmins role for using the BMC Server Automation Application Server. No other role must be associated with this user account or the integration will fail.

To enable web services on the BMC Server Automation Application Server 

  1. Log on to the BMC Server Automation Application Server by using the BLAdmins account. 
  2. Start the BMC Server Automation Application Server Administration utility as appropriate for your operating system: 
    • For Windows, choose Start > Programs > BMC Software
      > BMC BladeLogic Server Automation Suite > Utilities > Application Server Administration.
    • For UNIX, Access the /opt/bmc/bladelogic/NSH/br directory. From the command line, enter blasadmin.
  3. From the Application Server Administration utility, run the following command:

    set AppServer EnableTomcatService true
  4. (Optional) To configure the registration of web services in the BMC Atrium UDDI Server, enter the following commands: 

    • set WebServices RegistryServer //registryServerHostName //

      {{id name="SettinguptheintegrationbetweenBMCServerAutomationandBMCTrueSightInfrastructureManagement-p68"/}}
    • set WebServices RegistryServerPort registryServerPort
    • set WebServices RegistryServerUserName registryServerUserName
    • set WebServices RegistryServerPassword registryServerPassword

      The default Registry Server port is 8080.

To set up credentials with the UDDI registry on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation from Infrastructure Management 

  1. Log on to the BMC TrueSight Infrastructure Management Server as administrator. 
  2. Access a command line and enter: 

    pw blade setup -use_uddi -uddiuser uddiUserName -uddipass uddiPassword -host hostName[-port portNumber] -user userName -pass password

    pw blade setup with UDDI registry command option descriptions

    Option

    Description

    -use_uddi

    Specifies to use the UDDI registry to obtain BMC Server Automation web services host and port information

    -uddiuser uddiUserName

    User name to connect to UDDI server

    -uddipass uddiPassword

    Password to connect to UDDI server

    -host hostName

    Host name or IP address of the UDDI server

    -port portNumber

    Port number of the UDDI server

    -user userName

    User name to connect to the BMC Server Automation Application Server
    Note: This must be the user account created for the BLAdmins role.

    -pass password

    Password to connect to the BMC Server Automation Application Server

     

    For examplepw blade setup -use_uddi -uddiuser udaman -uddipass uopensesame -host server.domain.com -port 8080 -user pronet -pass opensesame
    If the connection is successful, a message Info: Connection to BladeLogic server succeeded. is displayed.

  3. Follow the appropriate instructions based on the return code that you receive: 
    • If the command returns 0, the credentials were created successfully. You can now test your credentials on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation.
    • If the command returns 1, there is a syntax error. Reenter the pw blade setup command.
    • If the command returns a number other than 0 or 1, an execution error has occurred. An error message is displayed indicating which error occurred.

To set up credentials without the UDDI registry on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation from Infrastructure Management 

  1. Log on to the BMC TrueSight Infrastructure Management Server as administrator. 
  2. Access a command line and enter:

    pw blade setup -hosthostName [-portportNumber] -useruserName-passpassword

    pw blade setup without UDDI registry command option descriptions

    Option

    Description

    -host hostName

    Host name or IP address of the application server hosting BMC Server Automation Web Services

    -port portNumber

    Port number of the BMC Server Automation Web Services

    -user userName

    User name to connect to the BMC Server Automation Application Server
    Note: This must be the user account created for the BLAdmins role.

    -pass password

    Password to connect to the BMC Server Automation Application Server

     

    For example, pw blade setup -host server.domain.com -port 9843 -user pronet -pass opensesame
    If the connection is successful, a message Info: Connection to BladeLogic server succeeded is displayed.

  3. Follow the appropriate instructions based on the return code that you receive:
    • If the command returns 0, the credentials were created successfully. You can now test your credentials on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation.
    • If the command returns 1, there is a syntax error. Re-enter the pw blade setup connection command correctly.
    • If the command returns a number other than 0 or 1, an execution error has occurred. An error message is displayed indicating which error occurred.

To test your credentials on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation 

  1. Log on to the BMC TrueSight Infrastructure Management Server as administrator. 
  2.  Access a command line and enter the pw blade test command. 

    If the connection is successful, a message Info: Connection to BladeLogic server succeeded. is displayed.
    If the connection is unsuccessful, a message Error: BladeLogic connection information has not been setup. is displayed.

  3.  Follow the appropriate instructions based on the return code that you receive: 
    • If the command returns 0, then the credentials that you set up are working correctly. If desired, you can now To create packages to deploy local agents from the BMC TrueSight Infrastructure Management Server to BMC Server Automation managed systems.
    • If the command returns 1, there is a syntax error. Reenter the pw blade test connection command.
    • If the command returns a number other than 0 or 1, an execution error has occurred. An error message is displayed indicating which error occurred. Depending on the error message displayed, you may need to clear the connection to BMC Server Automation that you created on the BMC TrueSight Infrastructure Management Server and set up credentials with the UDDI registry on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation from Infrastructure Management again.

To clear the connection to BMC Server Automation that you created on the BMC TrueSight Infrastructure Management Server 

  1. Log on to the BMC TrueSight Infrastructure Management Server as administrator. 
  2. Access a command line and enter: pw blade clear connection Unknown macro: confluence_id. Click on this message for details.

    If the connection is successful, a message {{code language="none"}}
    Info: Clearing of BMC BladeLogic connection information succeeded.
    {{/code}}
    is displayed. If the connection is unsuccessful, a message {{code language="none"}}
    Warning: BladeLogic connection information has not been setup. Warning: Clearing of BladeLogic connection information failed.
    {{/code}}
    is displayed.
  3. Follow the appropriate instructions based on the return code that you receive: 
    • If the command returns 0, the credentials that you set up are no longer available. If desired, you can set up credentials with the UDDI registry on the BMC TrueSight Infrastructure Management Server for accessing BMC Server Automation from Infrastructure Management from a different user.
    • If the command returns 1, there is a syntax error. Reenter the pw blade clear connection command.
    • If the command returns a number other than 0 or 1, an execution error has occurred. An error message is displayed indicating which error occurred.

Note

You can set up the BMC Server Automation integration while installing the BMC TrueSight Infrastructure Management Server. For more information about installing the BMC TrueSight Infrastructure Management Server, see Integrating Infrastructure Management with BMC Server Automation.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*