d ept. of i nfo. & c omm., kjist hands on experience with ag setup dr. jongwon kim 2003/ 8/ 26...

25
DEPT. OF INFO. & COMM., KJIST Hands on experience with AG Hands on experience with AG setup setup Dr. JongWon Kim 2003/ 8/ 26 [email protected] Networked Media Laboratory Dept. of Information & Communications Kwang-Ju Institute of Science & Technology vanced Network Conference/16th APAN Meetings in Busan, Korea APAN Access Grid Training Workshop Session 3 APAN Access Grid Training Workshop Session 3

Post on 19-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

DEPT. OF INFO. & COMM., KJIST

Hands on experience with AG setupHands on experience with AG setup

Dr. JongWon Kim

2003/ 8/ [email protected]

Networked Media LaboratoryDept. of Information & Communications

Kwang-Ju Institute of Science & Technology

Advanced Network Conference/16th APAN Meetings in Busan, Korea

APAN Access Grid Training Workshop Session 3APAN Access Grid Training Workshop Session 3

DEPT. OF INFO. & COMM., KJIST

ContentsContents

Step 1: Hardware Checkup Laptop PC, Web camera, Headset, Network conne

ction.

Step 2: Software Setup Downloading of software. Installation and setup for Python, Globus compone

nt, AGTk2.0

Step 3: Test Run

DEPT. OF INFO. & COMM., KJIST

Step 1: Hardware CheckupStep 1: Hardware Checkup

Prerequisites Laptop PC, Web camera, Headset (headphone & mic). Network Connection (100Mbps Ethernet)

Preparations System OS: Window XP/2k. Connect Web camera & setup (install device driver). Connect headset including headphone and microphone & ch

eck its operation.

DEPT. OF INFO. & COMM., KJIST

Step 2: Software SetupStep 2: Software Setup

http://netmedia.kjist.ac.kr/ag-training/prerequisite.asp

Download the followings: ActiveState Python 2.2 wxPython (links Python and windows GUI)

AGTk Prerequisite Bundle Including Windows Globus, pyGlobus, Globus Configuration Tools,

pyDNS, OpenSSL 0.9.6i, pyOpenSSL, Loggings

Access Grid Toolkit 2.0

DEPT. OF INFO. & COMM., KJIST

Step 2.1: Python-related InstallationStep 2.1: Python-related Installation

Install ActiveState Python 2.2 ActivePython-2.2.2-224-win32-ix86.msi

Install wxPython wxPythonWIN32-2.4.0.2u-Py22.exe

After installation Check this box!!

DEPT. OF INFO. & COMM., KJIST

Step 2.2: AGTk Globus bundle InstallationStep 2.2: AGTk Globus bundle Installation

Install AGTk Prerequisite Bundle WindowsGlobus-2.0.exe

After installation Check this box!!

DEPT. OF INFO. & COMM., KJIST

Setting up WinGlobusSetting up WinGlobus

Click!

You can see Missing part!(certificate and key)

After installation of winglobus, Check 'set up Globus runtime environment' and finish.

DEPT. OF INFO. & COMM., KJIST

Setting up WinGlobus (cont.)Setting up WinGlobus (cont.)

Obtaining certificates and Initializing the grid proxy It is for each person, not for each node Uniquely identifies a user

(O=Access Grid/ OU=agdev-ca.mcs.anl.gov/ OU=apan.net/ CN=ag-training)

(Training WS ONLY)• O= Associates certificate with an Organization• OU=Associates certificate with an Organizational Unit

– OU: agdev-ca.mcs.anl.gov is the signing CA’s address– OU: apan.net is your domain

• CN= is the unique name of the user

Note: You need to obtain your own certificate and use it!

DEPT. OF INFO. & COMM., KJIST

Setting up WinGlobus (cont.)Setting up WinGlobus (cont.)

Obtaining certificates and Initializing the grid proxy Run ‘Get a Certificate’ in your program folder => will create userkey.

pem & userreq.pem Mail the created userreq.pem to ANL MCS ([email protected]). From the mail reply (after 2 business days), save the usercert.pem i

nto C:/Documents and Settings/user_account/Application Data/globus folder

Run “Globus Configuration” for setup

Gird proxy initializing (before running venue client or server)• Creating the grid proxy with usercert.pem and userkey.pem

DEPT. OF INFO. & COMM., KJIST

Setting up WinGlobus (cont.)Setting up WinGlobus (cont.)

Run ‘Get a Certificate’ in your program folder

Mail the userreq.pem to [email protected]

for certification

PEM password:ag-training

Identifies user[O, OU, OU, CN]

DEPT. OF INFO. & COMM., KJIST

Setting up WinGlobus (cont.)Setting up WinGlobus (cont.)

Run ‘Globus Configuration’ in your program folder

Before, receiving the certification

You will see missing part!!

DEPT. OF INFO. & COMM., KJIST

Setting up WinGlobus (cont.)Setting up WinGlobus (cont.)

Download certificate (Training WS ONLY) http://netmedia.kjist.ac.kr/ag-training/prerequisite.asp

Save certificates in C:/Documents and Settings/user_account/Application Data/globus

Run ‘Globus Configuration’

Everything OK!

DEPT. OF INFO. & COMM., KJIST

Step 2.4: AGTk 2.0 InstallationStep 2.4: AGTk 2.0 Installation

Access Grid Toolkit 2.0 AGTk-2.0.exe

If you want to setup your own venue server, check

server software part

After install you can see this box. Check "Setup what video

devices will produce video stream" and finish

DEPT. OF INFO. & COMM., KJIST

Step 3: Test RunningStep 3: Test Running

Certificate handling: Run Grid-Proxy-Init

Run Venue Client & Operate

(Optional) Local Venue Server

DEPT. OF INFO. & COMM., KJIST

Step 3.1: Test Running (Grid Proxy Init)Step 3.1: Test Running (Grid Proxy Init)

Run the Grid-Proxy-Init Every user and service in the Access Grid is required to have a

valid identity certificate issued by a trusted certificate authority. A certificate is basically used to assure your security when conn

ected to the Access Grid. Grid Proxy: You are not actually using your certificate for authe

ntication. Rather you have to create a grid proxy certificate, which is used for authentication without requiring you to enter your pass phrase. Once you have initiated the proxy with your password you will not have to enter it again until the proxy is invalid. However, longer validity means less security.

Before running VenueClient

DEPT. OF INFO. & COMM., KJIST

Step 3.1: Test Running (Grid Proxy Init)Step 3.1: Test Running (Grid Proxy Init)

Run the Grid-Proxy-Init

At first, there is no proxy• Click ‘create’, you can see the information of certificate

Setting the hours what express proxy validation time, click ‘OK’• Preferable value of ‘hours’ is 15.

– Created time is Greenwich mean time (GMT)– Good till is bigger than current time.

Enter the passPhrase: ag-training

Originally made in requesting globus certificate procedures Click ‘Done’

DEPT. OF INFO. & COMM., KJIST

Grid Proxy Init (cont.)Grid Proxy Init (cont.)

There is no proxy

Created proxy information

Enter the PassPhrase“ag-training”

Set ‘Hours’

8 larger

Set proxy validation time and click ‘OK’•Preferable value of ‘hours’ is 15. –Created time is Greenwich mean time (GMT)–Good till is bigger than current time.

DEPT. OF INFO. & COMM., KJIST

Step 3.2: Test Running (VenueClient)Step 3.2: Test Running (VenueClient)

Run the VenueClient You can see the message box "Please, fill your profile“ Fil

l them. Then, you can see the venue client....Click the go~ If this is first time, you can see this message box.

Fill your e-mail address and click ‘Accept’.

DEPT. OF INFO. & COMM., KJIST

Venue Client (cont.)Venue Client (cont.)

VenueClient run venue client run node manager (Menu bar/Preferences/Manage My nod

e)• Add video producer service with your own video device

– Default services: audio, video consumer service

• Connect to venue server– Default address:https://vv2.mcs.anl.gov:9000/Venues/default– Own local venue server:https://localhost:8000/Venues/default

DEPT. OF INFO. & COMM., KJIST

VenueClient (cont.)VenueClient (cont.)

Venue client

Node manager

Vic (video)

Rat (audio)

Connect to venue server

Created venues

Adding ‘VideoProbuceService’

to send your video

DEPT. OF INFO. & COMM., KJIST

VenueClient (cont.)VenueClient (cont.)

Vic control Auto place Number of column in small vic: Number key Size of each vic:

• Large(L), Middle(M), Small(S)

Video Mute control

Rat control Select audio source / Mute control

• ‘Listen’ – speaker,

• ‘Talk’ - microphone,

Volume control using ‘Gain’

DEPT. OF INFO. & COMM., KJIST

(Optional) Venue server(Optional) Venue server

local venue server run venue server run venue server manager

• Connect to venue server that you (administrator) want to manage

• Create/Destroy/Modify venues (conference room)– Each venues have to connect with other venues using ‘exit’

DEPT. OF INFO. & COMM., KJIST

VenueServer (cont.)VenueServer (cont.)

Venue server

Venue server manager

Local venue server address

& port

Connect to venue server

Creating/Deleting/Modifying Venues

Connecting each venues in venue server

DEPT. OF INFO. & COMM., KJIST

Additional ReferencesAdditional References

AG Documents from Access Grid Official WWW Venue Client Manual, Venue Management Manual, HowTo build a

Room Based Node • http://www-unix.mcs.anl.gov/fl/research/accessgrid/documentation/inde

x.html How To Install and Configure AG 2.0 on a Single Machine Node (PI

G), for WindowsXP• http://www.accessgrid.org/agdp/documentation-index.html

AG 2003 Retreat - AG Installation and Packaging• http://www-unix.mcs.anl.gov/fl/events/agr2003/proceedings/D-leggett-in

stallation.pdf AG 2003 Retreat - Hardware Setup

• http://www-unix.mcs.anl.gov/fl/events/agr2003/proceedings/U-leggett-hardware.ppt

DEPT. OF INFO. & COMM., KJIST

Thank you!Thank you!Send Inquiry to [email protected]

http://netmedia.kjist.ac.kr