How can the TIBCO EMS URL (for an EMS based Administrator domain) be changed via the command line?

book

Article ID: KB0088418

Products Versions
TIBCO Runtime Agent (TRA) -
Not Applicable -

Description

Resolution:
Can the TIBCO EMS URL can be changed for a EMS based TIBCO Admin domain via the command line? Example: From a Single Server to a Fault Tolerant URL, e.g., tcp://<servername>:7222, tcp://<servername>:7223 .


Resolution

= = = = =


You can use the ModifyEMSParamater.xml template found under <TRA_HOME>/version/template/domainutility/cmdline.
======================================
<?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">
    <ModifyRVParameters>
        <DomainName>eai_domain</DomainName>
        <AdministratorUsername>a</AdministratorUsername>
        <AdministratorPassword>a</AdministratorPassword>

        <ModifyEMSParameters>true</ModifyEMSParameters>

        <EMSParameters>
            <ServerURL>tcp://255.255.255.255:7222</ServerURL>
            <Username>user</Username>
            <Password>pwd</Password>
<!--            
            <SSL>
                <DoNotVerifyHost>false</DoNotVerifyHost>
                <TrustedCertificate></TrustedCertificate>
                <Identity></Identity>
                <PrivateKey></PrivateKey>
                <Password></Password>
                <DoNotVerifyHostname>false</DoNotVerifyHostname>
                <ExpectedHostname></ExpectedHostname>
                <CipherSuiteNames></CipherSuiteNames>
            </SSL>
-->             
        </EMSParameters>
    </ModifyRVParameters>
    </Task>
===================================

NOTE: For TRA 5.6.0 and earlier there are no default templates to modify the EMS Parameters via the command line. As a workaround, the ModifyRVparameter template can be used.


Issue/Introduction

How can the TIBCO EMS URL (for an EMS based Administrator domain) be changed via the command line?