Creating advanced publishing environments
Basic steps to create advanced test environments
Step | What to do | Additional reference |
---|---|---|
1. Determine the cells to use and create if necessary. | Determine the cells to use and create if necessary. | See BMC Impact Solutions Infrastructure Administration Guide |
2. Register any new cells in BMC Atrium Core Console (which automatically creates them in BMC Atrium CMDB). | See BMC Impact Solutions Infrastructure Administration Guide | |
3. Determine the source of the service model data (another environment or a BAROC source file). | Use the penv init parameter SourceBarocMgmtData . Create a BAROC source file. | |
4. Define the environment. | Execute a CLI command penv open | |
5. Enter the data in the BMC Atrium CMDB. | Execute a CLI command penv init | |
If cells are running, this initializes cells with this data. | ||
6. Publish the objects to the cell. | Execute a CLI command publish | |
7. Troubleshoot problems. | See Troubleshooting |
You use the CLI command penv
and the pclient.conf file to create, modify, and delete publishing environments. For more information about these topics, see the Infrastructure Management Command Line Interface Reference Guide.
In an Atrium CMDB Publish environment, the cell is automatically initialized with Product Short management data of the asset dataset of the environment when you execute the CLI command publish
.
Home cell and home cell alias
If all CIs and relationships are being published to one cell, you can assign a home cell by
- Defining it in the CLI command
penv
when you define the environment - Defining it after the environment is opened in a CLI command
penv
with the action commandset
If home cell is defined, cell aliases, as defined in the BMC Atrium CMDB, are ignored. All service model data in that environment is published to the cell specified in HomeCell
, even if HomeCellAlias
contains a cell alias that points to another cell.
Cell aliases
If you do not have home cell defined, then cell aliases are required. Using Remedy User or an API program, you must assign cell alias-to-cell name values (per environment) in the BMC Atrium CMDB form, PN:CellAliases.
- Set the attribute
EnvId
to the ID of the publishing environment - Set the attribute
CellAlias
to the alias - Set the attribute
CellName
to the name of a cell that is registered in BMC Atrium Core Console (registered in the PN:CellInformation form)
You can set a default cell by setting CellAlias to null. In this way, the attribute HomeCellAlias for individual CIs is not required to publish. If you create an instance in the BMC Atrium CMDB form, PN:CellAliases, like the following:
Environment | CellAlias | CellName |
---|---|---|
EnvId | Arwad |
then every CI in BMC.ASSET.EnvId that has no value in HomeCellAlias is published to the cell arwad.
Comments
Log in or register to comment.