If you have no access to Tivoli® Enterprise
Portal Server or Tivoli Enterprise
Portal, you can use the command line interface to import XML files
to the configuration database, export resource configurations to XML
files, and trigger on-demand scheduled actions.
The command line interface function (referred to as the MCCLI function
hereafter) is a standalone program that is designed to assist users
who has no access to Tivoli Enterprise
Portal Server or Tivoli Enterprise
Portal to do the following things:
- Import XML files to the configuration database
- Export resource configurations to XML files
- Trigger on-demand scheduled actions
The MCCLI function consists of the following commands that are
available on Windows, Linux, and UNIX systems:
- MCExport, which is used to export configurations
of resources from the configuration database to an XML file.
- MCImport, which is used to import an XML file
to the configuration database.
- MCRunSchedule, which is used to trigger on-demand
scheduled actions.
Important: You can use the function to update the resource
definitions in the configuration database by first exporting them
to an XML file and then importing the XML file after modification.
Because this process uses the resource name to identify the resource
that will be updated in the configuration database, you must ensure
the name of the resource you want to operate (both the resolved and
unresolved name if the resource uses a symbolic variable in its name)
is unique in the configuration database when using this function.
The MCCLI program is provided in the
MCCLI directory
of the product installation CD. Copy the content of the directory
to the system where you want to use the MCCLI commands. Different
files are provided for the MCCLI commands. The
.sh files
apply to UNIX and Linux systems, and the
.bat files
apply to Windows systems.
To run the commands, navigate to the directory where you save the
.sh files
or
.bat files, and run the corresponding file.
Remember: Java™ version
1.4.2 or later is required for the MCCLI function.