Changes between Version 41 and Version 42 of LAMP/Tutorial


Ignore:
Timestamp:
11/25/11 01:22:39 (12 years ago)
Author:
mjaffee@indiana.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LAMP/Tutorial

    v41 v42  
    283283}}}
    284284
    285 Use bash scripting to upload the certificate, move it to the right place, set the correct permissions and owner/group, and finally restart pSConfig:
     285Use bash scripting to upload the certificate, move it to the right place, set the correct permissions and owner/group, update the CA Certificates, and finally restart pSConfig:
    286286
    287287{{{
     
    291291>      ssh fernande@$node "sudo chown root.perfsonar /usr/local/etc/protogeni/ssl/lampcert.pem"
    292292>      ssh fernande@$node "sudo chmod 440 /usr/local/etc/protogeni/ssl/lampcert.pem"
     293>      ssh fernande@$node "sudo /usr/local/etc/protogeni/ssl/getcacerts"
    293294>      ssh fernande@$node "sudo /etc/init.d/psconfig restart"
    294295> done
    295296}}}
    296297
    297 Note that services run under the ''perfsonar'' user, and the httpd server will read the certificate as ''root''. The last step is to (re)start ''pSConfig'', the service that fetches and configures the nodes according to the topology information. If you did not setup the RSpec to run the bootstrap.sh script on startup, you will need to run it on all nodes before starting pSConfig (e.g. I would add {{{ssh fernande@$node "sudo /usr/local/etc/lamp/bootstrap.sh urn:publicid:IDN+emulab.net+slice+lamptutorial urn:publicid:IDN+emulab.net+user+fernande"}}} before the last line on the above command, while you would need to change the slice and user URNs).
     298Note that services run under the ''perfsonar'' user, and the httpd server will read the certificate as ''root''. The last step is to (re)start ''pSConfig'', the service that fetches and configures the nodes according to the topology information. If you did not setup the RSpec to run the bootstrap.sh script on startup, you will need to run it on all nodes before starting pSConfig, even if you did, its a good idea to run it again as it's been known to fail (e.g. I would add {{{ssh fernande@$node "sudo /usr/local/etc/lamp/bootstrap.sh urn:publicid:IDN+emulab.net+slice+lamptutorial urn:publicid:IDN+emulab.net+user+fernande"}}} before the last line on the above command, while you would need to change the slice and user URNs).
    298299
    299300=== 5. Accessing the LAMP Portal ===