SAM_DB_ADMIN Make from d0ora3 for development
Currently, we will complile the forms on d0ora3, while pointing to the d0ora1 database. This is incase there is a compile error, you do not have to retar/kit/untar the entire product.
The product version below should be replaced by the product name and version number you are cutting, e.g. sam_db_admin v2_7.
- logon to d0ora3
- cd /fnal/ups/prd/sam_db_admin/version
- setup oracle_2000
- MAKE SURE YOUR ID IS IN THE PRODUCTS GROUP
- MAKE SURE SAM_DB_ADMIN_DIR is set to /fnal/ups/prd/sam_db_admin/version
- MAKE SURE TWO_TASK IS SET TO d0ofdev1.
- MAKE SURE ORACLE_SID IS SET TO d0ofdev1.
- pwd to make sure you are in the correct directory.
- command line should be:
- make all ORAUSER= samdev/password@d0ofdev1 | tee logFile
- If the make completes without compile errors, finish dev--
- setup upd
- declare the development product on d0ora3. This is to enable you to updadd the product and leave the CVS directories behind. ups declare -t -f SunOS+5 -m sam_db_admin.table -M /fnal/ups/prd/sam_db_admin/version/ups -r /fnal/ups/prd/sam_db_admin/version product version -q dev
- ups list -val sam_db_admin
- open a d0ora3 window, setup -t sam_db_admin, test product
- if ok, declare current - ups declare -c sam_db_admin version -q dev
- cd /fnal/ups/prd/sam_db_admin
- rm devweb
- ln -s version devweb
- For sam_db_admin, you must stop and start the forms deamon for the web on d0ora3, else the deamon is still pointing at the old version.
- ps -ef |grep f60
- logon as the person who started the f60 jobs
- setup oracle_2000
- setup orasid_remote
- f60ctl stop port=9002 (or whatever port# shows in the ps -ef)
- cd /etc/init.d
- more OraFormsCtl
- /oracle/ora1/oracle_2000/v6_i/forms60_server start