To migrate the BMC Synthetic Transaction Execution Adapter (TEA) Agent, you can use a silent (unattended) installation, as described in this topic, or the installation wizard.

The following topics describe how to set up and run a silent migration:

Note

The migration procedure uses the same wizard as the installation. When migrating, you must make sure that the installLocation and tea_service_name match the existing values of your TEA Agent installation.


You can run the installation wizard to migrate more than one TEA Agent on a single computer. For each agent you must supply the specific agent installation directory and the unique agent name.

Before you begin

Note

 Multiple versions of TEA Agents are not supported on the same computer. Make sure to migrate all of them to the latest version.

Encrypting the password for silent installations

The Maintenance Tool enables you to encrypt a password. You must use encrypted passwords when you define properties for the silent installation so that the passwords are not exposed in the TEAAgent-silent-option.txt file.

You can run the Maintenance Tool in a GUI or from the command line.

To encrypt a password for a silent installation in a GUI

  1. Log on to the host computer as a user with administrator privileges.
  2. In the folder with the TEA Agent installation files, go to the Disk1\utility folder, and run the TEAAgentMaintenanceTool.cmd file.
  3. On the Encrypt tab, enter your password in the Password and Confirm Password fields and click Encrypt.
  4. Copy and paste the value from the Encrypted Password field to the TEAAgent-silent-option.txt file for your silent installation.

    For example, if the encrypted password output is DES\:d70cbe3669602717ce66af37cce7ecf0, modify the archive_password property as follows:

    -J archive_password=DES\:d70cbe3669602717ce66af37cce7ecf0

  5. Save the TEAAgent-silent-option.txt file.

To encrypt a password for a silent installation from the command line

  1. Log on to the host computer as a user with administrator privileges.
  2. Open a command prompt and navigate to the Disk1\utility folder (with the TEA Agent installation files).
  3. Run the following command, entering your password for the value of the -password and -confirm_password options. If the password contains special characters, enclose the value in quotation marks (for example, "myp@$$word").
    TEAAgentMaintenanceTool.cmd -silent -encrypt -encrypt -password="<password>" -confirm_password="<password>"
  4. Copy and paste the output to the TEAAgent-silent-option.txt file for your silent installation and save the file.
  5. Run the command for each required password.

Defining properties and running the silent installation

If you want to migrate more than one TEA Agent on the same computer, you must run the installation more than once. For each run, make sure that the installLocation and tea_service_name match the existing values of your TEA Agent installations.

To define properties and run the silent migration

  1. Log on to the host computer as a user with administrator privileges.
  2. From the Disk1 directory, open the TEAAgent-silent-option.txt file, the options file provided with the product installer.

  3. Make sure that installation directory path that you enter in installLocation matches the value for your existing TEA Agent installation.

  4. Enter a name for the tea_service_nameMake sure that the value for tea_service_name that you enter matches the existing value of your existing TEA Agent installation. If you don't know the name of your TEA Agent or if it was automatically generated, you can retrieve the value from the agent_configuration.xml file in the installation directory\TEAAgent\WorkingFolder\Conf directory.
    Make sure that the auto_generated_tea_service_name parameter is set to false

     

    Example

    Example of an automatically generated TEA Agent name:
    0be49679-f1da-4149-b9b7-ec8542a07f8b
  5. Enter or edit the values for the following properties. See descriptions below:

    Ensure that all passwords are encrypted, as described above. 

    -J agent_group_name=
    -J archive_password=
    -J archive_confirm_password=
    -J portal_host_name=
    -J portal_port=8100
    -J proxy_host_name=
    -J proxy_port=
    -J proxy_type=0

    Installation parameterDescription

    Agent Group Name

    Agent Group name to which the Agent will be associated.

    If the Agent Group name already exists in the system, the Agent is associated with that group. If the Agent Group name does not exist, a new group is created.

    Archive Password

    Password to extract data from archived files in the execution logs.

    When a TEA Agent executes an Execution Plan, a local results file and related files are archived in a secure zip file that is protected with this password. The password uses Triple-DES encryption in ECB mode (DES_ecb3_encrypt).

    Note: You can set a different results archive password for each TEA Agent, or use the same password.

    Archive Confirm PasswordEnter the password again.

    Portal Host Name

    Host name or IP address of the App Visibility Portal computer

    Portal Port

    Port number for the App Visibility Portal
    The default port is 8100.
    Proxy Host NameHost name or IP address of the proxy server your agent uses to communicate.
    Proxy PortPort number of the proxy server your agent uses to communicate.
    Proxy TypeIf you are connecting to the Portal using a proxy server, this sets the type of proxy server. Possible values are as follows:
    • 0 - No proxy. This is the default value.
    • 1 - HTTP proxy
    • 2 - SOCKS proxy

  6. Save the TEAAgent-silent-option.txt file.
  7. From the directory where the installer file is stored, open a command prompt and run the silent migration using the following command:

    setup.exe -i silent -DOPTIONS_FILE="<filePath>\TEAAgent-silent-option.txt"

    The <filePath> is the full location of the options file.

    Example

    setup.exe -i silent -DOPTIONS_FILE="C:\temp\Disk1\utility\TEAAgent-silent-option.txt"

To verify that the TEA Agent installation was successful

  1. Using Windows Administration Tools to view local services, ensure that the service for the BMC TEA Agent is running. 
    If the service is not running, check in the BMCTEAAgent_upgrade_log.txt file (located in the %temp% directory) for warnings or errors.
  2. Log on to the Presentation Server with Administrator access.
  3. From the navigation menu, select Administration > App Visibility Agents.
  4. Ensure that your installed Agent is listed in the table and that the Agent status is Online.

Where to go from here

After you install the BMC Transaction Execution Adapter Agent, the service automatically starts and the Agent is automatically registered by the Presentation Server. The Agent is ready to receive configuration information.

 

Was this page helpful? Yes No Submitting... Thank you
© Copyright 2013-2015 BMC Software, Inc.
© Copyright 2013-2015 BladeLogic, Inc.
Legal notices