You are here: Supporting Documents > Stratus Cloud Installation Guide > Installing the Stratus Cloud Solution > Installing Stratus Cloud Workload Services

Installing Stratus Cloud Workload Services

Install Workload Services after you have installed CentOS (Installing CentOS) and created an installation configuration file (Creating an Installation Configuration File for Stratus Cloud Workload Services.

To install Workload Services:

  1. In Horizon, open the console of the Stratus appliance that you created in the Installing CentOS procedure. Log on as the cloud-init user and enter the password you assigned to SSH creation during installation. You may need to update the /etc/udev/rules.d/70-persistent-net.rules file and remove the eth0 entry, and rename eth1 to eth0. This sometimes occurs when you deploy.
  2. Update these files as follows:
  3. Reboot after these updates.
  4. Assign this instance a floating IP address so that you can SSH to it using your key.
  5. Log on as the cloud-user and execute the su command to become the root user (or be prepared to use sudo to run commands as root).
  6. Install the yum-utils package for access to additional yum commands:

    # yum install yum-utils
  7. Verify that there are no unfinished yum transactions by entering the following yum command:

    # yum-complete-transaction --cleanup-only
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.sanctuaryhost.com
    * epel: mirror.cogentco.com
    * extras: centos.mirror.nac.net
    * updates: mirror.wiredtree.com
    No unfinished transactions left.

    If there are unfinished transactions, resolve them before continuing with the installation.

  8. In the /opt directory of the Stratus appliance, create a directory called Release:

    # mkdir /opt/Release

  9. Download the Workload Services installation script from the Stratus Cloud Solution Downloads and Support page at http://www.stratus.com/services-support/downloads to a local management PC.
  10. Transfer the installation script to the /opt/Release directory. For example, use a secure copy (SCP) utility to copy the file from the local management PC to the Stratus appliance. (If you copy the script to your /home/cloud-user account, move the script to the /opt/Release directory.)
  11. In the Stratus appliance, switch to the /opt/Release directory:

    # cd /opt/Release

  12. Run the following command to make the installation script an executable file, where script is the name of the script:

    # chmod a+x script.sh

  13. Locate the installation configuration file (for example, install.conf) that you created in Creating an Installation Configuration File for Stratus Cloud Workload Services and move this file to the same /opt/Release directory.
  14. Run the installation script specifying the install option and the name of the installation configuration file; for example:

    # ./clouds-n.n.n.n.n.sh install install.conf

    The installation script begins the installation process for Stratus Cloud Workload Services.

    Notes:  
    • For more information about the installation script options, see Stratus Cloud Workload Services Installation Script Options.
    • If the installation fails or you stop the installation script before it can finish, uninstall the cloud software (Uninstalling Stratus Cloud Workload Services), correct any installation errors, and then install the software again. If you retry the installation without uninstalling the software, the script exits with the following error: There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

  15. When the installation script is finished, optionally verify the version number of Workload Services that you installed by entering a command similar to the following:

    # rpm -qa | grep stratus
    stratus-clouds-0.1.5.24.3-0.fc14.noarch
  16. After a successful installation, update the /opt/jetty/resources/CloudMgmtExt.properties file to configure settings for Workload Services, as described in Configuring the Properties File for the Stratus Cloud Workload Services.
  17. You can now go to https://ThisCentOSFloatingIP, and begin using Workload Services.

Related Topics

Uninstalling Stratus Cloud Workload Services

of