.In this post, I am going to explain how to add an EMS server to a domain. Before we going to start we need to get the below details.

  1. Path to the tibemd executable file
  2. The path to tibemsd.conf file
  3. EMS Version

Linux

In Linux server, we are using<TIBCO-HOME>/tra/<version>/bin/domainutilitycmd the command with following options.

<TIBCO-HOME>/tra/<version>/bin/domainutilitycmd 
            --propFile <TIBCO-HOME>/tra/<version>/bin/domainutilitycmd.tra 
            -cmdFile <PATH>/AddJMSServer.xml 
            -domain <DOMAIN-NAME>
            -usr <user> -pwd <password> -v

AddJMSServer.xml is the command file which has the EMS server details. The template file will be available under. <TIBCO-HOME>/tra/<version>/template/domainutility/cmdline/ Please note that we don’t need to Domain details as I am passing it through the command above. Even those field has some values it will get override with the values in the command.

<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Turbo XML.-->
<Task xmlns="http://www.tibco.com/domainutility/commandline" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <AddJMSServer>
                <DomainName>[DOMAIN-NAME]</DomainName>
                <!--username and password values are optional and overridden if already set through the command-line-->
                <AdministratorUsername>a</AdministratorUsername>
                <AdministratorPassword>a</AdministratorPassword>
                <MachineName>[EMS-SERVER-NAME]</MachineName>
                <JMSPort>[PORT]</JMSPort>
                <JMSVersion>[VERSION]</JMSVersion>
                <JMSExecutable>[TIBCO-HOME]/ems/8.4/bin/tibemsd</JMSExecutable>
                <JMSConfigFile>[PATH]/tibemsd.conf</JMSConfigFile>
                <JMSUserName>[EMS-USER]</JMSUserName>
                <JMSPassword>{EMS-PASSWORD]</JMSPassword>
                <TestJMSConnection>false</TestJMSConnection>
        </AddJMSServer>
</Task>

Run the above command from the EMS server,  and you can see the below lines on the screen

Starting command line execution….
Executing task: AddJMSServer
Task completed successfully.

You can get more details on the execution from the domainutility.log which is available under. /opt/tibco/tra/5.10/logs/domainutility.log it will have the below entries for successful execution.

[DomainUtility] AESDKJ-0000 Starting command line execution….
[DomainUtility] AESDKJ-0000 Executing task: AddJMSServer
[DomainUtility] AESDKJ-0000 Validating credentials
[DomainUtility] AESDKJ-0000 Adding EMS server to domain “[DOMAIN]”
[DomainUtility] AESDKJ-0000 Task completed successfully.

Windows

Execute the DomainUtility under.<tibco installation Directory>/tra/<version>/bin You will get the below screen. Select TIBCO EMS Plugin -> Add TIBCO EMS Server and Click Next.

You need to select the Domain name from the list were you want to add the EMS server and click Next. It will show you the server details as in below image. You don’t need to change anything here and click Next.

Now you need to provide the EMS server details like below. Please be select the correct tibemsd.conf file location. Usually, it will be under C:ProgramDataTIBCO_HOMEtibcocfgmgmtemsdata Once you enter the details click Next. You can test the connection to the EMS server in next screen.

Click OK and Next. If the server added to the DOMAIN successfully you will get the below screen.

Now login to your administrator domain and click on all service instance. You will be able to see newly added EMS server.

Click on the running instance and confirm you are able to see the General tab for the EMS server. If you don’t see the general tab in Admin GUI read The General tab of EMS (Enterprise Message Service) instance in the TIBCO Administrator GUI is missing -[SOLVED] to fix it.

Hope this helps you guys. Let me know your feedback and queries in the comment section.

Leave a Reply

Your email address will not be published. Required fields are marked *