FP6−2004−Infrastructures−6-SSA Migrate GOS to IPv6 Beihang University Yongjian Wang
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Agenda IPv6 in China How to migrate GOS to IPv6 IPv6 backbone test environment Migration timetable
Yongjian Wang,Beihang University,Geneva,November 16, 2016 IPv6 in China
Yongjian Wang,Beihang University,Geneva,November 16, 2016 An introduction to IPv6 in China An large IPv6 testbed has been constructed to connect institutes and universities all across China. Core nodes in primary cities such as Beijing, Shanghai, Xi’an and so on, user can access IPv6 through connecting to core nodes Separate to existing IPv4 network, no IPv4/IPv6 hybrid network environment in China at present Concentrate on IPv6 network layer A big project named CNGI has been launched by government to promote IPv6 application CNGI short for China Next Generation Internet Concentrate on IPv6 application
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Architecture of IPv6 testbed
Yongjian Wang,Beihang University,Geneva,November 16, 2016 The way GOS choose to support IPv6
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Migrate GOS to IPv6
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Role of GOS Grid middleware running on China National Grid (CNGrid) which both support IPv6 and IPv4 relationship between GOS and CNGrid is just like GLite and glida Promote CNGrid to use IPv6 backbone more effectively Implement interoperable operation with European Grid middleware
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Test environment in development
Yongjian Wang,Beihang University,Geneva,November 16, 2016 GOS Runtime Operating System Windows 2003, Red Hat Linux JRE JDK1.5.0_06 Database MYSQL or above versions Servlet Container Tomcat Web Service Engine Axis-1.2RC2 Message-Oriented Middleware ActiveMQ 4.0.2RC2
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Migrate GOS to IPv6 (1/2) Change IP address format Adjust the configuration file to confirm IPv6-style addresses used IPv6 support in Java – IPv6 support history in different Operating System > IPv6 support on Solaris and Linux since J2SE 1.4 > IPv6 support on Windows since J2SE 1.5 – Two different parameters can be used adjust the behavior of JVM: > java.net.preferIPv4Stack (default: false) -Only IPv4 packet will be proceeded if this argument set to true > java.net.preferIPv6Addresses(default: false) -IPv4 mapped address such as ::ffff:w.x.y.z used if argument value is false -Should be set argument to true if want to use IPv6 address
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Migrate GOS to IPv6 (2/2) Postgresql is the only DBMS that declare to support IPv6, but we use MYSQL now Update some third party libraries Some security related libraries need to change Access control list need to update Message-oriented middleware is used for synchronized between different GOS nodes No Message-oriented middleware declared to support IPv6, so it may be a problem.
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Migrate GOS to IPv6 (3/3) Service Grip, Agora, UMS, RMS, Router, Hotfile, BatchService, Security etc Client side Correspond API need to update to support IPv6 Configure and Manage tools Script for GOS boot, GOS stop, router manage, etc.
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Configure file
Yongjian Wang,Beihang University,Geneva,November 16, 2016 IPv6 version GOS Portal
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Snapshoot version Windows version build0913-Win32.zip Linux version build0913-Linux.tar.gz
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Problems (1/3) Only Firefox can access the GOS portal at IPv6 mode Both IE and Opera have some problems to access IPv6 (IE?) Both IPv4 and IPv6 supported on GOS node now, so it’s difficult for us to find out whether functions are finished through IPv4 or IPv6 Complete test cases are need No IPv6 compatible batch job system found, we must do batch job schedule in IPv4 mode OpenPBS, LSF supported now (IPv6 version?)
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Problems (2/3) MYSQL MYSQL doesn’t support IPv6 currently Experiment – No Jdbc driver for MYSQL support IPv6 – But Jdbc driver can access local database using machine name both in pure IPv6 and dual stack environment Limitations – GOS and MYSQL database server must be installed on the same machine – If MYSQL installed on remote machine, dual stack is required
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Problems (3/3) ActivmeMQ Broker URL should be tcp://localhost:61616 Only test in our development environment, more test is needed in actual IPv6 environment Perhaps some new problems will be found out Person from Microsoft tell me IPv6 address format will be different depend on the destination address type ……. Complete test cases are urgently needed to test the compatibility of our grid software. Perhaps some test cases have be released, we need to find a useful one or develop by ourselves
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Some Tips Machine name is preferred because both IPv4 and IPv6 can resolve machine name correctly Windows and Linux have some differences in IPv6 support: Windows need to append suffix like %n if the destination isn’t a global address Use [ipconfig] or [ipv6 if] command to determine the value of n Persons from Microsoft tell me if destination is global IPv6 address, no suffix like %n need to append, but I need to do some experiments to confirm this Linux seems adopt a different solution, no suffix %n need to append
Yongjian Wang,Beihang University,Geneva,November 16, 2016 IPv6 backbone test environment
Yongjian Wang,Beihang University,Geneva,November 16, 2016 IPv6 backbone test environment New version IPv6 GOS will be running on most of CNGrid node, and will connect to CNGI(China Next Generation Internet,IPv6 Backbone) Set up two GOS nodes for test Beihang ( Beihang University ) Tsinghua ( TsingHua University ) Information about Beihang: User/pass: usr1/usr1 resourcemanager / resourcemanager policymanager / policymanager
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Testbed based on actual IPv6 network
Yongjian Wang,Beihang University,Geneva,November 16, 2016 GOS Node in Beihang University Front machine Portal and batch service IPv6 IPv4 cluster :da8:ae:200:20a:ebff:fe2e:4d service machine IPv6/IPv4 IPv4 dual protocol supported GOS can be separated into two parts
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Migration timetable
Yongjian Wang,Beihang University,Geneva,November 16, 2016 Timetable Timetable for migrate GOS to IPv6 Set up global testbed (finished) Make up detailed test plan – in progress, plan to finished by the end of September Give a detailed test report – In progress, plan to finished on Oct.15 th Deploy our IPv6 version software on CNGrid – Plan to finished by the end of October
FP6−2004−Infrastructures−6-SSA Thanks! Q&A