[轉載] Basic Performance Tuning settings for the Solaris OS for Datawarehouse Loads

Friday, October 5, 2007

Basic Performance Tuning settings for the Solaris OS for Datawarehouse Loads

Below are some settings I typically change/enable on the Solaris OS for a DW environment. I generally change the default settings for OS, Network , Vxvm/VXFS, Emulex settings and Storage connectivity. All these parameters need to be tested thoroughly in a non-prod environment before being implemented.

全文詳...
http://dsstos.blogspot.com/2007/10/basic-settings-for-solaris-os-to-meet.html

.

[預告] Solaris 10 10/08 Coming soon

快出來了~,預計十月底開放下載

Solaris 10 U6 10/08
What's New
ZFS and Solaris 10 10/08 FAQ

五月 release 的 OpenSolaris 正是使用 zfs 為 root filesystem
那時就想,Solaris 10 應該也快了
這是 open 的效應嗎? :)
我覺得發展的速度好像變快了耶....
.

續 - Solaris 8 Brand Zone with VCS in Share Storage

前幾天提到 Solaris 8 Brand Zone with VCS in Share Storage

昨天 Veritas 有 patch 出來了
VERITAS Cluster Server 5.0 MP1 and MP3 Hot Fix Zone Agent Patch for Solaris 10 SPARC

實際測試的結果....非常慢... :(
從 initinal onlie 到 online 花了約 150 sec
有點讓人無法接受....

因為只是是將手動的流程,轉由 zone agent online 來處理
把 switch over to other node 當作 migration to new host 來處理而已
每次的 switchover/failover 就是一次 detach/attach/migration to new host .... *_*
導致 zone online 要花上不少時間
除此之外,還有一些對 vcs permission 的檢查
不過那花不了一秒鍾....
每次 migration to new host 實在是太耗時了

顯然 Sun 的做法並不是這樣子
Patch 126020-03 for HA_Container
126020-03/SUNWsczone/reloc/SUNWsczone/sczbt/bin/functions
brand zone on share disk 可以用 override hostid file 的做法
也印證了不必每次切換都 s8_p2v migration to new host

若在 VCS zone agent 使用 Sun Cluster 的方式
只要十秒內 Zone 就 online 了
.

Workaround to access raw VxVM Volumes from Non-global zones

現在 Oracle 用 raw device 的不多了,大部分都是舊機器吧
在轉移到 Solaris 8 Container 的過程中,不可避免的也碰到了
需要在 local zone 中存取 raw device 的狀況

跟直接用 zonecfg 設定 raw device 給 zone 不太一樣

先確認 zone 執行中
global# zoneadm list -cv
ID    NAME                STATUS         PATH
0      global                running         /
1      myzone             running         /s8zone 

確認 raw volume 的 major and minor numbers
global# ls -l /dev/vx/rdsk/dg02
crw-------    1     root  root        370,  38001      Aug 14 18:39  vol01

在 local zone 中用 mknod 建立 volume
global# cd /s8zone/dev
global# mknod vol01 c 370 38001

因為是轉移舊系統,通常我把這兒路逕取的跟舊的一樣
global# mkdir -p /s8zone/dev/vx/rdsk/dg02
global# cd /s8zone/dev/vx/rdsk/dg02
global# mknod vol01 c 370 38001

登入 local zone 檢查一下
global# zlogin s8zone
[Connected to zone 's8zone' pts/2]
Last login: Mon Sep 29 02:07:42 on pts/2
Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004
Sourcing //.profile-EIS.....
root@s8zone # ls -l /dev/vx/rdsk/dg02
crw-------    1     root  root        370,  38001      Aug 14 18:39  vol01
OK~可以開始玩了 :)

參考文件︰
Document ID: 285063
Workaround to access raw Veritas Volume Manager volumes from Non-global zones

.

Solaris 8 Brand Zone with VCS in Share Storage

繼上次測試 Oracle in Solaris 8 Container with VCS 成功後
這次測試可否將 zone root 放在 share storage 上
文件的部份只有 solaris 10 native zone 寫說可以
不幸滴,測試 solaris 8 zone 的結果是失敗的
-------------------------------------------------------
zoneadm: zone 's8': This zone has been migrated to a new host.
zoneadm: zone 's8':
zoneadm: zone 's8': Run "/usr/lib/brand/solaris8/s8_p2v s8" before booting.
zoneadm: zone 's8':
zoneadm: zone 's8': exec /usr/lib/brand/solaris8/s8_boot s8 /zone/clarify failed
zoneadm: zone 's8': call to zoneadmd failed

--------------------------------------------------------
切換到另一個 node 後,認為轉移到了新的 host
需要跑個 migration 程序,s8_p2v
之後就可以順利將 s8 zone 由 vcs zone agent 帶起來了

可是 cluster failover 總不能這樣子啊,要可以自動帶起來才行
找找找,看有沒有法子 bypass 這個檢查步驟....

原來在 s8_boot 這程序中,會去檢查主機的 hostid
比對 zone root/.host.orig 這個檔案的 hostid
只要不一樣,就認為是轉移主機了
需要執行 s8_p2v 這個 migration 程序後,才可以 boot

那那那... Sun Cluster 怎麼處理這個問題呢?
嘿,給我找到了... Patch 126020-03 for HA_Containers
畢竟 S8/S9 Container 是後來出來的玩意兒,不過 Sun 手腳也很快
上個 Patch 就解決了這個問題
將 126020-03 解開看看裡面到底改了什麼玩意兒?
SUNWsczone/sczbt/bin/functions 裡面加了些東西
一些判斷 zone type 是 solaris8/solaris9/lx
重點來了,執行 hostid > $zonepath/root/.host.orig

嗯嗯,我如法炮製
去修改 VCS Zone agent 的 online script
測試一下,嘿嘿﹋﹋ it works!!

經詢問的結果,聽說這幾天 VCS patch 會針對此狀況做處理
到時再補個 patch 吧
.

OpenSolaris boot cdrom

OpenSolaris 0508 Release 安裝完可發現
哇~root filesystem 是用 zfs 咧
還真有點不太習慣,boot cdrom 時還真不太會操作

放入 OpenSolaris 0508 cdrom 由光碟開機
出現選單時選第二項 text console
接著 login 時只能用預設帳號 jack 密碼 jack 登入
然後 su - root 預設密碼為 opensolaris

ok 我們可以來幹正事兒了
將 disk 的 rpool import 進來
# zpool import -f rpool
# zfs list

查看 zfs 狀態,都進來了,可是 root filesystem 沒有 mount 上來
OpenSolaris 的 root 是在 rpool/ROOT/opensolaris
# mkdir /tmp/opensolaris
# mount -F zfs rpool/ROOT/opensolaris /tmp/opensolaris

現在可以到 /tmp/opensolaris 目錄下去修修改改啦

[轉載] UltraSparc T2 vs. Power 6

在找 T5240 UltraSparc T2 的一些 Benchmark 測試時
看到了有一些文章

先是這篇
UtraSPARC T2 Server Benchmark Results
Friday, October 12, 2007

在comment裡面看到有人貼了篇 IBM專家的文章,請原作者發表意見
On Sun's New UltraSPARC T2 Servers
Thursday April 10, 2008

在這篇的comment又看到了下面這篇....
UltraSPARC T2 vs. Power6 - today: Siebel CRM
Tuesday, January 8. 2008

Performance and Scalability Benchmark:
Siebel CRM Release 8.0 Industry Applications and Oracle 10gR2 DB
  • on IBM System p570 Servers running AIX 5.3 PDF
  • on Sun SPARC Enterprise T5120/T5220 servers running the Solaris 10 OS PDF
Siebel CRM 8.0 PSPP UltraSPARC T2 beats POWER6 and sets World Record
Thursday Jan 10, 2008
後面不少 comment 可看一下各方意見...
.

xVM on OpenSolaris

Lab 測試
速度真的蠻烏龜....

Install Solaris 10x86 on HP ProLiant DL380

HP DL380 安裝 Solaris 10x86 抓不到硬碟
去 HP 找找 Driver 先~

HP Smart Array Controller Driver for Solaris 10
Type: Driver - Storage
Version: 1.80 (29 Jan 2008)
Operating System(s): Sun Solaris 10 x86 Platform Edition
(multi-part download)
File name: CPQary3-1.80-solaris10-i386.tar.gz (425 KB)
File name: HP_Smart_Array_Controller_Driver_User_Guide.pdf (271 KB)

T5220 開箱文


Sun SPARC Enterprise T5220 Server

測試機︰
8 core 64 threads 1.4 GHz UltraSPARC T2 processors

Operating system
* Solaris 10 Operating System 8/07
* Ubuntu Linux distribution certified

科科,還支援 ubuntu 咧,沒空裝來玩玩,可惜
Sun Hardware Certified on Ubuntu

初安裝 T5x20 感覺一個大不同,它採用了 ILOM 而非 ALOM,就是跟 x4100/x4200 一樣的 ILOM,不過還是可以藉由增加 admin user 時,將 admin 指定為使用 ALOM CLI Mode,登入後就跟 ALOM 一模一樣了

登入 ILOM 預設帳號密碼 root/changeme
新增 admin 使用者,並使用 alom cli mode
-> create /SP/users/admin role=Administrator cli_mode=alom
-> show /SP/users/admin

/SP/users/admin
Targets:

Properties:
role = Administrator
password = *****
cli_mode = alom
好了,可以使用 admin 登入我們習慣的 ALOM 介面了
喔對了,只能使用 ssh 登入,也無法指定為 telnet 登入了

裝完 OS 後來賽賽豬公...
Unix Benchmark Utility v.0.3
Copyright (C) July, 1999 PhysTech, Inc.
Author: Sergei Viznyuk
http://www.phystech.com/download/ubench.html
SunOS 5.10 Generic_127111-06 sun4v
Ubench CPU: 884496
Ubench MEM: 728752
--------------------
Ubench AVG: 806624
看看 64 threads 長什麼樣子
# prtdiag
System Configuration: Sun Microsystems sun4v SPARC Enterprise T5220
Memory size: 8064 Megabytes
============= CPUs ==================
CPU CPU
Location CPU Freq Implementation Mask
------------ ----- -------- ------------------- -----
MB/CMP0/P0 0 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P1 1 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P2 2 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P3 3 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P4 4 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P5 5 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P6 6 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P7 7 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P8 8 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P9 9 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P10 10 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P11 11 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P12 12 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P13 13 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P14 14 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P15 15 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P16 16 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P17 17 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P18 18 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P19 19 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P20 20 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P21 21 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P22 22 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P23 23 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P24 24 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P25 25 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P26 26 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P27 27 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P28 28 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P29 29 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P30 30 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P31 31 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P32 32 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P33 33 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P34 34 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P35 35 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P36 36 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P37 37 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P38 38 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P39 39 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P40 40 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P41 41 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P42 42 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P43 43 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P44 44 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P45 45 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P46 46 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P47 47 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P48 48 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P49 49 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P50 50 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P51 51 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P52 52 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P53 53 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P54 54 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P55 55 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P56 56 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P57 57 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P58 58 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P59 59 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P60 60 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P61 61 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P62 62 1417 MHz SUNW,UltraSPARC-T2
MB/CMP0/P63 63 1417 MHz SUNW,UltraSPARC-T2
正面來一張
S-IMG_7470.jpg
Mark 來一張
S-IMG_7471.jpg
8 core 64 thread Sparc T2 CPU
S-IMG_7472.jpg
S-IMG_7473.jpg
屁屁來一張
S-IMG_7474.jpg
開箱文果然蠻無聊的,哇哈

Sun Cluster 3.2 New Feature

Sun Cluster 3.2 FAQ
What are the new features?
  • Ease of Use
    • New Command Line Interfaces
    • Oracle 10g improved integration and administration
    • Agent configuration wizards
    • Flexible IP address scheme
  • Higher Availability
    • Cluster support for SMF services
    • Quorum server
    • Extended flexibility for fencing protocol
  • Greater Flexibility
    • Expanded support for Solaris Containers
    • HA ZFS - agent support for Sun's new file system
    • Extended support for Veritas software components
  • Better Operations and Administration
    • Dual-partition software update
    • Live upgrade
    • Optional GUI installation
With Solaris Cluster Geographic Edition, new features include:
  • Support for x64 platforms
  • Support for EMC SRDF replication software
完整介紹
What's New in the Sun Cluster 3.2 Software

sshd error: Kerberos mechanism library initialization error

好久沒裝 Solaris 9 了,裝好上完 Patch 後,只要使用 ssh 連線就會冒出了這 error

sshd[19238]: [ID 432372 auth.error] Kerberos mechanism library initialization error: Can't open/find Kerberos /etc/krb5/krb5.conf configuration file.


阿我又沒有 enable Kerberos 啊,怎麼老是跳這訊息
找了好一會兒在 Sun 竟然找不到資料,一堆都是在講 Kerberos 沒設定正確 blah blah。終於在咕狗發現了解法
Solaris SSH Fun,快快筆記一下 :p

1. Solaris 9 9/05 sshd and kerberos could this be a BUG
在 /etc/ssh/sshd_config 中加入
GSSAPIAuthentication no
GSSAPIKeyExchange no

GSSAPIStoreDelegatedCredentials no

2. Fixing the bad Solaris ssh patch
在 /etc/ssh/ssh_config 中加入
Host *
GSSAPIKeyExchange no
GSSAPIAuthentication no

Solaris Performance ToolsCD 3.0

不小心看到個新玩意兒....看起來不錯用,去下載來踹踹

Solaris Performance ToolsCD 3.0 available online

The CD covers within 300 MB:

  • dimSTAT v8.1 - collect and analyze performance data

  • Dtrace Tools - Brendan Gregg's collection of Dtrace scripts

  • K9Toolkit - freeware tools written using the KStat library on a Solaris 9

  • sysperfstat - displays utilization and saturation for CPU, memory, disk and network, all on one line.

  • cpuinfo - displays CPU configuration (number, type, clock and strands)

  • meminfo - displays configuration of physical memory and swap devices or files

  • iobar - displays io for disk-devices in a |cpubar|-like fashion

  • iotop - displays |iostat -x| in a |top|-like fashion

  • checkcable - prints the link up status for network interfaces

  • nicstat - prints statistics for the network interfaces such as KBytes/s read and write, Packets/s etc.

VCS installation script 不認識 e1000g 網路卡

Discovering NICs on node1 .................................discovered e1000g0 e1000g1 e1000g2 e1000g3 e1000g4 e1000g5

Enter the NIC for the first private heartbeat link on node1: [b,?] e1000g1
e1000g1 is not a valid NIC name
Enter the NIC for the first private heartbeat link on node1: [b,?] e1000g1
e1000g1 is not a valid NIC name

好吧,只好安裝完在自己手動設定 heartbeat 了
修改 /etc/llttab 自己手動加上
link e1000g1 /dev/e1000g:1 - ether - -


2008.04.15 補
Veritas Cluster Server 5.0+e805061 fix for the e1000g NICs on Solaris
http://support.veritas.com/docs/301904


VCS with Solaris 8 Zone

畢竟 Solaris 8 zone in Solaris 10 (S8MA) 這玩意兒出來的 VCS Zone support 晚,所以目前 VCS 文件中寫到的 zone,並沒有特別說明是哪種 zone。
現在看來,當然指的都是 Solaris 10 native zone

由文件中看來,zone agent 對 local zone 的動作很單純,online 就是 zoneadm boot,offline 就是 zoneadm halt,對 Solaris 8 Zone 的 online/offline 應該沒什麼問題,但是其他要進去 local zone monitor 的 agent 呢?

在安裝 VCS 或建立 Solaris 10 native zone 時
有部份 VRTS 檔案是會自動從 global zone 複製到 native zone 的
就像 pkgadd or patchadd 時,若不加 -G 參數(Global only)
預設是會 apply 到所有的 running native zone
這兒我看來最重要的是那些 VCS agent 了
因為 global/local zone 都是 solaris 10 沒問題
但在 Solaris 8 zone 就有問題了...

check engin_A.log :
2008/01/13 18:56:16 VCS INFO V-16-2-13001 (node-2) Resource(ora8): Output of the completed operation (online) sh: /opt/VRTSvcs/bin/Oracle/online: not found
2008/01/13 19:33:35 VCS INFO V-16-2-13001 (node-2) Resource(ora8): Output of the completed operation (offline) sh: /opt/VRTSvcs/bin/Oracle/offline: not found

為什麼 not found ?原來是去用 local zone 中的 agent 了
因為不是 native zone,所以安裝時(pkgadd)不會複製這些檔案
導致 agent 無法正確的 monitor zone 中的 AP
我的偷吃步就是看有哪些 VRTS 檔案會被安裝到 native zone 中
就照樣複製這些檔案到 Solaris 8 zone 中

還有另一個問題
VCS WARNING V-16-1-52529 Login Incorrect, Invalid username/password
Agnet 在 global/local zone 中怎麼溝通?這兒需要設定一個 cluster user 讓他有 Group Administor 權限就ok了

在 native zone 中沒有這些問題,安裝時都會自動設好
但在 p2v zone 中,我們只好手動來把這些設定做完了

ok! It works !!

參考文件:
Veritas Cluster White Paper
Implementing Solaris™ Zones with Veritas™ Cluster Server
by Symantec
July 2006
Eric Hennessey
Group Technical Product Manager
Unix Clustering Solutions

穿過公司防火牆

我習慣用 TeraTerm,只有在要用 ssh 時才會去開 putty
最近才知道 TeraTerm 終於有 ssh version 2 的版本了~ Happy!
UTF-8 TeraTerm Pro with TTSSH2
設定 ssh tunnel 等等我覺得還算蠻方便的

因為有些東西沒有 GUI 設定起來還真麻煩,只好想法子讓這些工具可以透過 ssh 穿過公司防火牆,來連接內部網路的主機了

公司內部網路 192.168.x.x,防火牆僅讓一台主機的 ssh port 可通過,於是乎只能拿這台當作橋樑了
用 ssh 連上這台主機後,設定 ttssh 的 SSH Forwarding:
Local port 11123 to Remote 192.168.x.111 port 23
Local port 11380 to Remote 192.168.x.113 port 80
Local port 14141 to Remote 192.168.x.115 port 14141
Local port 2148 to Remote 192.168.x.115 port 2148
按下 ok 後馬上生效

可以 telnet localhost 11123,就是連上 192.168.x.111
可以 http://localhost:11380,就是連上http://192.168.x.113
打開 VCS Java Console 連 localhost,就是連上 192.168.x.115 的 VCS GUI
打開 VxVM VEA 連 localhost,就是連上192.168.x.115 的 VxVM GUI 啦

參考文章:
Breaking Firewalls with OpenSSH and PuTTY
好孩子不要學:SSH Reverse Tunnel

2010.4.11 補充
每次都忘記,剛剛踹了好一陣子...總算ok
1.設定 ttssh Port Forwarding
ssh: Local port 12322 to Remote 192.168.x.123 port 22
2. ssh localhost:12322 以 ssh 登入 192.168.x.123
3. echo $DISPLAY 確認是否為 localhost:10.0
4. 打開 xmanager 或 xwin32 等 X Server 軟體
5. 執行 xterm 看是否有開啟 X 視窗
ok

[轉載] Two-node Cluster How-To Guide

健忘做個筆記,Sun Cluster 3.2 還沒裝過... :(

Solaris Operating System
Two-node Cluster How-To Guide


How to Install and Configure a Two-node Cluster

This Sun Cluster Two-Node Installation and Configuration How-To guide is intended to help a new or experienced Solaris user quickly and easily install and configure Sun Cluster software for two nodes, including the configuration of aquorum device. Users are guided step-by-step through the process, with examples and screenshots to simplify the process. This document will not cover the configuration of highly available Services; that topic will be covered in a separate guide.

For more details about how to install and configure other Sun Cluster software configurations, see the Sun Cluster Software Installation Guide at docs.sun.com/app/docs/doc/819-0420.

..... 以上為節錄

VxVM DMP Tunning

All DMP 5.0 tuning can be done online as long as all tuning is performed using the vxdmpadm set-tune command. The set of tunables that can be configured online in DMP 5.0 MP1 are:

# vxdmpadm gettune all
Tunable Current Value Default Value
------------------------------ -------------
dmp_failed_io_threshold 57600 57600
dmp_retry_count 5 5
dmp_pathswitch_blks_shift 11 11
dmp_queue_depth 32 32
dmp_cache_open on on
dmp_daemon_count 10 10
dmp_scsi_timeout 30 30
dmp_delayq_interval 15 15
dmp_path_age 300 300
dmp_stat_interval 1 1
dmp_health_time 60 60
dmp_probe_idle_lun on on
dmp_log_level 1 1
dmp_retry_timeout 0 0
dmp_fast_recovery on on

參考文件:
Veritas Storage Foundation™ 5.0 Dynamic Multi-pathing
Optimizing Availability and Performance in Multi-Vendor Environments
May 2007

Sun Cluster with Solaris 8 Migration Assistant

from: New Open HA Cluster Agent source code and Solaris Cluster Express 10/07 released
文中提到 Sun Cluster 3.1 的 Patch 120590-06 已加強對 zone 的支援,可監控 Solaris 8 zone 了,但 Sun Cluster 3.2 尚未支援,不過應該也快了
Status: RELEASED
Patch Id: 120590-06
Keywords: sunwsczone
Summary: Sun Cluster 3.1/3.1_x86: HA for Solaris Containers
Date:  Oct/19/2007

Problem Description:
6604747 HA Container agent should support solaris8 zones on sparc
(from 120590-05)
6488338 HA Container agent should support BrandZ lx zones with Solaris 10 Update 4
6554262 validate() for sczbt should check ip-type=exclusive and then only allow SC_NETWORK=false

VCS 呢?下回分解

Solaris 10 x86 設定 Serial Console

sparc 機器還算熟,今天搞了台 x4100/x4200 x86 主機
小問題找了快半天去掉.... :(

sparc 主機要使用 serial port 在 obp 中設定 input-device/output-device ttya 即可
要使用螢幕鍵盤則設定 input-device=keyboard output-device=screen 即可
可在 ok mode 下 printenv/setenv 查看/設定 這些參數
或 OS 中執行 eeprom 來讀取或設定這些參數

x86 沒 obp 這玩意兒怎麼設定呢?
看起來是用 /boot/solaris/bootenv.rc 來假裝一下...
在 OS 中直接下 eeprom 'console=ttya' 或 eeprom 'console=text'
或直接去編輯 bootenv.rc 這個檔案
修改 setprop console 'ttya' 或 setprop console 'text'
這兩個改法都是一樣的效果,可以察看執行 eeprom 的輸出來確認
然後 init 6 重新開機

若設定 console ttya 則開機後,開始 load OS 時,螢幕就黑掉了
因為畫面都 redirect 到 serial port 去了
要再 telnet login 或由 serial port 登入 OS,設定 console=text 後,重開機
這下子就可以看到螢幕的畫面了