Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Creating a BLPackage for adding local users in IBM Bluemix Infrastructure

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 that are used by the service blueprint.

For general information about 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 you create a BLPackage Deploy Job for adding new users, you create the user and then set the password in the Local Properties of the BLPackage definition. The following procedure shows how to create a user for installing a software package on a Linux or Windows machine image or OS.

  1. Create a UNIX user for the Linux Add User software package. 

    Note

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

  2. Create a UNIX password for the UNIX_USER property that you just defined. 

    Note

    In the UNIX_USER_PASSWORD property, the ?? characters before and after the property value indicate a variable, but the property value that you enter is actually 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 the BLPackage Deploy job from the Jobs > CSM_Applications folder to the specified BMC Cloud Lifecycle Management server.
  1. Create a Windows user and password for the Windows Add User software package. 

    Note

    In the WINDOWS_USER property, the ?? characters before and after the property value indicate a variable, but the property value that you enter is actually WINDOWS_USER. The blueprint parameter name must match this property name.

    In the WINDOWS_USER_PASSWORD property, the ?? characters before and after the property value indicate a variable, but the property value that you enter is actually WINDOWS_USER_PASSWORD. The blueprint parameter name must match this property name.

  2. Create Add user to Group command to add the user to the Windows Administrator Group

     

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

For more information, see Parameterizing BLPackages by adding local properties or Publishing the Product Catalog.

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 that you defined in the BLPackage definition. Specify these parameters for the BLPackage that you created.

  1. In BMC Cloud Lifecycle Management, access the Service Blueprint for your IBM Bluemix Infrastructure (formerly IBM SoftLayer) instance, and then select the application component.
  2. On the Software Packages tab, look through the list of BladeLogic package types for the type to which you want to add parameters. 
  3. Select the BladeLogic package type, and click OK.
  4. Click the Parameter tab, and then click Add Parameter icon.
  5. Specify the UNIX_USER parameter, and click OK


    Note

    If you are installing the software on the Windows OS, add the parameter as WINDOWS_USER.

  6. Similarly, add the UNIX_USER_PASSWORD parameter, and click OK.  


    Note

    If you are installing the software on the Windows OS, add the parameter as WINDOWS_USER_PASSWORD. 

  7. To add other users to the software package, perform the following actions:
    1. Repeat the process of creating BLPackages with user name and password properties in BMC Server Automation.
    2. Assign matching blueprint parameters in BMC Cloud Lifecycle Management.

Where to go from here

Building service blueprints for IBM SoftLayer service

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.

Comments