wiki:JOhrenSandbox/LAMPTestcase

Version 3 (modified by Jeanne Ohren, 12 years ago) (diff)

--

LAMP slice with 3 PCs, one aggregate

  1. Create the slice using OMNI
$ omni.py createslice johren-lamp-tc1
  1. Create the sliver using OMNI
omni.py -a https://www.emulab.net/protogeni/xmlrpc/am -n createsliver johren-lamp-0409 rspecs/lamp-pgv0.2.rspec
  1. Get the manifest using protogeni test script (remove first few lines from the file)

getmanifest.py -n johren-lamp-tc1 > johren-lamp-manifest.xml
  1. Get the slice credential using protogeni test script (remove first line from the file)
getslicecredential.py -n johren-lamp-tc1 > johren-lamp-cred.xml
  1. Send the manifest to UNIS
lamp-sendmanifest.py 0.2 johren-lamp-manifest.xml urn:publicid:IDN+emulab.net+slice+johren-lamp-tc1 johren-lamp-cred.xml
  1. Get the LAMP certificate from the LAMP CA
lamp-getcertificate.py -n johren-lamp-tc1 > lampcert.pem
  1. Install the LAMP certificate on all of the nodes in the slice
placelampcert.sh johren-lamp-manifest.xml lampcert.pem
  1. Login to the LAMP portal (Make sure either GENI certificate or LAMP certificate are installed in the browser)
    • LAMP certificates will allow anyone access to that slice.
    • GENI certificates will allow access to any slice owned by the person identified in the certificate
    • Be aware of the expiration date if using LAMP certificates. They will expire at the time the slice expired when the cert was created. Renewing the slice does not change the cert.
  1. Enable the services
  1. Schedule the tests

LAMP slice with 1 PCs, 2 VMs, one aggregate

  1. Create the slice using OMNI
$ omni.py createslice johren-lamp-tc1
  1. Create the sliver using OMNI
omni.py -a https://www.emulab.net/protogeni/xmlrpc/am -n createsliver johren-lamp-0409 rspecs/lamp-pgv0.2.rspec

LAMP slice with 3 VMs, one aggregate

  1. Create the slice using OMNI
$ omni.py createslice johren-lamp-tc1
  1. Create the sliver using OMNI
omni.py -a https://www.emulab.net/protogeni/xmlrpc/am -n createsliver johren-lamp-0409 rspecs/lamp-pgv0.2.rspec

LAMP slice with 3 PCs, two aggregates

  1. Create the slice using OMNI
$ omni.py createslice johren-lamp-tc1
  1. Create the sliver using OMNI
omni.py -a https://www.emulab.net/protogeni/xmlrpc/am -n createsliver johren-lamp-0409 rspecs/lamp-pgv0.2.rspec