Note: You should be logged on as slacuserid@fermilnx-v14 , e.g. chee@fermilnx-v14 when installing java patches and versions. Once the chee account has downloaded the files use the scp command to copy files across to glast@fermilnx-v14 if you are not logged in to the host (scp how-to). From glast@fermilnx copy files from chee@fermilnx, not the other way around otherwise the file permissions will be set for chee not glast.
Basic Basic overview
- down load the files from the java download site to /tmp. You will use gtar -C <path> or execute *.bin to put the files to the directory.
- check space availablity for each target directory by running /afs/.slac/package/java/common/install/checkQuota
- make sure you are in the shadow directory, e.g. /afs/.slac... and not /afs/slac (dot slac, not just slac)
- IF you get an executable (*.bin) then use the installJava script and you create the jdk-* subdirectory under each OS directory first, e.g. linux, solaris, etc.
- IF you get zipped tarballs (*.gz) use the installJava7 script which uses gtar -C to unpack and create/install the directories.
- change the patch variable in the install script (installJava or installJava7) to the latest patch number
- cd to the place where you downloaded all the files, e.g. /tmp on fermilnx-v14
- Make sure to change the patch number before running the script.
- Edit the install script and check that the new version names will unpack properly. Run the installJava* script.
- run the release script to deploy the new versions to the read-only disk.
- restart the test server and check that everything still works
- restart all the other servers. Use the server monitoring page to do this. If that doesn't work, logon to the machine and run the stop/start scripts.
- update the web page (see url address below)
- announce to mailing lists (see list names below)
- (optional) if you need to change the default version update javawrap script
...