Administrator Global Settings

Admin Client Utility can utilize the Global.xml file to hold parameters that are required for all commands.

By setting these values in the global, it eliminates the need to specify them each time you run the utility. The following command line parameters can be configured in the Global.xml file:
  • Service: the URL and service type of the Admin Client Utility service.
  • U: the user ID under which the utility changes are performed.
  • P: the password for the user ID.
  • KN: the Java keystore name.
  • KP: the Java keystore password.
  • TKN: the trusted Java keystore name.
  • TKP: the trusted Java keystore password.
You can configure the administrator global settings in the following steps:
  1. To edit the Global.xml file, you can use the following editors:
    • For Windows: Notepad
    • For UNIX: vi
  2. To add the service address and service type, locate the following lines in the Global.xml file.
    <!-- default service address -->
    <msg name="service" value=""/>
    <!-- servicetype (SOAP/REST) -->
    <msg name="servicetype" value="REST"/>
  3. Modify the value attribute to specify the location of your service.

    For example:

    <!--  default service address -->
    For SOAP:
    <msg name="service" value="https://YOUR.SERVER.HERE:8443/ContextName/control?view=services/new/AdministratorService"/> 
             
    For REST:
    <msg name="service" value="https://YOUR.SERVER.HERE:8443/ContextName/rest/admin/v<REST VERSION>"/>           
               
    Note: Make sure that the service address and service type details are added between double quotation marks (“ ").
  4. Repeat these changes for the user ID, password, keystore name, keystore password, trusted keystore, and trusted keystore password.

    For example:

    <!-- default user id -->
    <msg name="userid" value="USERID"/>
    <!-- default user pwd -->
    <msg name="userpwd" value="PASSWORD"/>
    <!-- the encrypted user password, if has value, will overwrite userpwd -->
    <msg name="encrypteduserpwd" value="9abe8f97ebf00295" />
    <!-- default java keystore name -->
    <msg name="jksname" value="C:\keystore\cacerts"/>
    <!-- default java keystore password -->
    <msg name="jkspwd" value="changeit"/>
    <!-- encrypted java keystore password -->
    <msg name="encryptedjkspwd" value="48d938b0ba29fb4d0b47bb121441a37f"/>
    <!-- default trusted java keystore name -->
    <msg name="trustedjksname" value="C:\keystore\cacerts"/>
    <!-- default trusted java keystore password -->
    <msg name="trustedjkspwd" value="0a095e1e7ff74c8e8cdfc5e73ab442f4"/>
    <!-- encrypted trusted java keystore password -->
    <msg name="encryptedtrustedjkspwd" value=""/>
  5. If you do not want clear text passwords stored in the Global.xml file, you can use TIBCO MFT Command Center Config Utility to generate encrypted keys in this file.