Deploying and starting ORCA 5 actors on racks

Introduction

All racks download RPMs from RENCI repo. In order to deploy new code, the source must be built by Hudson and deposited into the repo, from where it can be deployed using yum.

Triggering rebuild

Update redhat/orca-iaas.spec by prepending to the changelog (beware of date/time format). This will cause Hudson to rebuild the RPMs and deposit them with the central Yum repo.

Updating the code on the rack

With sufficient privileges:

/opt/util/yum_sync && yum clean all && yum -y --disablerepo=passenger upgrade orca-iaas 

(Re)starting

For fresh start:

/etc/init.d/orca_am+broker-12080 clean-restart
/etc/init.d/orca_sm-14080 clean-restart
/etc/init.d/orca_controller-11080 clean-restart  

For start with recovery:

/etc/init.d/orca_am+broker-12080 restart
/etc/init.d/orca_sm-14080 restart
/etc/init.d/orca_controller-11080 restart