pclassinfo
The pclassinfo
command performs the following task:
- Compare the service model class definitions on a specific cell or cells with the service model class definitions in the BMC Atrium CMDB and list the differences between them.
- Export the service model class definitions from the BMC Atrium CMDB.
pclassinfo syntax
pclassinfo <common options> [-n <cellName1>[,<cellName2>[...]] |-a | -x]
[-o <OutputFile>] [-s Description]
pclassinfo command options
The following table lists the options for pclassinfo
.
There are no required options for pclassinfo
.
pclassinfo options
Options | Description |
---|---|
| |
| Specifies to retrieve the service model classes from ALL the cells and compare them with the BMC Atrium CMDB service model classes |
| Specifies the specific cell or cells from which to retrieve the service model classes and compare them with the BMC Atrium CMDB service model classes |
| If the |
| Describe request |
| Exports service model class definitions from the BMC Atrium CMDB to standard output or if an output file ( |
pclassinfo examples
This section contains several examples of the pclassinfo
command including:
- Exporting service model class definitions from the BMC Atrium CMDB to standard output
- Exporting service model class definitions from the BMC Atrium CMDB to a file
- Comparing cell service model class definitions with those in the BMC Atrium CMDB
Exporting service model class definitions from the BMC Atrium CMDB
To export the service model class definitions in the BMC Atrium CMDB to standard output, enter the following command:
pclassinfo -x
This command generates a listing of the service model class definitions defined in the BMC Atrium CMDB and outputs it to standard output.
To export the service model class definitions in the BMC Atrium CMDB to a specific file, type the following command:
pclassinfo -x -o <fileName>
The service model class definitions are written to a BAROC file with the specified name. You can load this file on a cell.
Comparing cell service model class definitions with those in the BMC Atrium CMDB
To compare the service model class definitions in the pncell whose name is the short version of its host computer name (the default cell name) with the definitions in the BMC Atrium CMDB, type the following command:
pclassinfo -n <pncell_host>
If there are no differences between the service model class definitions on the cell and those defined in the BMC Atrium CMDB, the command returns an output similar to the following:
installationDirectory/pw/server\bin>pclassinfo
BMC Impact Service Model Class Retriever v9.5.00 (Build 241196772 - 20-May-2013)
Copyright 2005-2013 BMC Software, Inc. as an unpublished work. All rights reserved.
Class info is synchronized.
If there are differences between the service model class definitions on the cell and those defined in the BMC Atrium CMDB, the command returns the differences, which appear similar to the following:
installationDirectory/pw/server\bin>pclassinfo
BMC Impact Service Model Class Retriever v9.5.00 (Build 241196772 - 20-May-2013)
Copyright 2005-2013 BMC Software, Inc. as an unpublished work. All rights reserved.
-- BEGIN DIFFS --
<PreviewItem><Im>arwad</Im><SlotAdd><Class>BMC_BaseElement</Class><Slot>VersionNumber</CmdbSlot></SlotAdd></PreviewItem>
<PreviewItem><Im>arwad</Im><ClassAdd><CmdbClass>BMC_Region</CmdbClass></ClassAdd></PreviewItem>
-- END DIFFS --
Class info is not synchronized
To compare the service model class definitions in a specific cell with those defined in the BMC Atrium CMDB on Windows platforms, type the following command:
pclassinfo -n <cellName>
This command returns the differences, if there are any, between the service model class definitions on the cell named with those defined in the BMC Atrium CMDB.
To compare the service model class definitions for all the cells registered with the with those defined in the BMC Atrium CMDB, type the following command:
pclassinfo -a
This command returns the differences, if any, found between the classes defined in the BMC Atrium CMDB and the service model class definitions on all the cells found by the BMC Impact Publishing Server.
pclassinfo return codes
For information about CLI return codes, see Return codes for Publishing Server CLIs.
Comments
Log in or register to comment.