How to install the node manager (unitl we integrate it into the installer)
Standalone, eg. for a Docker container:
-
bash nm-installer.sh
-
service nm-httpd start
-
curl --insecure http:///esgf-nm - should return a default response
-
esgf-nm-ctl start
-
esgf-nm-ctl status – should keep running
-
If any problems check logs either in /esg/logs or /var/log/httpd/error_log
With ESGF:
- Install ESGF – the choice of peer group is now crucial
A) If in a private vm environment using the demonet named instances, use esgf-demo as your peer group
B) If on an open node out on internet to participate in the test federation, use esgf-test as your peer group (confirm its set in esgf.properties)
i) When you’re ready to run a test node as a supernode, I’ll need to update the supernode list on aims1 with the fqdn - contact Sasha (ames4@llnl.gov).
C) A transistion to esgf-prod is TBD
-
git clone the nm-workspace repo
-
Strongly recommended to back up your current esgf installation in case anything goes wrong. The most crucial file to back up is /etc/httpd/conf/esgf-httpd.conf as the nm-installer does change this
-
export HAS_ESGF=1
-
bash nm-installer.sh
The control files referenced in steps 5, 7, 8 are put into /usr/local/bin (path assumed)
-
esg-node restart
-
curl http://localhost/esgf-nm - should work (if doesn't there's a manual setup)
-
esgf-nm-ctl start
-
esgf-nm-ctl status – should keep running
-
If any problems check logs either in /esg/logs or /var/log/httpd/error_log
-
If you are running a membernode: python /usr/local/esgf-nodemgr-doc/code/server/member_node_cmd.py add <project> 0
For now the name of the project isn't relevant, but might be in the future when the node manager manages configurations for "virtual organizations"
Troubleshooting:
- previous versions of esg-node automatically call "update_apache_conf". If step (6) above does not work, comment line 5223 (or check first) of esg-node to disable the update.