{"id":1391,"date":"2012-11-13T23:36:09","date_gmt":"2012-11-13T15:36:09","guid":{"rendered":"https:\/\/yangtingkun.net\/?p=1391"},"modified":"2013-07-14T21:52:15","modified_gmt":"2013-07-14T13:52:15","slug":"%e6%9b%b4%e6%94%b9service_name%e5%af%bc%e8%87%b4%e5%a4%a7%e9%87%8f%e4%bc%9a%e8%af%9d%e8%a2%abkill","status":"publish","type":"post","link":"https:\/\/yangtingkun.net\/?p=1391","title":{"rendered":"\u66f4\u6539SERVICE_NAME\u5bfc\u81f4\u5927\u91cf\u4f1a\u8bdd\u88abKILL"},"content":{"rendered":"<p>\u572810.2.0.4 RAC\u73af\u5883\u4e2d\uff0c\u51fa\u73b0\u4e86\u66f4\u6539SERVICE_NAME\u5bfc\u81f4\u5927\u91cf\u4f1a\u8bdd\u88abKILL\u7684\u73b0\u8c61\u3002<br \/>\n\u544a\u8b66\u65e5\u5fd7\u4e2d\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<pre lang='SQL'>Wed Oct 24 20:06:16 2012\r\nALTER SYSTEM SET service_names='' SCOPE=MEMORY SID='orcl2';\r\nWed Oct 24 20:06:16 2012\r\nALTER SYSTEM SET service_names='orcl' SCOPE=MEMORY SID='orcl2';\r\nWed Oct 24 20:06:16 2012\r\nImmediate Kill Session#: 1418, Serial#: 22066\r\nImmediate Kill Session: sess: 0x18dc79b70  OS pid: 4879\r\nImmediate Kill Session#: 1424, Serial#: 108\r\nImmediate Kill Session: sess: 0x18dc81be0  OS pid: 15110\r\nImmediate Kill Session#: 1425, Serial#: 22\r\nImmediate Kill Session: sess: 0x18dc83148  OS pid: 15112\r\nImmediate Kill Session#: 1426, Serial#: 9\r\nImmediate Kill Session: sess: 0x18dc846b0  OS pid: 15157\r\nImmediate Kill Session#: 1427, Serial#: 17\r\nImmediate Kill Session: sess: 0x18dc85c18  OS pid: 15119\r\nImmediate Kill Session#: 1429, Serial#: 24221\r\nImmediate Kill Session: sess: 0x18dc886e8  OS pid: 1044\r\nImmediate Kill Session#: 1430, Serial#: 9\r\nImmediate Kill Session: sess: 0x18dc89c50  OS pid: 15126\r\n.\r\n.\r\n.\r\nImmediate Kill Session#: 1605, Serial#: 60258\r\nImmediate Kill Session: sess: 0x18dd73e68  OS pid: 11966\r\nImmediate Kill Session#: 1606, Serial#: 18413\r\nImmediate Kill Session: sess: 0x18dd753d0  OS pid: 11999\r\nImmediate Kill Session#: 1607, Serial#: 18517\r\nImmediate Kill Session: sess: 0x18dd76938  OS pid: 15378\r\nImmediate Kill Session#: 1608, Serial#: 57825\r\nImmediate Kill Session: sess: 0x18dd77ea0  OS pid: 1035\r\nWed Oct 24 20:06:27 2012\r\nImmediate Kill Session#: 1616, Serial#: 30253\r\nImmediate Kill Session: sess: 0x18dd829e0  OS pid: 11977\r\nImmediate Kill Session#: 1626, Serial#: 34413\r\nImmediate Kill Session: sess: 0x18dd8fff0  OS pid: 4863<\/pre>\n<p>\u663e\u7136\u5927\u91cf\u7684KILL SESSION\u548c\u540c\u4e00\u79d2\u53d1\u751f\u4e86ALTER SYSTEM SET SERVICE_NAME\u6709\u76f4\u63a5\u5173\u7cfb\uff0c\u6839\u636eMOS\u6587\u6863Sessions Get Killed if Connection Use Default Service name (Same as db_name) [ID 730315.1]\uff0c\u8fd9\u662f\u4e3a\u516c\u5e03\u7684Bug 6955040 ALL THE SESSIONS LOST CONNECTION AFTER KILLING CRSD.BIN\u3002<br \/>\n\u5f53CRSD\u8fdb\u7a0b\u88ab\u6740\u6389\u6216\u81ea\u52a8\u5d29\u6e83\uff0c\u4f1a\u5bfc\u81f4CLUSTER\u68c0\u6d4b\u4e0d\u5230VIP\u8d44\u6e90\u7684\u8fd0\u884c\uff0c\u56e0\u6b64\u6570\u636e\u5e93\u4f1a\u5220\u9664\u9ed8\u8ba4\u7684\u670d\u52a1\u540d\u5e76\u65ad\u5f00\u6240\u6709\u4f7f\u7528\u9ed8\u8ba4\u670d\u52a1\u540d\u7684\u8fde\u63a5\u3002<br \/>\nOracle\u572810.2.0.5\u548c11.1.0.7\u4e2d\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898\uff0c\u5982\u679c\u6ca1\u6709\u5347\u7ea7\u7684\u8ba1\u5212\uff0c\u90a3\u4e48\u4e0d\u8981\u4f7f\u7528\u4e86DB_NAME\u76f8\u540c\u7684\u670d\u52a1\u540d\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u572810.2.0.4 RAC\u73af\u5883\u4e2d\uff0c\u51fa\u73b0\u4e86\u66f4\u6539SERVICE_NAME\u5bfc\u81f4\u5927\u91cf\u4f1a\u8bdd\u88abKILL\u7684\u73b0\u8c61\u3002 \u544a\u8b66\u65e5\u5fd7\u4e2d\u4fe1\u606f\u5982\u4e0b\uff1a Wed Oct 24 20:06:16 2012 ALTER SYSTEM SET service_names=&#8221; SCOPE=MEMORY SID=&#8217;orcl2&#8242;; Wed Oct 24 20:06:16 2012 ALTER SYSTEM SET service_names=&#8217;orcl&#8217; SCOPE=MEMORY SID=&#8217;orcl2&#8242;; Wed Oct 24 20:06:16 2012 Immediate Kill Session#: 1418, Serial#: 22066 Immediate Kill Session: sess: &hellip; <a href=\"https:\/\/yangtingkun.net\/?p=1391\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[1216,1215],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2yiY3-mr","_links":{"self":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/1391"}],"collection":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1391"}],"version-history":[{"count":2,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/1391\/revisions"}],"predecessor-version":[{"id":1393,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/1391\/revisions\/1393"}],"wp:attachment":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}