Upgrading Cast Iron Instance in Cast Iron Container

Before you begin

  • Download the Cast Iron docker tar file (the version which you want to upgrade) from the fix central (passport).
  • Transfer to the Ubuntu server that has the Docker package.
  • Transfer the tar file to the Cast Iron Docker container using the following command:
    docker cp <CI docker file name>.tar.gz <existing CI Container ID>:/var/tmp/

    For example, docker cp 7.5.1.0-docker_build-20160302-1709_H8_64.tar.gz 1f79e655352c536161313eb5e9ea8b0d5a72e0104358b106bb6b1e70892be022:/var/tmp/, where 1f79e655352c536161313eb5e9ea8b0d5a72e0104358b106bb6b1e70892be022 is the container ID.

About this task

Use this task to upgrade an existing Cast Iron instance in Cast Iron Container with the later versions downloaded from the fix central.

Procedure

  1. Login into Cast Iron Web management console.
  2. Stop and undeploy all the Cast Iron projects.
  3. Stop secure connector instances, if you have already configured.
  4. From the Cast Iron Container CLI prompt, execute the following command to upgrade to the latest version.
    castiron --upgrade /var/tmp/<CI Docker file name>.tar.gz

    For example, castiron --upgrade /var/tmp/7.5.1.0-docker_build-20160302-1709_H8_64.tar.gz, where 7.5.1.0-docker_build-20160302-1709_H8_64 is the CI Docker file name.

Results

On successful upgrade, you will be displayed with a similar message as the following:

Current Cast Iron Version (Before Upgrade)

Product: IBM WebSphere Cast Iron
Version: Cast Iron Operating System 7.5.1.0.20160302-1709_H8_64 (Mar 02 2016)
Cast Iron Container Id: 1f79e655352c

Stopping all the Cast Iron Components before upgrade

Stopping Gateway...
Stopping Maestro...
Stopping Web Management Console(WMC)...
Stopping DerbyServer...
Taking backup of older Cast Iron version
Upgrading Cast Iron components
Upgrade Completed
Current Cast Iron Version (After Upgrade)

Product: IBM WebSphere Cast Iron
Version: Cast Iron Operating System 7.5.1.0.20160302-1709_H8_64 (Mar 02 2016)
Cast Iron Container Id: 1f79e655352c

Cast Iron Component Status
--------------------------
DerbyServer : Up
WMC : Up
Maestro : Up
Gateway : Up



Feedback | Notices


Timestamp icon Last updated: Thursday, 2 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.VAuserguide.doc/CIDC_upgrading_ciinstance_cic.html