IPv6 required GT3 to work with Java SDK1.4 PostgreSQL

caddiepastData Management

Jan 31, 2013 (4 years and 8 months ago)

249 views

July
3
,
2003

Coseners House Workshop

1

Issues on IPv
6
Porting

For Globus and Others

Sheng Jiang, Piers O’Hanlon

Peter Kirstein Team, UCL

(
6
net Project)

July
3
,
2003

Coseners House Workshop

2

Outline


Grid and Globus Overview


IPv6 Advantages


Combining Grid and IPv6


Activities to Enable IPv6 in GT3


IPv6 porting issues and experience


Current Project Status

July 3, 2003

Coseners House Workshop

3

Grid Background


Grid


sharing resources in distributed
networks


Computational Grid


performing large
-
scale computation



Data Grid


sharing storage devices and
remote data access


For collaborative applications


Integrate Web services

July 3, 2003

Coseners House Workshop

4

Globus and Its Role


Globus


large academic Grid project


Globus Toolkit


Symbiotic set of basic grid services


Essentially libraries and services for
computational grids and grid applications


Current version
3


GT
3


Based on OGSA definition


Integrated Web services

July
3
,
2003

Coseners House Workshop

5

IPv6 Advantage Overview


Larger Address Space


Mobility Support


Built
-
in Security


Hooks for QoS


Better Auto
-
configuration


End
-
to
-
end Addressing

July 3, 2003

Coseners House Workshop

6


Mobility support in distributed networks or
global
-
scale networks


Performance potentially much better


Auto
-
configuration for resource discovery


Allow separation of addressing and routing


Better group communication via multicast


Better security

Grid over IPv
6


Full availability of IPv6 will allow
provision of better Grid services

July 3, 2003

Coseners House Workshop

7

Activities to Enable IPv6 in GT3

IPv
6
porting issues and experience

July
3
,
2003

Coseners House Workshop

8

Platform Support for IPv6


IPv
6
-
enabled networking


IPv
6
-
enabled routers


IPv
6
-
enabled network services,
such as DNS


IPv
6
-
enabled host


Operating system support


IPv
6
capable application libraries

July 3, 2003

Coseners House Workshop

9

Associated Applications


Applications are not operating in
isolation


IPv
6
needs support from relevant
Applications


Examples of such applications in GT
3


Java run
-
time environment


JDBC (PostgreSQL)


Tomcat

July 3, 2003

Coseners House Workshop

10

Code Porting in Standard C


GT2 is written in standard C


Nearly completed GT2 porting


Abandoned, because V3 now being released


A few GT3 components are in C


For example Globus_xio


Data Structure and Functions


struct sockaddr_storage


getaddrinfo( ) and getnameinfo( )

July
3
,
2003

Coseners House Workshop

11

Code Porting in Java


GT3 is mainly written in Java


Tested by ANL over SDK 1.3 without IPv6


Demonstrated it works with SDK 1.4


IPv6
-
enabled


Class InetAddress used everywhere


Inet4Address


Inet6Address

July
3
,
2003

Coseners House Workshop

12

Methods of finding IP
dependencies


Identify lower
-
layer APIs by executing Upper
layer applications and monitor network traffic


Identify network functions


Where to get IP addresses or URLs


How to create sockets and network connections


Investigate how Callback functions work


Locate hard
-
coded IPv
4
addresses

July
3
,
2003

Coseners House Workshop

13

Protocols Modification

For IPv
6
Support


A few protocols need to be modified to
suit IPv6 protocols


For example, Grid
-
FTP


Correspondingly, the specific
implementation needs modification


Other protocols are being examined


For example, GRAM

July 3, 2003

Coseners House Workshop

14

Test
Scenarios & Porting Stages


IPv4
-
only in IPv6
-
enabled Environment


May differ from IPv4
-
only Environment


IPv6
-
only


Minimum modification


IPv4 and IPv6 co
-
existing


Dual
-
stack environment


IP
-
version independent


Be able to reply according to requests

July 3, 2003

Coseners House Workshop

15

Current Status

Our Progress in Porting GT
3

to IPv
6
-
enabled Form

July
3
,
2003

Coseners House Workshop

16

Solved problems


Java SDK


IPv
6
required GT
3
to
work with Java SDK
1.4


PostgreSQL


Applied IPv
6
patch


Tomcat


Had to use lightweight
version, with Java SDK
1.4


GT
3
Container Configuration for IPv
6


Located hard
-
coded IP addresses (to be
replaced)

July 3, 2003

Coseners House Workshop

17

Ongoing Issues


Investigation on JDBC invoking functions and
configuration options


Identifying whether to port Java CoG Kit


Implementation of Literal IPv
6
Address
Handling


Implementation of Non
-
web services on IPv
6
calls


IPv
4
and IPv
6
Co
-
existing Services


Setting Configuration Options

July 3, 2003

Coseners House Workshop

18

Further Activities


Will investigate Other Web service
containers


Will Track ongoing Globus changes


Will Create UCL’s own Grid services


Will provide Mobility support in Grid

July
3
,
2003

Coseners House Workshop

19

Conclusion


IPv6
-
only
-
enabled GT3


By August of 2003


First testing IP independent GT3


By End of 2003


Reasonably Complete IP
-
independent
GT3


Includes Update to latest GT3 distribution


Release Middle of 2004

July
3
,
2003

Coseners House Workshop

20

IPv
6
Links


www.cs.ucl.ac.uk/staff/sjiang/


www.
6
net.org


www.
6
winit.org


www.ipv
6
.org/v
6
-
apps.html


General patch repositories


Current available IPv
6
APP