Working with Cast Iron Container

Before you begin

Log into the Cast Iron Container using the CI Container ID using the following command:

docker exec -it <CI Container ID> /bin/bash

For example. docker exec -it 1f79e655352c536161313eb5e9ea8b0d5a72e0104358b106bb6b1e70892be022 /bin/bash, where 1f79e655352c536161313eb5e9ea8b0d5a72e0104358b106bb6b1e70892be022 is the CI Container ID.

Note:
  • There is no separate Cast Iron CLI prompt enabled in Docker platform hence you will be using the same Ubuntu prompt for various tasks.
  • There is no direct communication to the Cast Iron Container using ssh or telnet. The only way to communicate is to log into the docker host system and use the above command to login.

About this task

Use this task to login and interact with Cast Iron container.

Procedure

Inside Cast Iron Container, to interact with Cast Iron, use the command castiron.
castiron
Usage : castiron <options>
--start   start all the castiron process
--stop    stop all the castiron process
--restart restart all the castiron process
--status  print status of all the castiron process
--version print current version of castiron
--upgrade <castiron upgrade file path> upgrades castiron to a new version
--generatepostmortem   generate postmortem logs
Note: Cast Iron logs will be available under /var/log for any troubleshooting.
Warning
Note: It is recommendation not to install any additional applications/Ubuntu packages which may lead to change in Cast Iron instance and make it not usable.

Results

Successful login and usage of Cast Iron.



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_workingwith_cic.html