{"id":164,"date":"2013-09-26T09:32:11","date_gmt":"2013-09-26T07:32:11","guid":{"rendered":"http:\/\/blog.novaknet.de\/?p=164"},"modified":"2014-07-01T17:04:53","modified_gmt":"2014-07-01T15:04:53","slug":"sametime-8-5-2-x-migration-to-sametime-9","status":"publish","type":"post","link":"https:\/\/blog.novaknet.de\/?p=164","title":{"rendered":"Sametime 8.5.2.x DB2 Migration to Sametime 9"},"content":{"rendered":"<p>IBM published the document for migrate your DB2 data (like SSC policies or Meeting DB) to the new Sametime 9 enviroment.<\/p>\n<h3><a title=\"Sametime 8.5.2.x Migration to Sametime 9\" href=\"http:\/\/www-01.ibm.com\/support\/docview.wss?uid=swg21646498\" target=\"_blank\">Sametime 8.5.2.x Migration to Sametime 9<\/a><\/h3>\n<h3><a href=\"http:\/\/www-10.lotus.com\/ldd\/stwiki.nsf\/xpDocViewer.xsp?lookupName=Administering+Sametime+9.0+documentation#action=openDocument&amp;res_title=Migrating_from_Sametime_8.5.2x_st9&amp;content=pdcontent\">Migrating from Sametime 8.5.2x (Wiki Doku)<\/a><\/h3>\n<p>You can either stay on DB2 Version 9.5 (Sametime 8.5.0\/8.5.1) or 9.7 (Sametime 8.5.2) or you can upgrade DB2 to Version 10.1 (see the IBM statement)<\/p>\n<blockquote><p><span style=\"color: #3366ff;\">&#8222;Please note that none of the deprecated or discontinued features in 10.1 have a direct impact on Sametime deployments.&#8220;<\/span><\/p><\/blockquote>\n<p>Here is a &#8222;shorcut&#8220; for the steps<\/p>\n<p><span style=\"color: #ff0000;\"><em>Because IBM references directly to the DB2 documentation i will give you a indeep migration step.<\/em><\/span><\/p>\n<p><strong>Keep Sametime Community Server before upgrading<\/strong><\/p>\n<ul>\n<li>unregister ST Community Server(s)\/MUX from ST System Console\n<ul>\n<li>check entries in\u00a0 &#8230;\/domino\/console\/productconfig.properties &amp; console.properties<\/li>\n<li>&#8230;\/domino\/console\/<span style=\"color: #ff0000;\"><strong>unregisterproduct.bat<\/strong> <\/span>&gt; should remove ST Community Server from SSC<\/li>\n<li><strong><span style=\"color: #ff0000;\">Deregistration will you disconnet from SSC policies and policies in stpolicy.nsf will take place !!!<\/span><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>Uninstall Sametime 8.5.2.x enviroment<br \/>\n<\/strong><\/p>\n<ol>\n<li>Start Installation Manager and deinstall all components within<\/li>\n<li>Deinstall Installation Manager 1.4.2<\/li>\n<li>Delete or Move kept Installation folder \\Websphere\\*<\/li>\n<\/ol>\n<p><strong>in-place DB2 Server Upgrade to Version 10.1 <span style=\"color: #0000ff;\">(or you can stay on Version 9.5 or 9.7)<\/span><br \/>\n<\/strong><\/p>\n<ol>\n<li>Check if databases are DB2 V10.1 compatible\n<ul>\n<li>Extract DB2 V10.1 Installation package<\/li>\n<li>C:\\install\\<span style=\"color: #0000ff;\">db2v10setup<\/span>\\WSER\\image\\db2\\Windows\\utilities\\<span style=\"color: #0000ff;\">db2ckupgrade.exe STMS -L c:\\db2.log -u db2admin -p passwort<\/span><br \/>\nMessage should be like this &gt;&gt; <em><span style=\"color: #008000;\">DBT5508I\u00a0 The db2ckupgrade utility completed successfully. The database or databases can be upgraded.<\/span><\/em><\/li>\n<\/ul>\n<\/li>\n<li>Check\/Show DB2 instances C:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><strong>db2ilist<\/strong><\/span><\/li>\n<li>Install\/Update DB2 to Version 10.1<\/li>\n<li>Install DB2 NetExtender Addon<\/li>\n<\/ol>\n<p><strong>Upgrade DB2 database(s) to Version 10.1<\/strong><\/p>\n<ol>\n<li>Drop\/Disconnet all connections to DB2\n<ul>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><strong>db2stop force<\/strong> <\/span>\u00a0 \u00a0&gt;&gt;&gt; Disconnects all users and stops the instance<br \/>\n<span style=\"color: #339966;\"><em>SQL1064N\u00a0 DB2STOP processing was successful.<\/em><\/span><br \/>\nC:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><strong>db2 terminate<\/strong><\/span> \u00a0 &gt;&gt;&gt; Terminates back-end process<br \/>\n<span style=\"color: #339966;\"><em>DB20000I\u00a0 The TERMINATE command completed successfully.<\/em><\/span><\/li>\n<\/ul>\n<\/li>\n<li>Check if upgrade of DB2 is needed\n<ul>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<strong><span style=\"color: #ff0000;\">db2level<\/span><\/strong><br \/>\n<em><span style=\"color: #339966;\">DB21085I\u00a0 Instance &#8222;DB2&#8220; uses &#8222;64&#8220; bits and DB2 code release &#8222;SQL10010&#8220; with<\/span><\/em><br \/>\n<em><span style=\"color: #339966;\"> level identifier &#8222;0201010E&#8220;.<\/span><\/em><br \/>\n<em><span style=\"color: #339966;\"> Informational tokens are &#8222;DB2 v10.1.0.872&#8220;, &#8222;s120403&#8220;, &#8222;NTX64101&#8220;, and Fix Pack \u00a0&#8222;0&#8220;.<\/span><\/em><br \/>\n<em><span style=\"color: #339966;\"> Product is installed at &#8222;C:\\IBM\\SQLLIB&#8220; with DB2 Copy Name &#8222;DB2COPY1&#8220;.<\/span><\/em><\/li>\n<li>Otherwise use C:\\IBM\\SQLLIB\\BIN&gt;<strong><span style=\"color: #ff0000;\">db2iupgrade DB2 \/u:db2admin.password<\/span><\/strong><\/li>\n<\/ul>\n<\/li>\n<li>Upgrade Sametime DB2 database &#8211; otherwise you get the error message &#8222;<em><span style=\"color: #ff0000;\">The database must be upgraded to the current release.<\/span><\/em>&#8220;\n<ul>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><b>db2 upgrade database STMS<br \/>\n<\/b><\/span><\/li>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><b>db2 upgrade database STADV<\/b><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>System Console<\/strong> (<span style=\"color: #ff0000;\">you will loose all your configuration, so you have to document it first and then reasign it to the new SSC<\/span>)<\/p>\n<p><span style=\"color: #ff0000;\"><em><strong>==&gt; <span style=\"text-decoration: underline;\">NOVI recommendation<\/span>: Write down all Policy Settings and recreate the settings in the new STSC DB in Sametime 9 SSC<\/strong><\/em><\/span><\/p>\n<ul>\n<li><strong><span style=\"color: #ff0000;\"><em>&gt;&gt;&gt; Miss Step 1 &amp; 4<br \/>\n<\/em><\/span><\/strong><\/li>\n<\/ul>\n<ol>\n<li>Export Policy Tables POLICY.TEMPLATE &amp; POLICY.ASSIGNMENT from ST 8.5 SSC<\/li>\n<li>Backup\/Delete old STSC database\n<ul>\n<li>Backup\/Rename STSC database if needed\n<ul>\n<li>create <strong><span style=\"color: #0000ff;\">db2rename.cfg<\/span><\/strong> file manually<br \/>\n<em><span style=\"color: #0000ff;\">\u00a0\u00a0 DB_NAME=STSC,STSC85<\/span><\/em><br \/>\n<em><span style=\"color: #0000ff;\">\u00a0\u00a0 DB_PATH=c:\\<\/span><\/em><br \/>\n<em><span style=\"color: #0000ff;\">\u00a0\u00a0 INSTANCE=DB2<\/span><\/em><br \/>\n<em><span style=\"color: #0000ff;\">\u00a0\u00a0 NODENUM=0<\/span><\/em><\/li>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><strong>db2stop<\/strong><\/span><\/li>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<strong><span style=\"color: #ff0000;\">db2relocatedb.exe -f c:\\install\\db2rename.cfg<\/span><\/strong><br \/>\n<span style=\"color: #339966;\"><em>Files and control structures were changed successfully.Database was catalogued successfully.DBT1000I\u00a0 The tool completed successfully.<\/em><\/span><\/li>\n<\/ul>\n<\/li>\n<li>Delete STSC database\n<ul>\n<li>C:\\IBM\\SQLLIB\\BIN&gt;<span style=\"color: #ff0000;\"><b>db2 drop database STSC<\/b><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Create a NEW SSC Database (e.g. STSYCON)<\/li>\n<li>Import Policy Tables into ST 9 SSC<br \/>\n<em><span style=\"color: #008000;\">&gt;&gt; Just check before if you need this step or if it is faster to recreate the policies again<\/span><\/em><\/li>\n<li>Install new Sametime 9 System Console Server (with the new STSYSCON DB)\n<ul>\n<li>Install Installation Manager 1.6.2 (IM)<\/li>\n<li>Import Websphere 8.5.5 &amp; WAS iFixes for Sametime into IM<\/li>\n<li>Install Websphere without config<\/li>\n<li>Install ST System Console Server<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Meeting Server<\/strong><\/p>\n<p><em><strong>==&gt; If you change the DB2 to other operating system you have to move the db2 completly &#8211; see this link about it<br \/>\n<\/strong><\/em><\/p>\n<ol>\n<li>Update schema for Meeting DB to get new tables for the Sametime 9 features<br \/>\n<em>&gt;&gt; C:\\install\\<span style=\"color: #0000ff;\">st9meetingsetup<\/span>\\&#8230;.DatabaseScripts\\&#8230;.\\<span style=\"color: #0000ff;\"><strong>applyDDLUpdate.bat migration_meetingServer_85x-90.dll STMS db2admin<\/strong><\/span><\/em><\/li>\n<li>Add the Meeting DB to the Sametime Configuration Application (deployment plan)<\/li>\n<li>Create a new Meeting Server deployment plan and add the existing Meeting DB<\/li>\n<li>Install new Sametime 9 Meeting Server\n<ul>\n<li>Install Installation Manager 1.6.2 (IM)<\/li>\n<li>Import Websphere 8.5.5 &amp; WAS iFixes for Sametime into IM<\/li>\n<li>Install Websphere without config<\/li>\n<li>Install ST Meeting Server<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Proxy Server<\/strong><\/p>\n<ol>\n<li>Shut down the Sametime 8.5.x\u00a0Proxy Server to get exclusiv access to the Proxy DB<\/li>\n<li>Drop the Proxy DB and create a new Proxy DB with the Sametime 9 database script<br \/>\n<span style=\"color: #ff0000;\">!!! Please use the database create scripts from the actual Sametime proxy package &#8211; otherwise you will loose tables you need !!!<\/span><br \/>\nI had to learn this the hard way because i used the db scripts from 9.0 gold release with the 9.0 Fix1 :-((<\/li>\n<li>Add the\u00a0Proxy DB to the Sametime Configuration Application (deployment plan)<br \/>\nTHATS a NEW one (in ST 8.5 you had to start db2 scripts yourself)<\/li>\n<li>Create a new\u00a0Proxy Server deployment plan and add the existing Proxy DB<\/li>\n<li>Install new Sametime 9\u00a0Advanced Server\n<ul>\n<li>Install Installation Manager 1.6.2 (IM)<\/li>\n<li>Import Websphere 8.5.5 &amp; WAS iFixes for Sametime into IM<\/li>\n<li>Install Websphere without config<\/li>\n<li>Install ST Proxy Server<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Advanced Server<\/strong><\/p>\n<ol>\n<li>Shut down the Sametime 8.5.x Advanced Server to get exclusiv access to the Advanced DB<br \/>\n<span style=\"color: #ff0000;\">NO SCHEMA UPDATE NEEDED<\/span><\/li>\n<li>Add the\u00a0Advanced DB to the Sametime Configuration Application (deployment plan) and add 3 NEW tables manually\n<ul>\n<li>\n<address><em><span style=\"color: #0000ff;\">INSERT INTO ORGCOL.PC_SETTING (SETTING_NAME,SETTING_TYPE,SETTING_VALUE) VALUES (&#8218;admin.only.delete&#8216;, 3, &#8218;false&#8216;);<\/span><\/em><\/address>\n<\/li>\n<li>\n<address><em><span style=\"color: #0000ff;\">INSERT INTO ORGCOL.PC_SETTING (SETTING_NAME,SETTING_TYPE,SETTING_VALUE) VALUES (&#8218;remove.invalid.members&#8216;, 3, &#8218;true&#8216;<\/span><\/em><\/address>\n<\/li>\n<li>\n<address><em><span style=\"color: #0000ff;\">INSERT INTO ORGCOL.PC_SETTING (SETTING_NAME,SETTING_TYPE,SETTING_VALUE) VALUES (&#8218;wildcard.search.enabled&#8216;, 3, &#8218;false&#8216;);<\/span> <\/em><\/address>\n<\/li>\n<\/ul>\n<\/li>\n<li>Create a new\u00a0Advanced Server deployment plan and add the existing\u00a0Advanced DB<\/li>\n<li>Install new Sametime 9\u00a0Advanced Server\n<ul>\n<li>Install Installation Manager 1.6.2 (IM)<\/li>\n<li>Import Websphere 8.5.5 &amp; WAS iFixes for Sametime into IM<\/li>\n<li>Install Websphere without config<\/li>\n<li>Install ST Advanced Server<\/li>\n<\/ul>\n<p><em><span style=\"color: #3366ff;\">!!! If you restricted the ST Advanced Users because of license limitation in version 8.5\u00a0 you have to change manually <\/span><\/em><br \/>\n<em><span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 the table: ORGCOL.LICENSE<\/span><\/em><br \/>\n<em><span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 the parameter: LIC_COUNT<\/span><\/em><br \/>\n<em><span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set from the number counted to ZERO (0)<\/span><\/em><\/li>\n<\/ol>\n<p>The documentation also shows how you could change the data sources (e.g. for testing) for DB2 databases.<br \/>\nI think that is a <em><span style=\"color: #ff0000;\">bad idea<\/span> <\/em>because the DB name is also referenced inside the <span style=\"color: #3366ff;\">SSC application DB<\/span> (see deployment name) and this could be a problem for further updates !!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IBM published the document for migrate your DB2 data (like SSC policies or Meeting DB) to the new Sametime 9 enviroment. Sametime 8.5.2.x Migration to Sametime 9 Migrating from Sametime 8.5.2x (Wiki Doku) You can either stay on DB2 Version 9.5 (Sametime 8.5.0\/8.5.1) or 9.7 (Sametime 8.5.2) or you can upgrade DB2 to Version 10.1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[102],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-sametime","tag-sametime"],"_links":{"self":[{"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=\/wp\/v2\/posts\/164"}],"collection":[{"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":12,"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":251,"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/251"}],"wp:attachment":[{"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.novaknet.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}