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-job 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.

  1. In BMC Cloud Lifecycle Management, access the Service Blueprint for your Amazon EC2 instance, then go to the Service Definition > Components subtab, and select the component.
  2. Go to 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
  3. Select the BladeLogic package type, and click OK.
  4. Select the Service Definition > Parameter tab.
  5. Click the Add Parameter icon.
  6. Specify the UNIX_USER parameter. For example:

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

    param_unix_user_password.png
  8. 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*