Creating a BLPackage for adding local users in IBM Bluemix Infrastructure
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 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.
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.
- In BMC Cloud Lifecycle Management, access the Service Blueprint for your IBM Bluemix Infrastructure (formerly IBM SoftLayer) instance, and then select the application component.
- On the Software Packages tab, look through the list of BladeLogic package types for the type to which you want to add parameters.
- Select the BladeLogic package type, and click OK.
- Click the Parameter tab, and then click Add Parameter icon.
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.
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.
- To add other users to the software package, perform the following actions:
- Repeat the process of creating BLPackages with user name and password properties in BMC Server Automation.
- Assign matching blueprint parameters in BMC Cloud Lifecycle Management.
Comments
Log in or register to comment.