Install Worker on a Linux Image
Use the Workload Manager installer binary worker_installer.bin to create Workload Manager-enabled Linux images on different clouds and regions.
The Linux worker installer is compatible with these distributions:
When you modify a pre-built image (for example, when performing an OS update, installing a new tool, upgrading the Management Agent, and so forth), be aware that the pre-built image already has Workload Manager Tools installed.
When updating an image that already has Workload Manager Tools installed, you must delete this file (/usr/local/osmosix/etc/hostid) prior to taking the final snapshot.
Use this procedure to also install Workload Manager Tools on CentOS 7 and RHEL-7.
Containerized OOB Services
When you manually install the Management Agent and select the "worker1" install option, the following Out-Of-Box (OOB) Workload Manager services will automatically run inside a Docker container inside the worker VM:
To use VMware VMs, you should have already installed VMware tools on the Linux machine.
Install CliQr Tools on the application VM.
Run the following commands after the installation is completed:
Stop the VM.
Capture the image.
To acquire and run the Linux worker installer, follow this procedure:
Download the artifacts.zip archive from software.cisco.com, unzip the archive, and identify the installer package: worker_installer.bin.
SSH into the application VM instance using the key pair that you used to launch the VM and go to the /tmp directory
- Copy the installer package from you computer to this directory.
- Change permissions to allow execution of the installer, specify a local package store (if necessary), and run the installer using the syntax shown below:
ostype = rhel6, rhel7, oel6, centos6, centos7, ubuntu10, ubuntu1204, ubuntu1404 (see the section below to identify your OS type)
cloudtype = amazon, azurerm, google, openstack, vmware
worker_basic = The worker_basic option installs all components necessary to download, start, and support the agent.
- Clean up and exit the VM instance:
If your image will be launched in an environment without internet access, dadded qualifier on ownload and install the net-tools package: https://sourceforge.net/projects/net-tools/
Save the image.
Identifying the OS Type
To verify or identify the OS type, follow this procedure:
In your terminal, issue one of the following commands (based on your Linux implementation):
$ cat /etc/issue
Ubuntu 14.04.2 LTS \n \l
$ cat /etc/*-release
CentOS release 6.3 (Final)
Based on the response to one of these commands, you can identify if your OS type.
After you run the installer commands, the installation results are displayed on the screen as follows:
Success scenarios: Identifies a list of successfully installed components in green text.
Failure scenarios: Provides a path to the log file that provides details of each failure.
Map a Logical Image to the Pre-bootstrapped Image
In order to use the new pre-bootstrapped image in deployments, you must set up the appropriate image mapping.
- No labels