Written By: |
Carly Larkins |
---|---|
Manufacturer: |
Avaya |
Product: |
Session Manager |
Version: |
|
Patch Information: |
|
Ticket Number(s): |
Description:
The initTM command initializes the Avaya Session Manager Trust Management. An initial trust needs to be established between Avaya Aura System Manager and Avaya Aura Session Manager for the servers to communicate and synchronize data between each other. This is a crucial step during the configuration of an Avaya Session Manager.
This command is run during installation and again if the Avaya System Manager is changed or re-installed and the enrollment password needs to be updated.
The initTM command is service impacting, Session Manager will stop!
Below are options and output from the Avaya Session Manager Lab at intlx Solutions:
[cust@lab1-asm bin]$ initTM Trust Management Initialization started. Trust already established, skipping Configuring WebSphere trust settings Successfully wrote certificate chain to file /opt/Avaya/asset/...
packages/active-version/etc/cert/servers/http-unique.pem Trust Management initialization completed successfully.
Once the initTM command has succeeded, it will automatically run the initDRS command which will attempt to initialize the database configuration for this Session Manager from System Manager. It is key that the System Manager and Session Manager servers can resolve their respective host names through DNS or their hosts files.
09:31:38 EST 2017: DRS Replication initialization started.
.........
Unconfiguring DRS client
Executing # Dropping DRS schema from swap database
SUCCESS # Dropping DRS schema from swap database
Unregistering from DRS master
Node with external ID: 'lab1-asm.lab1.intlx-lab.com' successfully unregistered from its master.
Executing # Drop DRS schema and user
SUCCESS # Drop DRS schema and user
Successfully unconfigured DRS client
Executing # Creating DRS schema and user
SUCCESS # Creating DRS schema and user
Executing # Setting up secure-store for DB parameters
SUCCESS # Setting up secure-store for DB parameters
Configuring node as DRS replica
Checking whether DRS configuration exists
DRS not configured! Configuring ...
Executing # Configuring SymmetricDS pre-requisites
SUCCESS # Configuring SymmetricDS pre-requisites
Executing # Creating symmetric.properties
SUCCESS # Creating symmetric.properties
Executing # Creating replica DRS tables
SUCCESS # Creating replica DRS tables
Updating host-address and port required for JMX communication
Executing # Checking whether value entered for jmx-port is a numeric value or no t
SUCCESS # Checking whether value entered for jmx-port is a numeric value or not
Executing # Unzipping JMX configuration template
SUCCESS # Unzipping JMX configuration template
Executing # Updating JMX configuration template
SUCCESS # Updating JMX configuration template
Successfully updated host-address and port required for JMX communication
Executing # Updating JMX properties
SUCCESS # Updating JMX properties
Successfully configured node as DRS replica
Register replica node with System Manager DRS master started. [1/1]
Sending configurations to master node
Successfully sent aggregated configuration to master node
Executing # Sending registration information to DRS master
SUCCESS # Sending registration information to DRS master
Register replica node with System Manager DRS master succeeded.
Starting Management
.
Waiting for Management components to startup...
Waiting for Management components to startup...
Waiting for Management components to startup...
Waiting for Management components to startup...
Waiting for Management components to startup...
Mon Jan 16 09:32:50 EST 2017: DRS Replication registration succeeded
Please go to the System Manager Replication Page to check the synchronization state
The initTM command also has some return codes that are used to give you more feedback once the command finishes running. In case you don’t have success when running the initTM command you can run the 'echo $?' command. The number you get back will be the response code from the initTM command.
Use the data below to determine what your initTM return status means:
0: Success
1: Could not connect to System Manager
2: Required process did not start
3: Unable to configure WebSphere
4: Unknown error occurred
5: Incorrect enrollment password
6: User choose not to install demo certificates
7: User choose not to run the force option
8: Invalid option
Example of checking your return code:
[cust@lab1-asm bin]$ initTM
Trust Management Initialization started.
Trust already established, skipping
Configuring WebSphere trust settings
Successfully wrote certificate chain to file /opt/Avaya/asset/...
packages/active-version/etc/cert/servers/http-unique.pem
Trust Management initialization completed successfully.
12:34:59 EST 2017: DRS Replication initialization started.
...........
...output abbreviated...
SUCCESS # Sending registration information to DRS master
Register replica node with System Manager DRS master succeeded.
[cust@lab1-asm bin]$ echo $?
0
[cust@lab1-asm bin]$
Disclaimer: intlx Solutions Knowledge Base
The information contained in this knowledge base ("Content") is provided for informational purposes only and is intended to be a general resource. intlx Solutions does not guarantee the accuracy, completeness, or timeliness of the Content.
Use at Your Own Risk: By accessing and using the Content, you agree that you do so at your own risk. intlx Solutions assumes no responsibility for any errors or omissions in the Content, nor for any damages or losses you may suffer arising out of or related to the use of the Content.
Current Customers: If you are a current intlx Solutions customer and have questions or require further clarification on any information presented here, please do not hesitate to contact our support team directly. They are available to assist you and ensure you have the most up-to-date information specific to your needs.
Not a Customer? If you are not currently an intlx Solutions customer but are interested in learning more about our solutions and how we can help your business, please click here. We look forward to the opportunity to discuss your needs and explore how a partnership with intlx Solutions can benefit you.
Thank you for your understanding.