Configuring the CMIC in Batch Mode

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.

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

  1. From the Azure portal, note IP information as follows:
    • For the CMIC VM, the public IP address
    • For MPP Teradata Database systems, the private IP address of each database node
    • For single-node Teradata Database systems, the private IP address of each database node
    • For the Teradata Viewpoint VM and other managed VMs such as Teradata Data Mover and Teradata Ecosystem Manager, the private IP address of each VM
  2. From the SSH client console, connect to the VM by logging on to the Server Management VM using the same authentication type you chose when you deployed the VM.
    Authentication type Action
    SSH public key Enter the following:
    # ssh -i ssh-private-key.pem azureuser@VM-public-IP-address or VM-public-DNS-address
    where:
    • The ssh-private-key is the private key file (.pem) specified when you deployed the VM.
    • The azureuser is the user name specified when you deployed the VM.
    • The VM-public-IP-address or VM-public-DNS-address is the DNS host name or public IP address of the Server Management VM.
    Password Enter the following:
    # ssh azureuser@VM-public-IP-address or VM-public-DNS-address
    Password: password
    where:
    • The azureuser is the user name specified when you deployed the VM.
    • The VM-public-IP-address or VM-public-DNS-address is the DNS host name or public IP address of the VM.
    • The password is the password specified when you deployed the VM.
  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": "AZRTDBnnnnnnnnn", 
    }
    
    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 VM.
    • siteid is the site ID to be used when connecting to Teradata. See Site IDs.
    • managed-ip-list is the list of private IP addresses of all the managed VMs, 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.
  5. Update the CMIC configuration with the values in the file, which finishes the updates to the CMIC configuration.
    # sudo /opt/teradata/cmic/bin/cmic-cloud-config -f /tmp/cmic.cfg
    After completing this procedure, you can configure the Server Management portlet on the Viewpoint server. See Configuring Alerts for Server Management. Base, Advanced, and Enterprise tier users, see Configuring ServiceConnect for Server Management.

results matching ""

    No results matching ""