Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fujitsu:hpcgateway:guides:admin:install:installation_windows [2016/05/24 22:38]
fujitsu
fujitsu:hpcgateway:guides:admin:install:installation_windows [2016/05/25 09:29] (current)
fujitsu
Line 17: Line 17:
   - Untar the HPC Gateway Windows package using a Windows extractor, like [[http://​www.7-zip.org/​download.html|7-zip]]   - Untar the HPC Gateway Windows package using a Windows extractor, like [[http://​www.7-zip.org/​download.html|7-zip]]
   - Go to the newly created directory that contain the HPC Gateway installer scripts   - Go to the newly created directory that contain the HPC Gateway installer scripts
 +  - Build a configuration file for the installation.
   - Make sure there is no HPCG_ and hpcg_ variables set. If yes, unset them all   - Make sure there is no HPCG_ and hpcg_ variables set. If yes, unset them all
-  - Run ./HPCGInstaller/​core/​installer/​shell/​hcs.install.driver.sh -k all -c <path_to_custom_config_file-ignore_check+  - Run ./install.bat <configuration_file>
  
 Example of custom configuration file. Change the installation path, user name, host IP address and port accordingly to your environment. Example of custom configuration file. Change the installation path, user name, host IP address and port accordingly to your environment.
Line 67: Line 68:
  
 <​code>​ <​code>​
-% env | grep -i HPCG_ +% ./install.bat install.windows.cfg
-% unset HPCG_ADMIN HPCG_REPO HPCG_ADMIN_LOGS HPCG_LOGS HPCG_BASE_URL HPCG_PIDS HPCG_HOME +
-% unset hpcg_admin hpcg_repo hpcg_admin_logs hpcg_logs hpcg_base_url hpcg_pids hpcg_home +
-% tar zxf <​path_to>/​hpcgateway.<​version>​.unix.install.full.tgz +
-% cd hpcgateway.<​version>​.unix.install.full.tgz +
-% ./HPCGInstaller/​core/​installer/​shell/​hcs.install.driver.sh -k all -c /​home/​vijay/​install.custom.cfg -ignore_check+
 ... ...
 </​code>​ </​code>​
  
- ​\\ ​Note that if you are starting ​HPC Gateway ​on a server that is already running an HPC Gateway, you might have port conflict for mongo, jetty, php-cgi and the cluster agent. Make sure you are not using the same ports:+ \\ 
 +Here are the default ports used by HPC Gateway ​components:
  
   * mongo default port = 27017   * mongo default port = 27017
Line 83: Line 80:
   * cluster agent default ports = 7007 (java debug)   * cluster agent default ports = 7007 (java debug)
  
-Debug port for jetty and cluster agent can be overwritten by setting HPCG_JETTY_DEBUG=<​debug_port_jetty>​ and HPCG_CLUSTER_DEBUG=<​debug_port_ca>​ in the environment. Best practice is to put it in ${HPCG_HOME}/​core/​etc/​setenv_jetty.sh and ${HPCG_HOME}/​core/​etc/​setenv_cluster.<​cluster_name>​.sh respectively.+Debug port for jetty and cluster agent can be overwritten by setting HPCG_JETTY_DEBUG=<​debug_port_jetty>​ and HPCG_CLUSTER_DEBUG=<​debug_port_ca>​ in the environment. Best practice is to put it in ${HPCG_HOME}/​core/​etc/​setenv_jetty.bat and ${HPCG_HOME}/​core/​etc/​setenv_cluster.<​cluster_name>​.bat respectively.
  
 Php port must be changed manually in: Php port must be changed manually in:
Line 92: Line 89:
 ==== Post installation ==== ==== Post installation ====
  
-  - Set your user in /​etc/​sudoers.d to be able to run user_init.sh script as root +  - Set HPC Gateway start in windows services
-  - Run ${HPCG_HOME}/​core/​sys/​hpcg_users_init_key.py to set public key in SSH authorized_keys of each users found in the database+
  
 <​code>​ <​code>​