Sun/Zone: 用 Java Web Console 管理 zone

搞了兩三個月的專案終於要告一段落了, 經過今天的教育訓練後, 剩下的就是明天的驗收了, 做完這個案子讓我有一種虛脫的感覺, 每次解決一個問題後, 就會再出現另一個問題.

說好的柳暗花明又一村呢? 怎會變成一波即平一波又起.

就在下午5:00講完課後, 正慶幸終於不用再加班時, User指出有一條:要用GUI介面管理Zone
馬上心裡就有三隻烏鴉飛過去, 問了百毅後知道到先裝 Sun Management Console 4.0 並使用
Adds-on 的 Container management, 之後再用 Java Web Console 管理
照著SOP裝完, 可以從 JWC 中看到了 SMC 了, 但點進去後一片空白
所幸 Hans 提供了以下的解法:

Solaris10 11/06 U3 or higher: Ensure that the tcp_listen property of webconsole is set to true:
# svcprop /system/webconsole:console | grep tcp_listen
if not true run:
# svccfg
svc:> select system/webconsole
svc:/system/webconsole> setprop options/tcp_listen=true
svc:/system/webconsole> quit
# /usr/sbin/smcwebserver restart



There's one thing you can try, though I can't claim it's an official fix (i.e. contact Sun support for more detailed help). On your SunMC Server, make a backup of this file:

/opt/SUNWsymon/sunmcweb/pages/accordian-tasks.zul

...then change this line:

String scmtab = (String)session.getAttribute("scmtab");

...to say this instead:

String scmtab = "true";

...then restart the web server:

smcwebserver stop
smcwebserver start


就可從 sun management console 看到  container management

留言

這個網誌中的熱門文章

12c RAC, OS log 出現 WARNING: couldn't allocate FBT table for module oracleacfs

11g client 連上 12c server, 出現 ora-28040

新建的 12.2.0.1 資料庫 alert 出現 ORA-12012