Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A Appendix A. Scripts to propagate private keys This appendix provides the source code for propagating the private keys to the job submission center when a project is generated. The process invokes a Java application to extract the private key stored in DB2 using a JDBC type 4 driver and put it into the proper directory. A crontab job is set up to run every five minutes to run the following command: /home/iga_certs/bin/fetchPrivateSSHKeys.sh This in turn runs the Java program: #!/bin/sh echo Beginging key synchronization at `/bin/date` cd `dirname $0`/keySynch ./run.sh The Java program, as mentioned, utilizes a JDBC type 4 driver, so the following JAR files must be accessible: db2jcc-8.2.jar db2jcc_license_cisuz.jar db2jcc_license_cu.ja © Copyright IBM Corp. 2006. All rights reserved. 79