183 | | In order to enable the communication between testbed nodes and XMPP server, pubsub nodes must be created before experiments can be run. |
184 | | |
185 | | Run following command on your local machine: |
186 | | {{{ |
187 | | #!html |
188 | | <span style="color:red">Don't forget to replace gimiXX with your current userID. |
189 | | </span> |
190 | | }}} |
191 | | |
192 | | {{{ |
193 | | omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimiXX nodeA nodeB nodeC nodeD nodeE |
194 | | }}} |
195 | | |
196 | | You only need to create pubsub node once for each new slice name. |
197 | | |
| 183 | The RCs and the EC communicate via an XMPP server. The GIMI XMPP is running on emmy9.casa.umass.edu. |
| 184 | |
| 185 | * First the ExoGENI instances and the experiment slice should be registered with the XMPP server. You can achieve this using the OMF AM by issuing the following command from a terminal in the user workspace. In the following command, please change "gimiXX" to the user name provided to you. |
| 186 | {{{ |
| 187 | $ omf_create_psnode-5.4 "XMPP Server" mkslice "slice_name" "list_of_nodenames" |
| 188 | |
| 189 | E.g., omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimiXX-tutorial gimiXX-tutorial-nodeA gimiXX-tutorial-nodeB gimiXX-tutorial-nodeC |
| 190 | }}} |
| 191 | If this succeeds you should see an output similar to the one below |
| 192 | {{{ |
| 193 | $ omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi28 nodeA nodeB nodeC nodeD nodeE |
| 194 | DEBUG: Try to connect to Pubsub Gateway 'emmy9.casa.umass.edu'... |
| 195 | DEBUG: Try to connect to Pubsub Gateway 'emmy9.casa.umass.edu:5222'... |
| 196 | DEBUG: Connected as 'aggmgr@emmy9.casa.umass.edu' to XMPP server: 'emmy9.casa.umass.edu' |
| 197 | Connected to PubSub Server: 'emmy9.casa.umass.edu' |
| 198 | }}} |