<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ori53</author_name>
  <author_url>https://blog.hatena.ne.jp/ori53/</author_url>
  <blog_title>/dev/ori53</blog_title>
  <blog_url>https://ori53.hatenadiary.org/</blog_url>
  <categories>
    <anon>tomcat</anon>
    <anon>インフラ</anon>
  </categories>
  <description>きょうびコールドスタンバイとかダサいから早いとこ自動化しなくては。 といってもすぐできないし障害は待ってくれないのである。 先日スレーブDB一台停止→手動切り替え、あれどのAPがつないでるんだっけ？ といったな出来事があり、そんなときの為ににドキュメント準備しておく。 手書き嫌だなー、自動で拾い集めたいのでアイデアをかいとく。・やりたいこと tomcatのcontextがどのDBに接続しているかを一覧で表示する・使いどころ tomcatが複数プロセスで稼働している環境 contextが複数ある・フロー tomcatディレクトリを探索（うちの場合は/usr/local/tomcat5*でok） …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fori53.hatenadiary.org%2Fentry%2F20100801%2F1280622475&quot; title=&quot;tomcatインスタンス＆コンテキスト増えてのDB接続先の管理が大変、、、 - /dev/ori53&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-08-01 09:27:55</published>
  <title>tomcatインスタンス＆コンテキスト増えてのDB接続先の管理が大変、、、</title>
  <type>rich</type>
  <url>https://ori53.hatenadiary.org/entry/20100801/1280622475</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
