Sloan Digital Sky Survey
How to deploy to the cluster

Deploying to the cluster

You need the correct privs to do this.

The website files

Make sure the current version of the site you want is on test and working. Preferable checked out of cvs using a tag.

Log on SkyDev and open a cmd prompt to c:\deploy. This is the staging area for deployment.

cd to the app or site you wish to deploy e.g.

 cd voservices\net\Registry 

Next copy from test to this directory - robocopy is installed e.g.

Xcopy used like this will delete any files not in the directory on the other end so make sure you are in the correct directory or you may loose EVERYTHING.

C:\deploy\voservices\net\Registry>robocopy \\skytest\www\voservices\net\Registry /mir /np /log:c:\temp\testreg.log .

Make any changes to config files which may be needed in this copy i.e. switch from test to live

cd to the top level and Push this out to the cluster - this is easy as there is a script to do it called push so for the above example.

C:\deploy\voservices\net\Registry>cd \deploy

C:\deploy>push.cmd voservices\net\Registry

The metabase


William O'Mullane
Last Modified :Thursday, July 22, 2004 at 11:34:31 AM , $Revision 1.3 $