Configuring the CMIC in Batch Mode

Depending on how you launched your instance, use the following table to determine whether you need to complete this procedure.
Ecosystem CloudFormation
No Yes

You must have the Server Management Administrative and Server Management REST passwords to complete this procedure.

When configuring CMIC in batch mode, you must provide information in JSON form. JSON requires data to be entered in an exact format, so review the format if you experience problems.

  1. From the AWS Web Console, note IP information as follows:
    • For CMIC instances, the Public IP address of each
    • For MPP Teradata Database instances, the secondary Private IP address of each database node
    • For single-node Teradata Database instances, the primary Private IP address of each database node
    • For the Teradata Viewpoint instance and other managed instances such as Teradata Data Mover and Teradata Ecosystem Manager, the Private IP address of each instance
  2. From your SSH client console, log on to the first CMIC instance as cmic using the applicable AWS key pair.
    # ssh -i  private-key-file  cmic@public-IP
    where:
    • The private-key-file is the private key file (.pem) of the AWS key pair specified when launching the instance.
    • The public-IP is public IP address of the CMIC instance.
  3. Create a JSON config file based on the current CMIC configuration.
    # sudo /opt/teradata/cmic/bin/cmic-cloud-config -d /tmp/cmic.cfg
  4. Using a text editor, make your changes to the config file, and save it.
    The cmic.cfg file is in the following format:
    {
      "cmic-metadata-version" : "2.0",
      "cmic-ip-list": "aa.aa.aa.aa bb.bb.bb.bb",
      "dbs-ip-list" : "[zzz.zz.zz.zzz zzz.zz.zz.yyy]",
      "managed-ip-list" : "xxx.xx.xx.yy yyy.yy.yy.yyy",
      "viewpoint-ip" : "xxx.xx.xx.xxx",
      "sm-admin-password" : "",
      "sm-rest-password" : "",
      "siteid" : "AWSSITEID"
    }
    
    where:
    • sm-admin-password is the Server Management Administrative password.
    • sm-rest-password is the Server Management REST password.
    • viewpoint-ip is the private IP address of the Viewpoint instance.
    • siteid is the Site ID to be used when connecting to Teradata. For more information, see Site IDs.
    • managed-ip-list is the list of private IP addresses of all the managed instances, such as Teradata Data Mover and Teradata Ecosystem Manager, separated by a space.
    • dbs-ip-list is the space-separated list of IP address values as follows:
      • For MPP Teradata Database instances, the secondary private IP address of each database node, enclosed in brackets.
      • For single-node Teradata Database instances, the primary private IP address of each database node, without brackets.
  5. Update the CMIC Configuration with the values in the file which completes the updates to the CMIC Configuration.
    # sudo /opt/teradata/cmic/bin/cmic-cloud-config -a /tmp/cfg.json
    After completing this procedure, you can configure the Server Management portlet on the Viewpoint server. See Configuring ServiceConnect and Alerts for Server Management.

results matching ""

    No results matching ""