Skip to content

Upgrading Situate

Upgrading Situate Server to 1.4.4 -- UNIX Instructions

The process for upgrading to 1.4 has changed. The new process is faster, safer, and paves the way for automated upgrade in a future release.

Preparation

  • Make sure that the current Situate server is at least running version 1.3.0
  • Situate agents can be upgraded from any version
  • Do a complete backup of the Situate server directory prior to any future steps

Obtaining the Situate Packages

A Situate server requires three package: The agent package, the Java package, and the Server package. Download all three of these packages and place them into the SAME directory.

Performing the Situate Server Upgrade

The upgrade is performed by running the server installation packge. The installer will detect your current installation and strongly suggest you upgrade. As part of the upgrade process, the server installer will also install the agent and java packages.

    $ su (become root)     > ./server-linux-2.6-x86_64-situate-1.4.4-shar

Simply respond "yes" the "Upgrade existing instance? [yes/no]". The installer will then prompt to make sure you've backed up your server. Answer "yes" to the question "Has /opt/situate been backed up? [yes/no]"

The script will take care of the rest. When it completes, your upgraded server will be running.

Performing the Agent Upgrade

Situate agents, as mentioned earlier, only persist tasks logs for those tasks which have run on these specific assets. You can chose to backup that data or just ignore it. *WARNING: If the data is not backed up and restored to the agent then it will not be possible to get the historical task information.

Task logs for agents will reside in /opt/situate/logs. Backup this directory prior to installing a the latest agent version.

The Situate agent new installation process has not changed from the previous release. As "root" (or another privileged user) execute the installation package required for the core Situate agent. Refer to the Situate-Unix-Install for details.

Upgrading Situate Server to 1.4.4 -- Windows Instructions

Preparation

  • Make sure that the current Situate server is at least running version 1.3.0
  • Situate agents can be upgraded from any version
  • Do a complete backup of the Situate server directory prior to any future steps

Step 1. Shutdown Situate Server

The Situate server should be shutdown prior to any of the agents. This insures that no workflows can be executed after an agent becomes unavailable. Login to the Situate server host.

Open the services application, find the service named Situate Agent and click stop.

Step 2. Backup Situate Server Data

The Situate server will maintain all the data with the exception of the taskslogs. Tasklogs are the output that is generated by a specific task in a workflow. A task can execute on any asset and it's output will be saved on that asset in the directory ${INSTALLPATH}\logs\tasklogs.

In this step, we will only be concerned with the data associated with the Situate server.

The following directories should be copied forward from your previous release into your new release on the Situate server with one caveat. The directory /opt/situate/data/releases/templates must not be over-written. It contains new templates that were not included in previous versions of Situate.

  • /opt/situate/security : This directory maintains your services accounts.
  • /opt/situate/data : This maintains all of your workflows, calendars, server configuration, deployment configuration and deployment history.
    • Warning: DO NOT COPY forward the /opt/situate/data/releases/templates directory.
  • /opt/situate/logs : This contains your server runtime logs, workflows logs and tasklogs for tasks that execute on the server. These are mostly used for troubleshooting but good to have around to reference historical workflow data.
  • /opt/situate/java.options : This file contains any Java VM related options, e.g., Xmx1024m
  • /opt/situate/license.dat : This is your license file and is required for the Situate server to start.

Moving Situate Server Install Directory

The simplest way to prepare for a Situate server upgrade is to move or rename the current Situate install directory. This will insure that all data still exists and accessible but allow for a new installation to take place.

Move or rename the installation directory on the server. By default the installation directory will be located in C:\Program Files (x86)\Situate.

Open a file explore and find C:\Program Files (x86)\Situate. Click it to edit the name and change it to Situate.fbk

Step 3. Install Situate Server

Once the Situate Server has been installed and has successfully been started, shut it down as indicated in Step 1. above.

Step 4. Reload Data

To insure that we maintain all accounts, assets, security settings and other critical data it is necessary to copy directories indicated in Step 2. from the previous Situate directory that was renamed/moved to situate.fbk.

Copy Data

The following directories and files should be copied from the situate.fbk instance to the new Situate installation directory.

    copy /opt/situate.fbk/security /opt/situate/     copy /opt/situate.fbk/logs /opt/situate/     copy /opt/situate.fbk/java.options /opt/situate/

    copy /opt/situate/data /opt/situate/data.orig     copy /opt/situate.fbk/data /opt/situate/     copy /opt/situate/data.orig/releases/templates /opt/situate/situate/data/releases/

*** Warning:** DO NOT COPY forward the /opt/situate/data/releases/templates directory.

To insure that no data loss can occur make sure to keep the previous Situate directory that was renamed to /opt/situate.fbk. It may even be prudent to tar this directory and store it.

Step 5. Upgrade Agents

Situate agents, as mentioned earlier, only persist tasks logs for those tasks which have run on these specific assets. You can chose to backup that data or just ignore it. *WARNING: If the data is not backed up and restored to the agent then it will not be possible to get the historical task information.

Task logs for agents will reside in /opt/situate/logs. Backup this directory prior to installing a the latest agent version.

The Situate agent new installation process has not changed from the previous release. As "root" (or another privileged user) execute the installation package required for the core Situate agent. Refer to the "Situate-Quick-Install.doc" for details.

Step 6. Startup Server

After all Situate agents have been upgraded as described in the previous step then simply startup the Situate server

On the Windows platform simply open up the services application, find the SituateAgent server and click start.

Other Information

The following are notable points relating to upgrading from 1.3.x

  • If you are upgrading, make sure the domain you enter during installation is the same as it was in the prior version. Changing the domain name in the upgrade process will cause a great deal of problems.
  • If using Situate-Deployer, Application Configuration Properties must not use a "." in their names like java property files can use. We recommend using hyphens or camel case the name. And note that all application configure properties are referenced using $currrentEnv.[prop-name].

Workload Automation and Orchestration