Version 3 (modified by 12 years ago) (diff) | ,
---|
GEMINI Testing executed on 9/12/2012
What was tested
Today I tested the global node active measurement install script provided by Matt Jaffee using an InstaGENI slice.
Test Status
Test Details
1. Establish test/experiment environment
User Workspace
- Using the GEC14 Tutorial VM
- Inputs:
- GENI certificate
- Two formats: PEM and PKC12
- installed in $HOME/.ssl
- location of PEM file configured in omni_config
- stripped the passphrase for automation
- created the password file to be used by instrumentize.py
- SSH key pair
- installed in $HOME/.ssh
- location configured in omni_config
- key added to ssh-agent
- GENI certificate
- All credentials configured using credconfig.sh script
- GENI pkc12 certificate installed in the Firefox browser
- Outputs:
- omni.py ready to use
- ready to log into nodes in the slice
UNIS server
LAMP CA
Git Repository
- https://github.com/GENI-GEMINI/GEMINI/downloads
- Matt updated gemini-active-gn-fedora-20120910test.tar.gz
Package server
- gemini.netlab.uky.edu
- Installed Matt's GN-active_pkg_install-fedora.sh script (from email) at /var/www/GEMINI/0.1/scripts/Fedora_15/x86_64/GN-active_pkg_install.sh
2. Obtain slice of GENI resources
- Used omni to create the slice and the sliver on InstaGENI aggregate
- Used insta.rspec
- Had to retry the sliver creation several times. Sometimes one of the nodes would fail.
omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 -n createsliver ${SLICENAME} ${RSPECPATH} --api-version 2 -t GENI 3
- Made sure I could ssh in to all of the nodes without a password
- Sometimes one of the nodes would fail to allow logging in with my key. Had to recreate the sliver when this happened.
3. Install and configure GEMINI I&M tools
- Ran instrumentize.py to install and configure GEMINI tools on the nodes in the slice
./instrumentize.py -f ~/.ssl/johrenpgeni.pem -n johGEM201209121444
- Resulting logs:
- Ran into a few issues:
- Had to run dos2unix on the script to eliminate carriage returns (artifact of email client?)
- /usr/sbin is not in the default path so cannot find adduser (line 82 of GN-active_pkg_install.sh)
- adduser arguments are not the same on Fedora (group must be specified differently)
(nobody user already exists so probably just want to add group perfsonar?)
- httpd fails to start in apache2-fed.sh. Error:
Starting httpd: [Wed Sep 12 13:57:36 2012] [warn] _default_ VirtualHost overlap on port 443, the first has precedence [FAILED]
- perfSONAR_PS-Toolkit-fed.sh attempts to restart web server on line 48 with "/etc/init.d/apache2 restart" rather than "/etc/init.d/httpd restart"
4. Release resources, and cleanup
- Used omni to delete the sliver
geniuser@UserWorkspace:~/Tutorials/GEMINI/common$ omni.py -a insta-utah deletesliver johGEM1208221147 -V 2 -t GENI 3
- Inputs:
- slice name
- Outputs:
- sliver has been deleted
Attachments (3)
-
INSTOOLS.log (155.3 KB) - added by 12 years ago.
INSTOOLS.log from GN
-
42.log (50.6 KB) - added by 12 years ago.
instrumentize log
-
GN-active_pkg_install-fedora.sh (3.3 KB) - added by 12 years ago.
Matt's script from email
Download all attachments as: .zip