From 9572b3a9091874e610551bc4dc29eae2e6d32a7a Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 6 May 2009 00:30:39 +0000 Subject: [PATCH] install instructons --- INSTALL.txt | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 INSTALL.txt diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 00000000..c52be3d4 --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,70 @@ +Dependencies: +============= +make +gcc +openssl-devel/libssl-dev +pyOpenSSL >= 0.7 +m2crypto + + +Install: +======== +cd geniwrapper/trunk +make + + +Configure: +========== +geni-config-tty + +or + +edit /etc/geni/geni_config +* set GENI_PLC_USER to PLC_MAINTENANCE_USER in /etc/planetlab/plc_config +* set GENI_PLC_PASSWORD to PLC_MAINTENANCE_PASSWORD in /etc/planetlab/plc_config + +copy authorities/ple/ple.pkey to geni/server.key + + +Federation: +=========== +edit /etc/geni/aggregates.xml and /etc/geni/registries.xml +* set addr to ip or hostname of federated peer +* set port to geni service port on federated peer +* set hrn to humarn readable name of federated peer interface + +trade trusted root gid's (found in /usr/share/geniwrapper/geni/trusted_roots/) + +Run: +==== + +First run: +# initialize the registry by running the registry import tool +python gimport.py + +# start the services +/etc/init.d/geniwrapper start + +or + +plc.py -r -d +plc.py -a -d +plc.py -s -d + + +Use: +==== + +Copy my private PL ssh key to ~/.sfi/quetier.pkey + +in cmdline +edit configSfi.sh +export SFI_AUTH=ple.upmc +export SFI_USER=$SFI_AUTH.quetier +export SFI_REGISTRY=http://138.96.255.199:12345/ +export SFI_SM=http://138.96.255.199:12346/ + +source configSfi.sh + +./sfi.py list ple +./sfi.py show ple.upmc.quetier -- 2.43.0