| 90 | {{{ |
| 91 | /usr/local/etc/lamp/bootstrap.sh <slice_urn> <user_urn> |
| 92 | }}} |
| 93 | |
| 94 | Bootstrapping only needs to be done once, but the script is idempotent and can thus be run through the startup_command directive of the ProtoGENI CF. Alternatively, you can also run this command manually on the nodes and restart the configuration service (more on this later). |
| 95 | |
| 96 | The next element of our RSpec, the disk_image directive, has already been discussed above. Finally, the `<lamp:config />` extension lets us specify the initial configuration for our nodes. For example, looking at the ''lamp'' node in the RSpec, we see that we have specified that the lamp_portal service should be enabled. '''This extension, however, also specifies which nodes can be configured through the LAMP Portal (and topology annotations).''' This is why we have the empty config element `<lamp:config />` on the ''node1'' and ''node2'' nodes. In other words, the ''lamp'' node will be our host for accessing the LAMP Portal, wherein we can configure all three nodes of our slice. |
| 97 | |
| 98 | Other services can be enabled using the same mechanism, but on this quick start guide we will only cover enabling and configuring services through the LAMP Portal (who wants to read and write XML after all? :). |
| 99 | |
| 100 | |
| 101 | === 1. Modifying the RSpec === |