Steps to connect the Domain Managers (AMPM , NPM ..etc) to SAM or OI Domains via CLI
All Supported Smarts versions
In this example, we will learn to import INCHARGE-DOMAIN-NAME of type INCHARGE-AM-PM-SUITE.
Note: These parameters are user-specific and one may modify these according to their requirements
./sm_config -s <SAM/OI Domain> export -k <Domain>.xml
NOTE: The OI domain configuration is placed under the path: SAM/smarts/local/conf/icoi/ and SAM domain configuration is placed under the path: SAM/smarts/local/conf/ics
##Example output expected from this: XML data exported to : /<BaseDir>/smarts/local/conf/icoi/<Domain>.xml
<domaintype MinimumCertainty="0" SmoothingInterval="65" attachTime="6000" detachTime="1800" dxaConfFile="dxa-sysip.conf" enable="TRUE" name="INCHARGE-AM-PM-SUITE" timeOut="600" timeOutBE="-1" timeOutFE="-1" timestamp="<epoch time>">
<description>Domain type for AM, PM or AM-PM</description>
<!-- Pre-Existing Default Domain name INCHARGE-AM-PM-->
<domainname>INCHARGE-AM-PM</domainname>
<!-- To add a Domain Manager to type INCHARGE-AM-PM-SUITE -->
<!-- Start 1 -->
<domainname>INCHARGE-DOMAIN-NAME</domainname>
<!-- End 1 -->
</domaintype>
<!-- To add a Domain Manager -->
<!-- Start 2 -->
<domain autoTopoSyncEnabled="TRUE" domaintypename="INCHARGE-AM-PM-SUITE" enable="TRUE" name="INCHARGE-DOMAIN-NAME" timestamp="<Epoch time>">
<description>AM, PM or AM-PM domain</description>INCHARGE-DOMAIN-NAME
</domain>
<!-- End 2 -->
sm_config -s <SAM/OI Domain> import --force <Domain>.xml
dmctl -s <SAM/OI Domain> invoke DomainConfigHandler::Domain-ConfigHandler reconfigure
dmctl -s <SAM/OI Domain> geti GA_DaemonDriver | grep -i “INCHARGE-DOMAIN-NAME”
INCHARGE-DOMAIN-NAME_Event-Driver
INCHARGE-DOMAIN-NAME_Topo-Driver
To load the configuration on domain start-up instead of export / import functions, the default XML files to modify are :
Note: Please use sm_edit to modify the files accordingly.