# # I COPIED #/var/tmp/upsupdbootstrap/prd/bootstrap/v2_2/configs/generic # HERE AND EDITED IT TO ALSO SETUP DATABASES FOR D0 PRODUCTS AND CODE # I THEN COPIED IT BACK AND INSTALLED THE bootstrap_generic RPM. # bootstrap configuration file #--------------------------------- # Description # This configuration is for # off-site users putting a "standard" # products area under /D0/ups, a D0 products area under /D0/usr # and a D0 code distribution area under /D0/dist #--------------------------------- # variables to be used later # set_variable bootbase="file://localhost/var/tmp/upsupdbootstrap/prd/bootstrap/.v2_2" #--------------------------------- # variables required by bootstrap # #set_variable upsdb_list="/local/ups/db /fnal/ups/db /afs/fnal/ups/db" set_variable upsdb_list="/projects/d0/usr/db /projects/d0/ups/db /projects/d0/dist/db" #--------------------------------- # Space checks # check_space /projects/d0/ups/db 70000 check_space /usr/local/bin 2000 #--------------------------------- # files to download # remote local # ----- ----- # download_file $bootbase/updconfig.generic updconfig #--------------------------------- # things to run before installs # #pre_install_command "sh localmounts.sh" #--------------------------------- # user-id's to create # login uid gid home # ----- --- --- ---- create_user products 1342 4525 /projects/d0/ups #--------------------------------- # ups databaes to create # database dbconfig updconfig owner # -------- -------- --------- ----- create_db /projects/d0/ups/db - - products create_db /projects/d0/dist/db - - products create_db /projects/d0/usr/db - - products #--------------------------------- # if installing coreFUE, where? # install_coreFUE /projects/d0/ups/db #--------------------------------- # other product installs # install_as products fullFUE -z /projects/d0/ups/db #--------------------------------- # ups current, configure, insall_as_root commands # do_ups installasroot systools do_ups installasroot shells #--------------------------------- # courtesy links in /usr/local/etc? # make_courtesy_links