Configuration |
|
Exercise 1 - Configuring Node
Services Using Node Management |
- If you have a camera, connect it to your laptop and add a VideoProducerService
In the Venue Client
- Preferences -> Manage My Node....
- Service -> Add..., VideoProducerService
- Connect to https://vv2.ap-accessgrid.org:8000/Venues/default and make
sure others can see video from you.
- Enable and disable services.
In the Venue Client:
- Preferences -> Manage My Node
- Select VideoProducerService, then Service Disable
Your video should stop transmitting. Select Enable again and your
video should start sending again.
- Save the node configuration as default
In the Venue Client:
- Preferences -> Manage My Node...
- File -> Store Configuration.
- Enter a name for the configuration and check the Set as default
check box
The settings should now load everytime you start the Venue Client.
|
Exercise 2 - Configuring Node
Services Using Node Setup Wizard |
- Try the node setup wizard
In the AGTk menu
- Configure -> Node Setup Wizard
The node setup wizard is a second tool for creating node configurations
as you did in exercise 1. Follow the instructions in the wizard to
create a configuration file.
- Load the new configuration
In the Venue Client
- Preferences -> Manage My Node...
- File -> Load Configuration
- Select the new configuration
|
Exercise 3 - Certificates |
- Request an identity certificate
In the AGTk menu:
- Request a Certificate.
- Follow the instructions in the wizard.
- Install the certificate
In the Venue Client
- Preferences -> Certificate manager...
- Certificate Requests tab.
- Select the new request and click Check Status.
- When the status says Ready, select Install Certificate.
- Find the expiration date of the certificate
In the Venue Client:
- Preferences -> Certificate manager...
- Certificates tab.
- View Certificate button.
Note: A certificate is valid for 1 year.
- Set the new certificate as default
In the Venue Client:
- Preferences -> Certificate manager...
- Certificate tab
- Select your identity certificate and click Make Default
- Destroy and create a proxy
In the Venue Client
- Preferences -> Certificate manager...
- Proxy tab
- Select the proxy and click Destroy
A proxy dialog will open next time you need one.
|
Exercise 4 - Running
and Managing a Server |
- Start a Venue Server from the AGTk menu.
Linux: /usr/bin/VenueServer
- Use the Venue Management Tool to add a venue.
In the AGTk menu
- Venue Management Tool
- Connect to the venue running at https://localhost:8000/VenueServer.
- Add
- Enter information, then Ok
Also, add this venue as exit for the lobby
In Venue Management
- Select the Venue Server Lobby
- Modify
- In the Exits section, add the new venue as exit, then Ok
- With your Venue Client, enter https://localhost:8000/Venues/default
and walk to the new venue.
- Set static addressing for the new venue.
In Venue Mangement
- Select the new venue
- Modify
- Addressing tab
- Use Static Addressing, and then Generate New Addresses
Multicast addresses for this venue will now always stay the same.
|
Exercise 5 - Running a Bridge |
- Download the BridgeServer.cfg file.
- Change the values in the configuration file, make sure to uncomment
the correct value for the qbexec executable for your platform.
- Start a server on your local machine, see Exercise 4.
- Run the bridge
Windows: python c:\Program Files\AGTk-2.4\bin\BridgeServer.py -c /path/to/BridgeServer.cfg
Linux: python /usr/bin/BridgeServer.py -c /path/to/BridgeServer.cfg
Mac: pythonw /Applications/AccessGridToolkit.app/Contents/Resources/bin/BridgeServer.py
-c /path/to/BridgeServer.cfg
Note: OSX users will first have to source the file /Applications/AccessGridToolkit.app/Contents/Resources/setupenv.sh
- From a different computer (the bridge and media tools can not run
on the same machine) start the Venue Client. Enter the venue to where
the bridge is pointing.
- Use the bridge
In the Venue Client:
- Preferences -> Use Unicast
Make sure your media tools works when using the bridge. Also check that
the media tools are pointing to a unicast address
In the Venue Client
- Venue - Properties
|
Exercise 6 - Running the Toolkit
from CVS |
- Check out the AG toolkit from the 2.x branch.
Linux:
setenv CVSROOT :pserver:[email protected]:/cvs/fl
cvs login
cvs checkout -r r_2_3_final AccessGrid
Windows:
The following instructions are intended for use with WinCVS
1.3.
Specify the CVS Repository in the WinCVS preferences dialog box.
This is available from the Admin - Preferences Menu.
For the CVSROOT enter "[email protected]:/cvs/fl".
For the Authentication setting choose "pserver".
To check out a copy of the code, choose the Checkout module
command from the Create menu. For the module name, enter "AccessGrid".
- Go to AccessGrid/tools. Run
python CvsSetup.py -a ..
This will create a setup script env-init.xxx.
- Set your environment variables
Windows: Run the env-init.bat file
Other: Source the env-init.xxx for your shell.
- Run
AccessGrid/bin/VenueClient.py
|