Using a utility to convert text service and group definitions to XML
You can use a topology export utility
to convert text-format service and group definitions to XML-format definitions and write the definitions to an XML service-group import datafile. The final location of this XML service-group import datafile must be the
BASEDIR
/smarts/local/conf/ics
directory in the installation area.To automatically convert text service and group definitions to XML:
- Consult “Specifying text or XML datafiles” on page 85 and select the text service and group import datafiles that you want to convert to XML.
- Consult “Reloading service and group elements” on page 92 and load the topology elements defined in the import datafiles selected in step 1 .
- In the installation area from which the sourceGlobal Manageris invoked, go to theBASEDIR/smarts/bin directory and type the following command on one line:dmctl -s<Global Manager name>invokeICS_ConfigurationManager::ICS-ConfigurationManagerexportConfigFor BIM_Topology ><BASEDIR/smarts/local/conf/ics/name of XML datafile into whichto write the service-group definitions>dmctl -s <INCHARGE-SA> invokeICS_ConfigurationManager::ICS-ConfigurationManagerexportConfigFor BIM_Topology >/opt/InCharge/SAM/smarts/local/conf/ics/service-group-data.xml
- If prompted for a username and password, specify your user account; for example, to specify the default administrative account, type usernameadminand passwordchangeme.If you want to convert text-format weight definitions to XML-format definitions and save the definitions to theBASEDIR/smarts/local/conf/ics/weights-conf.xml import datafile, you can do so manually by following the classweightconfig format defined in the bim-config.dtd.