| 11 | |
| 12 | Defined the omni_config setting to access the aggregates: |
| 13 | {{{ |
| 14 | [omni] |
| 15 | users = lnevers |
| 16 | |
| 17 | [plc] |
| 18 | type=sfa |
| 19 | authority=plc.bbn |
| 20 | user=plc.bbn.lnevers |
| 21 | cert=~/.gcf/plc.bbn.lnevers.gid |
| 22 | key=~/.gcf/lnevers.pkey |
| 23 | registry=http://www.planet-lab.org:12345 |
| 24 | slicemgr=http://www.planet-lab.org:12347 |
| 25 | |
| 26 | [pg] |
| 27 | type=pg |
| 28 | ch = https://www.emulab.net:443/protogeni/xmlrpc/ch |
| 29 | sa = https://www.emulab.net:443/protogeni/xmlrpc/sa |
| 30 | cert = ~/.ssl/protogeni/encrypted-cleartext.pem |
| 31 | key = ~/.ssl/protogeni/encrypted-cleartext.pem |
| 32 | |
| 33 | [lnevers] |
| 34 | urn = urn:publicid:IDN+emulab.net+user+lnevers |
| 35 | keys=~/.ssh/id_rsa.pub |
| 36 | }}} |
| 37 | |
| 38 | Defined the directory.xml for each of the !PlanetLab, !ProtoGENI and ORCA resource managers: |
| 39 | {{{ |
| 40 | <?xml version="1.0" encoding="UTF-8"?> |
| 41 | <gush> |
| 42 | <resource_manager type="geni-plc"> |
| 43 | <port_map slice="bbn_gusheval" port="61414"/> |
| 44 | </resource_manager> |
| 45 | <resource_manager type="geni-orca"> |
| 46 | <port_map slice="gush-orca-ln" port="11400"/> |
| 47 | </resource_manager> |
| 48 | <resource_manager type="geni-pg"> |
| 49 | <port_map slice="lnevers3" port="61600"/> |
| 50 | </resource_manager> |
| 51 | </gush> |
| 52 | }}} |
| 53 | |
| 54 | Created a slice for the experiment: |
| 55 | {{{ |
| 56 | $ helper-scripts/handle-geni.py -n -f pg -a https://www.emulab.net/protogeni/xmlrpc/am createslice gush-orca-gir |
| 57 | INFO:omni:Loading config file omni_config |
| 58 | INFO:omni:Using control framework pg |
| 59 | Created slice with Name gush-orca-gir, URN urn:publicid:IDN+emulab.net+slice+gush-orca-gir |
| 60 | }}} |
| 61 | |
| 62 | Defined an ORCA rspec file named orca.rpec: |
| 63 | {{{ |
| 64 | <?xml version="1.0" encoding="UTF-8"?> |
| 65 | <rspec type="request" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 |
| 66 | http://www.protogeni.net/resources/rspec/2/request.xsd" |
| 67 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 68 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 69 | xmlns="http://www.protogeni.net/resources/rspec/2"> |
| 70 | <node client_id="geni1"> |
| 71 | <sliver_type name="raw-pc"> |
| 72 | <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b |
| 73 | 7b533bb67dea1e" /> |
| 74 | </sliver_type> |
| 75 | <services> |
| 76 | <execute shell="sh" command="sudo hostname `cat /var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/> |
| 77 | </services> |
| 78 | <interface client_id="geni1:0"> |
| 79 | <ip address="172.16.1.1" netmask="255.255.0.0" /> |
| 80 | </interface> |
| 81 | </node> |
| 82 | <node client_id="geni2"> |
| 83 | <sliver_type name="raw-pc"> |
| 84 | <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b |
| 85 | 7b533bb67dea1e" /> |
| 86 | </sliver_type> |
| 87 | <services> |
| 88 | <execute shell="sh" command="sudo hostname `cat /var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/> |
| 89 | </services> |
| 90 | <interface client_id="geni2:0" > |
| 91 | <ip address="172.16.1.2" netmask="255.255.0.0" /> |
| 92 | </interface> |
| 93 | </node> |
| 94 | <link client_id="center"> |
| 95 | <interface_ref client_id="geni1:0" /> |
| 96 | <interface_ref client_id="geni2:0" /> |
| 97 | </link> |
| 98 | </rspec> |
| 99 | }}} |
| 100 | |
| 101 | Created a sliver with the GUSH handle-geni.py script: |
| 102 | {{{ |
| 103 | $ helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc createsliver gush-orca-gir orca.rpec |
| 104 | INFO:omni:Loading config file omni_config |
| 105 | INFO:omni:Using control framework pg |
| 106 | Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result: Error encountered converting RSpec to NDL: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused |
| 107 | }}} |
| 108 | |