Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Creating a BLPackage for adding local users


Unknown macro: confluence_imagemap. Click on this message for details.

A BLPackage is a collection of server assets, software packages, and an XML instruction set. The BLPackage includes parameterized property values, such as local user and password, among its server assets. The parameterized property values match the blueprint parameters used by the service blueprint.

For general information on creating a BLPackage Deploy Job, see Creating-and-modifying-Software-and-BLPackage-Deploy-Jobs.

To add local properties to the BLPackage

In BMC Server Automation, when creating a BLPackage Deploy Job for adding new users, you create the user and set the password in the Local Properties of the BLPackage definition. In this example, we create a UNIX user for a Create Linux User software package.

  1. Create a UNIX user for the Create Linux User software package. For example:

    blpackage_create_linux_user_1.png

    Note

    You designate the UNIX_USER property. (The ?? characters before and after the property value indicate a variable, but the property value that you enter is UNIX_USER.) The blueprint parameter name must match this property name.

  2. Create a UNIX password for the UNIX_USER property you just defined. For example:

    blpackage_create_linux_user_2.png

    Note

    You designate the UNIX_USER_PASSWORD property. (The ?? characters before and after the property value indicate a variable, but the property value you enter is UNIX_USER_PASSWORD.) The blueprint parameter name must match this property name.

  3. After you create the BLPackage, create a BLPackage Deploy Job.
  4. Publish a BLPackage Deploy job from the Jobs > CSM_Applications folder to the specified BMC Cloud Lifecycle Management server.

    See Parameterizing-BLPackages-by-adding-local-properties and Publishing-the-Product-Catalog for more information.

To add corresponding parameters to the service blueprint definition

After you publish the BLPackage to BMC Cloud Lifecycle Management, you can specify the blueprint parameters for the property values you defined in the BLPackage definition. You specify these parameters for the package you created.

Note

When you select a BladeLogic package to be installed as part of a service blueprint definition, BMC Cloud Lifecycle Management deploys the package during provisioning. That process automatically enrolls the Amazon EC2 instance as one of the servers managed by BMC Server Automation. After performing this procedure, you can use BMC Server Automation to manage the Amazon EC2 instance.

  1. In BMC Cloud Lifecycle Management, use the Service Blueprints workspace to access the service blueprint for your Amazon EC2 instance. 
  2. Select the Service Definition > Components subtab, select the component, and then select Edit Component EditIconBlue.gif.
  3. Select the Software Packages tab and scan the list of BladeLogic package types for the one to which you want to add the parameters.

    ec2_deploy_blpackage_blueprint.png
  4. Select the BladeLogic package, and click Add. Then, click OK.
  5. On the Service Blueprint Definition page, select the Service Definition > Parameter subtab.
  6. Click the Add Parameter icon.
  7. Specify the UNIX_USER parameter. For example:

    param_unix_user.png
  8. Specify the UNIX_USER_PASSWORD parameter. For example:

    param_unix_user_password.png
  9. To add other users to the software package, repeat this process of creating BLPackages with user name and password properties in BMC Server Automation, and then assign matching blueprint parameters in BMC Cloud Lifecycle Management.

 

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