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:custom_remote_head [2019/03/26 18:14]
fujitsu [Custom Installation : Remote cluster head/login node]
fujitsu:hpcgateway:guides:admin:install:custom_remote_head [2019/04/05 11:53] (current)
fujitsu [Manual post installation operation]
Line 119: Line 119:
 Note: Be patient as the installation should last up to 20 minutes. It compiles all the necessary binaries to be self sufficient and avoid system dependencies. Note: Be patient as the installation should last up to 20 minutes. It compiles all the necessary binaries to be self sufficient and avoid system dependencies.
  
-===== Manual post installation operation =====+===== Optional : Manual post installation operation ===== 
 + 
 +In some circumstances the hpcgadmin home is not shared between Gateway host and head/login host. 
 + 
 +With this use case a few manual post installation operation need sto be done like Gateway key copy. 
 The next operations are performed logged as hpcgadmin The next operations are performed logged as hpcgadmin
  
 1) Copy manually Gateway generated public key on Login/Head remote server authorizedkeys file 1) Copy manually Gateway generated public key on Login/Head remote server authorizedkeys file
 +
 <​code>​ <​code>​
 [hpcgadmin@gwhost ~]$ ssh-copy-id -i /​opt/​hpcg/​repo/​etc/​sys/​root/​id_rsa_hpcg.pub <​LOGIN_FQDN_OR_IP>​ [hpcgadmin@gwhost ~]$ ssh-copy-id -i /​opt/​hpcg/​repo/​etc/​sys/​root/​id_rsa_hpcg.pub <​LOGIN_FQDN_OR_IP>​
Line 134: Line 140:
  
 2) Test password less authentication using Gateway generated public key 2) Test password less authentication using Gateway generated public key
 +
 <​code>​ <​code>​
 [hpcgadmin@gwhost ~]$ ssh -i /​opt/​hpcg/​repo/​etc/​sys/​root/​id_rsa_hpcg <​LOGIN_FQDN_OR_IP>​ [hpcgadmin@gwhost ~]$ ssh -i /​opt/​hpcg/​repo/​etc/​sys/​root/​id_rsa_hpcg <​LOGIN_FQDN_OR_IP>​
Line 140: Line 147:
  
 3) Source hpcg profile… 3) Source hpcg profile…
 +
 <​code>​ <​code>​
 [hpcgadmin@gwhost ~]$ source /​opt/​hpcg/​core/​etc/​profile.sh [hpcgadmin@gwhost ~]$ source /​opt/​hpcg/​core/​etc/​profile.sh
Line 145: Line 153:
  
 4) Relaunch the installation of default applications that has previously failed: 4) Relaunch the installation of default applications that has previously failed:
 +
 <​code>​ <​code>​
 [hpcgadmin@gwhost ~]$ /​home/​hpcgadmin/​hpcgateway.2.0.7.hcs.unix.install.full/​HPCGInstaller/​packages/​torii/​config/​cluster/​applications/​install.py [hpcgadmin@gwhost ~]$ /​home/​hpcgadmin/​hpcgateway.2.0.7.hcs.unix.install.full/​HPCGInstaller/​packages/​torii/​config/​cluster/​applications/​install.py
Line 159: Line 168:
  
 5) Restart Cluster & scheduler agents: 5) Restart Cluster & scheduler agents:
 +
 <​code>​ <​code>​
 [hpcgadmin@gwhost ~]$ hpcg.sh -s restart -l scheduler,​cluster [hpcgadmin@gwhost ~]$ hpcg.sh -s restart -l scheduler,​cluster
Line 165: Line 175:
 => start   ​of ​ scheduler ​            ​on ​ gwhost ​         : started successfully => start   ​of ​ scheduler ​            ​on ​ gwhost ​         : started successfully
 => start   ​of ​ cluster.<​CLUSTER_LOGICAL_NAME> ​         on  gwhost ​         : started successfully => start   ​of ​ cluster.<​CLUSTER_LOGICAL_NAME> ​         on  gwhost ​         : started successfully
- 
  
 *************************************************** ***************************************************