Client Management: How to Install the BMC Client Management Agent on Linux

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    BMC Client Management


    Client Management


    Any version of BMC Client Management (BCM)


    How do I install the BCM agent on a Linux system?


    The BCM agent can be installed only on linux x64 and x86 but x86 is not supported for masters. To confirm if a version of linux is supported, please review the Software Requirements or the relevant BCM version (here it's 12.9). 

    Create or use an existing rollout configuration:
    Use the Agent Rollout Wizard (Wizards > Agent Rollout) to create a rollout for linux or use an existing one from the Out Of the Box objects, e.g:

    User-added image

    Do not forget to check the option "Silent Installation" so this is transparent on the target.

    A- Pull Rollout:

      - Select the rollout configuration selected above  
    - Follow the same than in the Knowledge Article (KA)    Client Management: How to create and deploy Agent Rollouts to the Client by using the pull mode - INCLUDES VIDEO, until the file has been downloaded  
    - Open the Terminal   
    - Within the Terminal window, go to the directory where the rollout install package was saved. For example, if this file was saved on the desktop, the command to run would be: 
      $ cd ~/Desktop 
      - Run the following command line to set the install package to executable: 
      $ chmod +x    _ROLLOUT_FILE_NAME_
      Where    _ROLLOUT_FILE_NAME_ is the name of the file that was downloaded at the end of the other KA  
    - Then run the following command line to execute the install package: 
      $ sudo ./   _ROLLOUT_FILE_NAME_
      The BCM agent should now be installed. A log should have been created next to the install package for reference in case the installation failed.  

    B- Push Rollout:  
      - Make sure the prerequisites are in place on the linux targets: the agent will not install through push if the root account and sshd are not enabled and if root is not allowed to ssh in: 
      - enable root: on some systems, such as Ubuntu, the account root is "not used" at the installation. To "activate it", login as an account that is sudoer and run the following command line to set a password to it: 
      $ sudo passwd root 
      - make sure sshd is running and configured on the targets. More information on how to set this up if it's not already active    here.  
    - set sshd to allow ssh to the account "root": 
      - edit the file /etc/ssh/sshd_config: 
      $  vim /etc/ssh/sshd_config 
      - set "PermitRootLogin yes  
    - save the file and restart the service sshd, e.g: 
      $ sudo /etc/init.d/ssh reload  
    $ sudo systemctl reload ssh 
    - Select the rollout configuration selected at the top of this KA  
    - Follow the same than in the Knowledge Article (KA):     Client Management: How to create and deploy Agent Rollouts to clients by using the push mode - INCLUDES VIDEO
    No icon is visible on linux when the agent is running. Running the following command line would help spot the agent process:  
      # ps aux |grep mtxagent 
    If the process is running, it should output something similar to this:  
      root               47   0.0  0.3  2583064  41996   ??  Ss    30Jan20  39:24.98 /usr/local/bmc-software/client-management/client/bin/mtxagent 


    Article Number:


    Article Type:


      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles