Steps for disabling/enabling a domain subscription using the command line and GUI
search cancel

Steps for disabling/enabling a domain subscription using the command line and GUI

book

Article ID: 327751

calendar_today

Updated On:

Products

VMware Smart Assurance VMware Telco Cloud Service Assurance

Issue/Introduction

Overview of steps needed for disabling, and enabling, domain subscriptions. Both via the GUI and via CLI

Environment

SMARTS - 10.1.x

SMARTS - 2.X

TCSA - 2.X

Resolution

Steps needed for disabling/enabling Smarts SAM domain subscription via the GUI interface:

  • Load the  GMAC  for SAM, and select the  SAM Domain .
  • Select the IP server from the domains subscribed to SAM for which you want to disconnect.
  • Then disable that IP domain. 
  • After 10 minutes enable that domain.
  • Reconfigure the SAM server.

 

Steps needed for disabling/enabling Smarts SAM domain subscription via the command line:

 

  • A domain subscription in Smarts SAM can be enabled or disabled through the command line or a script using the enableConfig or disableConfig DMCTL command (see Note statement). The following is the syntax for the DMCTL command to do this (entered all on one line):
<BASEDIR>/SAM/smarts/bin/dmctl -s <SAM domainName>  invoke DomainConfigHandler::Domain-ConfigHandler [enableConfig|disableConfig] <Underlying domainName> <config_subtype>
  • config_subType should be one of the following types:
    • domainGroupConfigName = "DomainGroup";
    • domainConfigName = "Domain";
    • domainTagConfigName = "DomainTag";
    • domainTypeConfigName = "DomainType";
  • Examples:

    ./dmctl -s INCHARGE-SA invoke DomainConfigHandler::Domain-ConfigHandler disableConfig INCHARGE-AM-PM Domain
    ./dmctl -s INCHARGE-SA invoke DomainConfigHandler::Domain-ConfigHandler enableConfig INCHARGE-AM-PM Domain
    
    ./dmctl -s INCHARGE-SA invoke DomainConfigHandler::Domain-ConfigHandler disableConfig INCHARGE-MBIM Domain
    ./dmctl -s INCHARGE-SA invoke DomainConfigHandler::Domain-ConfigHandler enableConfig INCHARGE-MBIM Domain

IMPORTANT! After executing the above enable or disable command, you must run a reconfigure command on your Smarts SAM domain to apply the change in your environment. You can do this using the following command:

<BASEDIR>/SAM/smarts/bin/dmctl -s <SAM domainName>  invoke DomainConfigHandler::Domain-ConfigHandler reconfigure


 



Additional Information

This is not a way to set up a domain subscription.  The above solution assumes that you already have a domain configured in Smarts SAM and you just want to enable or disable the domain.  Domain subscriptions are setup using the Smarts Global Manager Admin Console. Instructions on how to set up a domain subscription are detailed in the Smarts SAM Configuration Guide.