If a system from which BMC BladeLogic Configuration Manager deploys software is available on the network and you have installed an EPI agent to interact with it, software can be deployed from it directly to newly provisioned machines. The requesting user can select which software to deploy or the blueprint can contain the specific jobs to be deployed on all machines provisioned from that blueprint.

Prerequisites

  • Install an EPI Agent for BMC BladeLogic.

  • Log in to the vRealize Automation EPI/BMC Agent host as a system administrator.

  • As the system administrator under which the EPI agent is running, log in to the BladeLogic console to configure the authentication profile to be used and to accept any BladeLogic security certificates, and then close the console. This prerequisite is required only once.

Procedure

  1. Select Start > Administrative Tools > Services, and stop the vRealize Automation EPI/BMC Agent service.
  2. On the EPI agent installation host, which could be the same as the Manager Service host, change to the EPI agent installation directory, typically %SystemDrive%\Program Files (x86)\VMware\vCAC Agents\agent_name.
  3. Edit every file in the Scripts\nsh folder in the EPI agent directory and under the parameter list section of each .nsh file, update the values for the following variables. The description of each variable appears above the variable definitions.

    USERNAME_USER=BLAdmin

    AUTH_TYPE=SRP

    PASSWORD_USER=password

    APP_SERVER_HOST=bladelogic.dynamicops.local

    ROLE_NAME=BLAdmins

  4. Edit the agent configuration file, VRMAgent.exe.config, in the EPI agent installation directory and replace CitrixProvisioningUnregister.ps1 with DecomMachine.ps1.
    1. Locate the following line.
      <DynamicOps.Vrm.Agent.EpiPowerShell
        registerScript="CitrixProvisioningRegister. ps1"
        unregisterScript="CitrixProvisioningUnregister.ps1"/>
    2. Change the line to match the following line.
      <DynamicOps.Vrm.Agent.EpiPowerShell
        registerScript="CitrixProvisioningRegister. ps1"
        unregisterScript="DecomMachine.ps1"/>
  5. If you intend to provision by cloning with a static IP address assignment, you can enable BMC BladeLogic registration of provisioned machines by IP address rather than by machine name.
    1. Edit the files InstallSoftware.ps1 and DecomMachine.ps1 in theScripts folder in the EPI agent directory and change the line $byip=$false to $byip=$true. edit the files InstallSoftware.ps1 and DecomMachine.ps1 in the Scripts folder in the EPI agent directory and change the line $byip=$false to $byip=$true.
    2. If you enable registration by IP address by making the above change, you must provision by using static IP address assignment, otherwise, BMC BladeLogic integration fails.
  6. Select Start > Administrative Tools > Services to start the EPI/BMC agent service (vRealize Automation Agent – agentname service).
  7. Place all the BMC BladeLogic jobs you want available to be selected by machine requestors or specified by blueprint architects under a single location within BMC BladeLogic Configuration Manager, for example, /Utility.
  8. Prepare a reference machine and convert it to a template for cloning.
    1. Install a BMC BladeLogic agent that points to the server on which BMC BladeLogic Configuration Manager is running.
    2. Verify that you are able to connect to the agent on the guest and successfully execute jobs as expected after provisioning.

Results

Tenant administrators and business group managers can now integrate BMC BladeLogic into clone blueprints. See Add BMC BladeLogic Integration to a Blueprint.