Skip to content
Snippets Groups Projects
dm_test_system_deployment_notes.txt 1.58 KiB
Newer Older
sveseli's avatar
sveseli committed
Prerequisites:
======================
- required OS packages are listed here:
  https://confluence.aps.anl.gov/display/DMGT/DM+Station+System+Requirements
- make sure that user ssh login keys are setup and work for both 127.0.0.1 
  interface, as well as for the short/full installation machine name 
- installing DM support software and deploying test system should not
  require elevated privileges
- instructions below assume that user's git ssh keys have been setup
sveseli's avatar
sveseli committed

Installing DM Support
======================
sveseli's avatar
sveseli committed
1) mkdir -p DM_INSTALL_DIR && cd DM_INSTALL_DIR
2) git clone git@git.aps.anl.gov:DM/dm-support support
sveseli's avatar
sveseli committed
3) cd support
4) ./sbin/install_support_all.sh
  - you will need to enter two passwords of your choice for glassfish 
    (master and admin password) 
  - each password needs to be entered only once, as expect scripts handle 
    repeated requests
sveseli's avatar
sveseli committed

Deploying Test System
======================
sveseli's avatar
sveseli committed
1) cd DM_INSTALL_DIR
2) git clone git@git.aps.anl.gov:DM/dm
3) cd dm
sveseli's avatar
sveseli committed
4) ./sbin/dm_deploy_test_system.sh
  - passwords needed:
    * postgres admin password (your choice)
    * dm db management password (manages database itself; your choice)
    * dm system account (DM user with admin privileges; your choice)
    * dmadmin LDAP password (existing)
    * dmadmin BSS login password (existing)
    * dmadmin ESAF DB password (existing)
  - scripts also require entry for the data storage directory 
    (e.g, DM_INSTALL_DIR/data), etc
  - for most of the required entries the defaults, if given, are fine
sveseli's avatar
sveseli committed

Removing Test System
======================
sveseli's avatar
sveseli committed
1) DM_INSTALL_DIR/dev/sbin/dm_remove_test_system.sh