Installing the Capacity Agent using the wizard

Where you are in the Installation process

StepTask
1Complete the planning activities
2Preparing for TrueSight Capacity Optimization installation
3Install Remedy Single Sign-On
4Install TrueSight Presentation Server
5Install TrueSight Capacity Optimization Application Server and ETL Engine
6Install TrueSight Capacity Optimization Gateway Server
7Install TrueSight Capacity Optimization Capacity Agent ( You are here )
8Complete the post-installation activities

You must install the Capacity Agent on each computer from which you want to collect data. You can install the Agent using one of the following settings:

  • Typical: Installs the Capacity Agent using the default settings, but you can customize the installation directory.
  • Custom: Enables you to customize the settings.

To perform a typical installation of the Capacity Agent

  1. Log in to the computer where you want to install the Capacity Agent.

    • (Windows) Log in as a user with administrator privileges.
    • (UNIX and Linux) Log in as a non-root user to view all the pages.
  2. Extract the Capacity Agent installer files to a temporary directory.

    • (Windows) Extract TSCO_Agent_<version>_MSwindows.zip
    • (UNIX and Linux) Run this command: tar -xvf TSCO_Agent_<version>_<operatingSystem>.tar
  3. (UNIX and Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately:
    export DISPLAY=<IP address of the computer>:0.0

  4. Run the installer:

    • (Windows) Run setup.exe from the windows_agent directory.
    • (UNIX and Linux) As a non-root user, run setup.sh from the linux_x86_agent directory.
  5. Review the welcome page, and click Next.

  6. Read the license agreement, agree to the terms, and click Next.

  7. Ensure that the Capacity Agent component is selected for installation, and click  Next.

  8. Ensure that Typical (use default settings) is selected, and click Next.

  9. Retain the default installation directory path, or change it, and click Next. Ensure that this directory has sufficient storage space.

    • (WindowsC:\Program Files\BMC Software\Patrol3
    • (UNIX and Linux) /opt/bmc/Patrol3


  10. (UNIX and Linux) Type the user name that you want to use for running the Agent. By default, the logged-in user name is displayed.
  11. Select a network protocol, and click Next.
  12. Review the installation summary, and click Install.
    A message confirming the completion of installation process is displayed.
  13. Click View log to view the installation log details on the screen.
  14. Click Done to exit the installation program.
  15. (UNIX and Linux) Run the following command as a root user to configure the Capacity Agent:

    1. Change to the root user.
    2. Change to the installation directory. The default is /opt/bmc/Patrol3.
    3. Run the following command:
      ./b1config<version>.sh

    where version indicates the version of the installed Capacity Agent.

  16. Verify that the installation is successful:

    • Verification steps for Windows:

       To verify the installation of the Capacity Agent
      1. On the computer where the Capacity Agent is installed, click Start > Settings > Control Panel.
      2. Double-click PATROL - Perform Agent.
      3. Verify that the status of the BGS_SDService service daemon is Running.
       To verify the installation of the environment variables
      1. Open the command prompt, and run the following command:
        echo %best1_home%

      2. Ensure that the following installation location is displayed:
        C:\Program Files\BMC Software\Patrol3\BEST1\NTC

       To verify data collection
      1. Click Start > All Programs > BMC Software > Collect Data.
      2. Click Start a collect process on a Console or Agent computer, and click Next.
      3. Select one of the following collection modes, and click Next.
        • Standard Mode: Transfers the collected data across a network from the target computers to the Gateway Server.
        • Secure Mode: Transfers the collected data locally.
        • Collect from a policy file: Transfers data from the computer names that are defined in a text file.
      4. If you selected Collect from a policy file, select the policy file, and click Next. You are directed to Step f.
      5. Specify one the following options to add the computers from which you want to collect data, and click Next.

        • Agent computers or network address: Type the names (host names or fully qualified domain names) or IP addresses of the computers on which you have installed Capacity Agents.
        • Optional name of Agent computer: Type the name of computer where the agent is installed. If the computer has identification other than its network name, type that name. For example, a computer with the network name 1on_subnet5 might be a mail server with an internal name emailC. The specified name appears as a directory name where the collected data is stored. For example, C:\Program Files\BMC Software\BEST1\NTC\History\emailC. The specified name appears as a directory name where the collected data is stored. For example, C:\Program Files\BMC Software\BEST1\NTC\History\emailC.

          If this field is left blank, the folder name in the collection repository takes the network name. For example, C:\Program Files\BMC Software\BEST1\NTC\History\1on_subnet5.

        • File with list of computers to collect: Specify the text file that contains the agent computer names from which you want to collect data.
      6. Type the path of the data collection directory on the agent and Gateway Server computers, and click Next.

        • Repository on the Console: Select the path to the data collection directory on the computer where the Gateway Server is installed.
        • Repository on the Agent: Select the path to the temporary repository on the computer where the agent is installed.
        • Select the action that must start after the data collection wizard is exited.
      7. Select the frequency for collecting and summarizing data, and click Next.
        • Collect data every: Specify the frequency at which the data collector must place the collected data in the memory. The default value is 10 seconds.
        • Summarize data every: Select the interval, in minutes, at which the Capacity Agent summarizes data and saves it in the repository.
      8. Specify one of the following data collection schedules, and click Next.
        • Begin immediately: Begins collection immediately after existing the wizard and stops after 24 hours.
        • Begin: Begins collection after the specified time and ends after the specified duration.
        • Begin and end by date and time: Starts and ends collection on the specified dates and at the specified times.
      9. Review the settings and click Finish.
      10. When the collection duration ends, confirm that the correct files are created in the following formats:
        • repository\computerName\date.time\type-of-stats\raw.udr
        • repository\computerName\date.time\type-of-stats\raw.lox
          (The default repository on the Gateway Server computer is C:\Program Files\BMC Software\Patrol3\NTC\history).

          The temporary default repository on the agent computer is C:\Program Files\BMC Software\Patrol3\BEST1version\History. This directory serves as a repository until the data is transferred to the Gateway Server computer.

    • Verification steps for Linux:

       To verify data collection
      1. To configure the BEST1_HOME environment variable, run the following commands:

        1. Change to the non-root user.
        2. Run the following commands:
          • For the Korn or Bourne shell:
            1. BEST1_HOME=usr/adm/best1_<version>
            2. export BEST1_HOME
          • For the C shell:
            setenv BEST1_HOME usr/adm/best1_<version>
            where version indicates the version of the installed product component.
      2. To test the connection to the Agent, run the following command:

        $BEST1_HOME/bgs/scripts/best1collect -n <targetHostName> -q

        The following example shows the result of running this command on the clm-pun-015565 system:

        [perform@clm-pun-032515 ~]$ $BEST1_HOME/bgs/scripts/best1collect -n clm-pun-015565 -q best1collect on clm-pun-032515: requesting Update Status on clm-pun-032515 ... Wed Mar 15 00:06:00 2017 Agent Query Request Starting(/usr/adm/best1_10.7.00/bgs/monitor/log/clm-pun-032515-bgsagent_6767.als) Collect Instance Node Started Started Name Name Name By On ------------ -------------- ---------- ---------- ----------------- ------------ -------------- ---------- ---------- ----------------- *Node: clm-pun-032515 has acknowledged Query request successfully.


      3. To initiate a data collection request, run the following command. Replace <nodeName> with the name of the system where you want to initiate the collection request.

        $BEST1_HOME/bgs/scripts/best1collect -n <nodeName> -e +15 -d /tmp -w 1

        The following example shows the result of running this command on the clm-pun-015565 system:

        [perform@clm-pun-032515 scripts]$ $BEST1_HOME/bgs/scripts/best1collect -n clm-pun-015565 -e +15 -d /tmp -w 1 best1collect on clm-pun-032515: requesting Start Collect on clm-pun-015565 ... best1collect requesting bgscollect start on clm-pun-015565... Tue Mar 14 22:30:04 2017 best1collect: Collect process with instance noInstance will be started on node clm-pun-015565. Specified data repository: /tmp. *Node: clm-pun-015565 has acknowledged Start request successfully. 
      4. To verify the status of data collection, run the following command:

        $BEST1_HOME/bgs/scripts/best1collect -n <nodeName> -Q

        The following example shows the result of running this command on the clm-pun-015565.bmc.com system:

        [perform@clm-pun-032515 scripts]$ $BEST1_HOME/bgs/scripts/best1collect -n clm-pun-015565.bmc.com -Q best1collect on clm-pun-032515: requesting Update Status on clm-pun-015565.bmc.com ... Tue Mar 14 22:35:50 2017 Agent Query Request Starting(/usr/adm/best1_10.7.00/bgs/monitor/log/clm-pun-015565-bgsagent_6767.als) Collect Instance Node Started Started Data Length Spill SampleState Config Active Active Term Term LagTime Name Name Name By On Repository HH:MM (Min) (Sec) Groups Data No Data Data No Data (Min) ------------ -------------- ---------- --------------------------- ----------------------------- ------ ----- ------------------------ ------ ------ ------- ---- ------- ------- SYSTEM noInstance clm-pun-015565 perform Mar-14-2017.22.30/tmp 0:15 15 10 UDR_WRITE_ACTIVE 46 19 2 0 25 0 ------------ -------------- ---------- --------------------------- ----------------------------- ------ ----- ------------------------ ------ ------ ------- ---- ------- ------- *Node: clm-pun-015565.bmc.com has acknowledged Query request successfully
      5. Verify that the Active Data parameter shows a value greater than 0, which indicates that the data collector is functioning as expected.

To perform a custom installation of the Capacity Agent

  1. Log in to the computer where you want to install the Capacity Agent.

    • (Windows) Log in as a user with administrator privileges.
    • (UNIX and Linux) Log in as a non-root user to view all the pages.
  2. Extract the Capacity Agent installer files to a temporary directory.

    • (Windows) Extract TSCO_Agent_<version>_MSwindows.zip
    • (UNIX and Linux) Run this command: tar -xvf TSCO_Agent_<version>_<operatingSystem>.tar
  3. (UNIX and Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately:
    export DISPLAY=<IP address of the computer>:0.0
  4. Run the installer:

    • (Windows) Run setup.exe from the windows_agent directory.
    • (UNIX and Linux) As a non-root user, run setup.sh from the linux_x86_agent directory.
  5. Review the welcome page, and click Next.
  6. Read the license agreement, agree to the terms, and click Next.
  7. Ensure that the Capacity Agent component is selected for installation, and click  Next.
  8. Select Custom (configure advanced features), and click Next.
  9. Retain the default installation directory path, or change it, and click Next. Ensure that this directory has sufficient storage space.

    • (WindowsC:\Program Files\BMC Software\Patrol3
    • (UNIX and Linux) /opt/bmc/Patrol3

  10. Select one of the following security levels, and click Next.
    • Basic: Maintains network communication between the Gateway Server and Capacity Agents. 
    • Advanced: Disables network communication between the Gateway Server and Capacity Agents. Use this security level when you want to initiate secure agent data collection. 
  11. (UNIX and Linux) Type the user name that you want to use for running the Agent. By default, the logged-in user name is displayed.
  12. If you selected Basic in the previous step, configure the following data collection parameters, and click Next:
    • (UNIX and Linux)  Capacity Optimization Agent: Type the port number to be used by the Capacity Agent. The default port is 6767.
    • (UNIX and Linux)  Status Reporting: Type the port number to be used for status reporting. The default port is 6768.
    • History Data Repository: Retain the default directory path to save the historical data or type the directory path of your choice.
    • (UNIX and Linux)  Collect Data RepositoryRetain the default directory path to save the collected data temporarily or type the directory path of your choice.
    • (UNIX and Linux)  Service Daemon installation directoryRetain the default directory path where the service daemon is installed or type the directory path of your choice.
    • Enable collection of historical data: Specify whether you want to collect historical data. By default, historical data is collected.
    • (Windows) Data Repository: Retain the default directory path to save historical data or type the directory path of your choice.
    • Set TrueSight Capacity Optimization Agent to start automatically: Specify whether you want to start the Capacity Agent immediately after installation. By default, the Agent does not start after installation.
    • Maximum process command length to collect: Select the maximum length (in bytes) of the process command that the Capacity Agent must collect.
    • Service Daemon: Type the port number to be used by the service daemon. The default port is 10128.
    • (UNIX and Linux) Create Default LinkSpecify whether you want to create the usr/adm/best1_default link to identify the current installation. By default, the link is created.
    • (UNIX and Linux) Specify whether you want to run the service daemon (bgssd.exe) in the standalone mode. By default, the service daemon is configured to run by using the inetd  or xinetd  service.
  13. Select one of the following options if you have PATROL Agent installed:
    • Configure PATROL Agent to use the new TrueSight Capacity Optimization data collector being installed.
    • Configure PATROL Agent to use the existing TrueSight Capacity Optimization data collector.
    • Do not configure PATROL Agent to use the TrueSight Capacity Optimization data collector.
  14. Select a network protocol, and click Next.
  15. Review the installation summary, and click Install.
    A message confirming the completion of installation process is displayed.
  16. Click View log to view the installation log details on the screen.
  17. Click Done to exit the installation program.
  18. Run the following command as a root user to configure the Capacity Agent:

    1. Change to the root user.
    2. Change to the installation directory. The default is /opt/bmc/Patrol3.
    3. Run the following command:
      ./b1config<version>.sh
      where version indicates the version of the installed Capacity Agent.
  19. Verify that the installation is successful:

    • Verification steps for Windows:

       To verify the installation of the Capacity Agent
      1. On the computer where the Capacity Agent is installed, click Start > Settings > Control Panel.
      2. Double-click PATROL - Perform Agent.
      3. Verify that the status of the BGS_SDService service daemon is Running.
       To verify the installation of the environment variables
      1. Open the command prompt, and run the following command:
        echo %best1_home%

      2. Ensure that the following installation location is displayed:
        C:\Program Files\BMC Software\Patrol3\BEST1\NTC

       To verify data collection
      1. Click Start > All Programs > BMC Software > Collect Data.
      2. Click Start a collect process on a Console or Agent computer, and click Next.
      3. Select one of the following collection modes, and click Next.
        • Standard Mode: Transfers the collected data across a network from the target computers to the Gateway Server.
        • Secure Mode: Transfers the collected data locally.
        • Collect from a policy file: Transfers data from the computer names that are defined in a text file.
      4. If you selected Collect from a policy file, select the policy file, and click Next. You are directed to Step f.
      5. Specify one the following options to add the computers from which you want to collect data, and click Next.

        • Agent computers or network address: Type the names (host names or fully qualified domain names) or IP addresses of the computers on which you have installed Capacity Agents.
        • Optional name of Agent computer: Type the name of computer where the agent is installed. If the computer has identification other than its network name, type that name. For example, a computer with the network name 1on_subnet5 might be a mail server with an internal name emailC. The specified name appears as a directory name where the collected data is stored. For example, C:\Program Files\BMC Software\BEST1\NTC\History\emailC. The specified name appears as a directory name where the collected data is stored. For example, C:\Program Files\BMC Software\BEST1\NTC\History\emailC.

          If this field is left blank, the folder name in the collection repository takes the network name. For example, C:\Program Files\BMC Software\BEST1\NTC\History\1on_subnet5.

        • File with list of computers to collect: Specify the text file that contains the agent computer names from which you want to collect data.
      6. Type the path of the data collection directory on the agent and Gateway Server computers, and click Next.

        • Repository on the Console: Select the path to the data collection directory on the computer where the Gateway Server is installed.
        • Repository on the Agent: Select the path to the temporary repository on the computer where the agent is installed.
        • Select the action that must start after the data collection wizard is exited.
      7. Select the frequency for collecting and summarizing data, and click Next.
        • Collect data every: Specify the frequency at which the data collector must place the collected data in the memory. The default value is 10 seconds.
        • Summarize data every: Select the interval, in minutes, at which the Capacity Agent summarizes data and saves it in the repository.
      8. Specify one of the following data collection schedules, and click Next.
        • Begin immediately: Begins collection immediately after existing the wizard and stops after 24 hours.
        • Begin: Begins collection after the specified time and ends after the specified duration.
        • Begin and end by date and time: Starts and ends collection on the specified dates and at the specified times.
      9. Review the settings and click Finish.
      10. When the collection duration ends, confirm that the correct files are created in the following formats:
        • repository\computerName\date.time\type-of-stats\raw.udr
        • repository\computerName\date.time\type-of-stats\raw.lox
          (The default repository on the Gateway Server computer is C:\Program Files\BMC Software\Patrol3\NTC\history).

          The temporary default repository on the agent computer is C:\Program Files\BMC Software\Patrol3\BEST1version\History. This directory serves as a repository until the data is transferred to the Gateway Server computer.

    • Verification steps for Linux:

       To verify data collection
      1. To configure the BEST1_HOME environment variable, run the following commands:

        1. Change to the non-root user.
        2. Run the following commands:
          • For the Korn or Bourne shell:
            1. BEST1_HOME=usr/adm/best1_<version>
            2. export BEST1_HOME
          • For the C shell:
            setenv BEST1_HOME usr/adm/best1_<version>
            where version indicates the version of the installed product component.
      2. To test the connection to the Agent, run the following command:

        $BEST1_HOME/bgs/scripts/best1collect -n <targetHostName> -q

        The following example shows the result of running this command on the clm-pun-015565 system:

        [perform@clm-pun-032515 ~]$ $BEST1_HOME/bgs/scripts/best1collect -n clm-pun-015565 -q best1collect on clm-pun-032515: requesting Update Status on clm-pun-032515 ... Wed Mar 15 00:06:00 2017 Agent Query Request Starting(/usr/adm/best1_10.7.00/bgs/monitor/log/clm-pun-032515-bgsagent_6767.als) Collect Instance Node Started Started Name Name Name By On ------------ -------------- ---------- ---------- ----------------- ------------ -------------- ---------- ---------- ----------------- *Node: clm-pun-032515 has acknowledged Query request successfully.


      3. To initiate a data collection request, run the following command. Replace <nodeName> with the name of the system where you want to initiate the collection request.

        $BEST1_HOME/bgs/scripts/best1collect -n <nodeName> -e +15 -d /tmp -w 1

        The following example shows the result of running this command on the clm-pun-015565 system:

        [perform@clm-pun-032515 scripts]$ $BEST1_HOME/bgs/scripts/best1collect -n clm-pun-015565 -e +15 -d /tmp -w 1 best1collect on clm-pun-032515: requesting Start Collect on clm-pun-015565 ... best1collect requesting bgscollect start on clm-pun-015565... Tue Mar 14 22:30:04 2017 best1collect: Collect process with instance noInstance will be started on node clm-pun-015565. Specified data repository: /tmp. *Node: clm-pun-015565 has acknowledged Start request successfully. 
      4. To verify the status of data collection, run the following command:

        $BEST1_HOME/bgs/scripts/best1collect -n <nodeName> -Q

        The following example shows the result of running this command on the clm-pun-015565.bmc.com system:

        [perform@clm-pun-032515 scripts]$ $BEST1_HOME/bgs/scripts/best1collect -n clm-pun-015565.bmc.com -Q best1collect on clm-pun-032515: requesting Update Status on clm-pun-015565.bmc.com ... Tue Mar 14 22:35:50 2017 Agent Query Request Starting(/usr/adm/best1_10.7.00/bgs/monitor/log/clm-pun-015565-bgsagent_6767.als) Collect Instance Node Started Started Data Length Spill SampleState Config Active Active Term Term LagTime Name Name Name By On Repository HH:MM (Min) (Sec) Groups Data No Data Data No Data (Min) ------------ -------------- ---------- --------------------------- ----------------------------- ------ ----- ------------------------ ------ ------ ------- ---- ------- ------- SYSTEM noInstance clm-pun-015565 perform Mar-14-2017.22.30/tmp 0:15 15 10 UDR_WRITE_ACTIVE 46 19 2 0 25 0 ------------ -------------- ---------- --------------------------- ----------------------------- ------ ----- ------------------------ ------ ------ ------- ---- ------- ------- *Node: clm-pun-015565.bmc.com has acknowledged Query request successfully
      5. Verify that the Active Data parameter shows a value greater than 0, which indicates that the data collector is functioning as expected.

Next step in the Installation process

Now that you have successfully installed the Capacity Agent, you must complete the post-installation activities.

Was this page helpful? Yes No Submitting... Thank you

Comments