{"id":1863,"date":"2013-02-13T16:25:46","date_gmt":"2013-02-13T08:25:46","guid":{"rendered":"http:\/\/rmohan.com\/?p=1863"},"modified":"2013-02-13T16:25:46","modified_gmt":"2013-02-13T08:25:46","slug":"db2-tcp-ip-bindings","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=1863","title":{"rendered":"db2 tcp ip bindings"},"content":{"rendered":"<p><strong>Enable DB2 service ports for remote connections.<\/strong><\/p>\n<p>To enable outside users to get to your DB2 databases, you&#8217;ll need to set up the DB2 service port, as it is not configured by the Synaptic installation process.<\/p>\n<p>As the regular user, run <b>sudo vi \/etc\/services<\/b> and add this line to the end of the file and save the changes:<\/p>\n<table width=\"100%\" border=\"0\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre><span style=\"color: #000000;\">db2c_db2inst1       50001\/tcp        # IBM DB2 instance - db2inst1<\/span>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Then, as the DB2 instance owner (db2inst1 by default), run these commands:<\/p>\n<pre><span style=\"color: #000000;\">db2 update dbm cfg using SVCENAME db2c_db2inst1\r\ndb2set DB2COMM=tcpip\r\ndb2stop\r\ndb2start<\/span>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enable DB2 service ports for remote connections.<\/p>\n<p>To enable outside users to get to your DB2 databases, you&#8217;ll need to set up the DB2 service port, as it is not configured by the Synaptic installation process.<\/p>\n<p>As the regular user, run sudo vi \/etc\/services and add this line to the end of the file and [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1863"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1863"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1863\/revisions"}],"predecessor-version":[{"id":1866,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1863\/revisions\/1866"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}