This site requires JavaScript to be enabled
Welcome|
Recent searches
IE BUMPER

Install Universal Agent for Linux - Multiple Agent Install

Number of views : 9
Article Number : KB0013855
Published on : 2023-01-09
Last modified : 2023-01-09 17:37:36
Knowledge Base : IT Public Self Help

We recommend User Mode installations over Standard installations. Please feel free to reach out to the Stonebranch stewards with any questions you have about installation and configuration.

Ansible Installation

See the repository README here: https://github.austin.utexas.edu/itsy-as/stonebranch

Run the ansible playbook on your local machine, or in a unix VM if you are using a Windows OS.

Once your agent is installed and running, you'll need to contact a service provider to have it added to your business service.

Manual Installation

These installation instructions are intended to be supplementary to the official instructions from the vendor, available here: https://docs.stonebranch.com/confluence/display/UA68/Universal+Agent+for+Linux+Installation

1. Create a temporary to hold the installation files

2. Get the install files from artifactory

You can use curl to get the install files (note that the agent filename may differ based on the most recent version):

curl -L -u <artifactory-user>:<api-key> https://artifacts.austin.utexas.edu/artifactory/eis1-stonebranch-public/sb-6.8.0.0-linux-3.10-x86_64.tar.Z -o /tmp/agent-6.8.0.0/sb-6.8.0.0-linux-3.10-x86_64.tar.Z

3. Extract the install files

Use tar:

tar -xvf sb-6.8.0.0-linux-3.10-x86_64.tar.Z

4. Run the install script

Stonebranch provides an install script. Each usermode installation will require a different unix user (these users are created by the script if they don't exist yet). The -oms_servers parameter contains the location of the stonebranch controller. Unvdir contains the installation location and can be wherever you'd like. Unvport will need to be a unique value for every agent, or they will not start.

Installing an agent for all three stonebranch environments on the same host might look something like this:

./unvinst -usermode_install yes -user ubroker-dev -oms_servers 7878@stonebranch-dev.its.utexas.edu -oms_autostart no -unvdir /home/ubroker-dev -unvport 7888

./unvinst -usermode_install yes -user ubroker-qual -oms_servers 7878@stonebranch-qual.its.utexas.edu -oms_autostart no -unvdir /home/ubroker-qual -unvport 7889

./unvinst -usermode_install yes -user ubroker-prod -oms_servers 7878@stonebranch.its.utexas.edu -oms_autostart no -unvdir /home/ubroker-prod -unvport 7890

5. Create the PAM config file as /etc/pam.d/ucmd

Sample file contents:

#%PAM-1.0

auth            include          system-auth

auth            required        pam_nologin.so

account      include          system-auth

6. Add the systemd conf file to your init directory

Note: this assumes you're using systemd to manage processes on your host. If you're using sysvinit or upstart, you'll need to change your approach.

Each agent instance will need its own systemd conf file.

Sample file contents:

[Unit]

Description=ubroker-dev service

 

[Service]

Type=oneshot

ExecStart=/home/ubroker-dev/ubroker/ubrokerd start

ExecStop=/home/ubroker-dev/ubroker/ubrokerd stop

RemainAfterExit=yes

 

[Install]

WantedBy=multi-user.target

7. Start ubroker using the process name defined in your systemd conf file.

If you're using systemd, the command could be:

`systemctl start ubroker-dev`

8. Enable ubroker autostart on host reboot

If you're using systemd, the command could be:

`systemctl enable ubroker-dev`

Once your agent is installed and running, you'll need to contact a service provider to have it added to your business service.

Add Agent(s) to a Business Service

A universal agent can only be added to a business service by a service provider. To have this done, submit a request to stonebranch-requests@its.utexas.edu with the following information:

  • The department code assigned to your business service
  • Name of host(s) where agents are installed
  • The environment(s) for the agent(s).

This will generate a ticket in the service management tool.

Once the service provider team has completed this task, they will respond via the ticket.

 

 

 

Thank You! Your feedback has been submitted.

Feedback