Rspecrequestsharedexample
Example of an RSpec request for two nodes virtualized on pcs which may be running more than one experiment.
You may wish to use virtualization to create a sliver on a shared node which splits a physical resource among multiple experiments. Here is a request which creates a shared node. Currently, shared nodes use OpenVZ:
RSpec V2 Example
<?xml version="1.0" encoding="UTF-8"?> <rspec xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd" type="request" > <node client_id="my-node" exclusive="false"> <sliver_type name="emulab-openvz" /> </node> </rspec>
RSpec V0.1 Example (Deprecated)
<rspec xmlns="http://www.protogeni.net/resources/rspec/0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/0.1 http://www.protogeni.net/resources/rspec/0.1/request.xsd" type="request" > <node component_manager_uuid="urn:publicid:IDN+emulab.net+authority+cm" virtual_id="shared1" virtualization_type="emulab-vnode" virtualization_subtype="emulab-openvz" exclusive="0"> <node_type type_name="pcvm" type_slots="1"/> <interface virtual_id="control"/> </node> </rspec>
When logging onto this nodes, you have to ssh to the correct port. This is returned in the manifest (example).