1.啟動AIX NTP SERVER:
#smitty
System Management > Processes & Subsystems > Subsystems > List All Subsystems
xntpd顯示為inoperative 未啟動
Subsystem Group PID Status
IBM.ServiceRM rsct_rm 6029512 active
IBM.CSMAgentRM rsct_rm 6226118 active
IBM.DRM rsct_rm 6291654 active
lpd spooler inoperative
rwhod tcpip inoperative
xntpd tcpip inoperative
#lssrc -ls xntpd0513-036 The request could not be passed to the xntpd subsystem.
Start the subsystem and try your command again.
#ntpq -plocalhost : timed out, nothing received
***Request timed out
#smitty
依序選擇
System Management > Processes & Subsystems > Subsystems > Start a Subsystem
Subsystem Name欄位輸入xntpd,再按下Enter
Start a Subsystem
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Subsystem Name xntpd +
Subsystem Parameters []
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0513-059 The xntpd Subsystem has been started. Subsystem PID is 5636272.
2.查詢NTP Server狀態:
依序選擇System Management > Processes & Subsystems > Subsystems > Query a Subsystem
Subsystem PROCESS ID欄位輸入Subsystem PID 5636272,再按下Enter
Query a Subsystem
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Subsystem PROCESS ID 5636272 +
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[TOP]
Program name: /usr/sbin/xntpd
Version: 3
Leap indicator: 11 (Leap indicator is insane.)
Sys peer: no peer, system is insane
Sys stratum: 16
Sys precision: -17
Debug/Tracing: DISABLED
Root distance: 0.000000
Root dispersion: 0.000000
Reference ID: no refid, system is insane
Reference time: no reftime, system is insane
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: bclient pll monitor filegen
System uptime: 114 (sec)
Clock stability: 0.000000 (sec)
Clock frequency: 0.000000 (sec)
Peer: 192.168.x.xx
flags: (configured)
stratum: 4, version: 3
our mode: client, his mode: server
Peer: 220.130.158.72
flags: (configured)(preferred)
stratum: 2, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 5636272 active
[BOTTOM]
因之前已先設定過,所以上方會秀這兩個peer,分別為兩部其他台NTP Server,供此台NTP Server參照時間設定
可更改上層的NTP SERVER為其他台NTP SERVER
原設定:
#more etc/ntp.conf#
broadcastclient
server 220.130.158.72 prefer
server 192.168.x.xx #dc
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
修改最下方敘述#refresh -s xntpd
0513-095 The request for subsystem refresh was completed successfully.
#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
220.130.158.72 220.130.158.70 2 u 15 64 1 7.69 0.854 15875.0
220.130.158.71 59.124.196.87 2 u 14 64 1 40.92 18.634 15875.0
#lssrc -ls xntpd
Program name: xntpd
Version: 3
Leap indicator: 11 (Leap indicator is insane.)
Sys peer: no peer, system is insane
Sys stratum: 16
Sys precision: -17
Debug/Tracing: DISABLED
Root distance: 0.000000
Root dispersion: 0.000000
Reference ID: no refid, system is insane
Reference time: no reftime, system is insane
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: bclient pll filegen
System uptime: 48 (sec)
Clock stability: 0.000000 (sec)
Clock frequency: 0.000000 (sec)
Peer: 220.130.158.72
flags: (configured)
stratum: 2, version: 3
our mode: client, his mode: server
Peer: 220.130.158.71
flags: (configured)(preferred)
stratum: 2, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 4653180 active
#date
Mon Mar 28 16:44:53 GMT+08:00 2011
#date
Mon Mar 28 16:48:23 GMT+08:00 2011#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
+220.130.158.72 220.130.158.70 2 u 14 64 37 10.77 0.247 875.41
*220.130.158.71 59.124.196.87 2 u 13 64 37 9.02 1.792 877.56
#lssrc -ls xntpd
Program name: xntpd
Version: 3
Leap indicator: 00 (No leap second today.)
Sys peer: 220.130.158.71
Sys stratum: 3
Sys precision: -17
Debug/Tracing: DISABLED
Root distance: 0.018539
Root dispersion: 0.915588
Reference ID: 220.130.158.71
Reference time: d13ac9bd.e135e000 Mon, Mar 28 2011 16:47:57.879
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: bclient pll filegen
System uptime: 276 (sec)
Clock stability: 0.000000 (sec)
Clock frequency: 0.000000 (sec)
Peer: 220.130.158.72
flags: (configured)(sys peer)
stratum: 2, version: 3
our mode: client, his mode: server
Peer: 220.130.158.71
flags: (configured)(sys peer)(preferred)
stratum: 2, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 4653180 active 在ntp server 下指令#lssrc -ls xntpd
#lssrc -ls xntpd
Program name: /usr/sbin/xntpd
Version: 3
Leap indicator: 11 (Leap indicator is insane.)
Sys peer: no peer, system is insane
Sys stratum: 16
Sys precision: -17
Debug/Tracing: DISABLED
Root distance: 0.026581
Root dispersion: 4.833160
Reference ID: 220.130.158.72
Reference time: d13a9ebd.7ec86000 Mon, Mar 28 2011 13:44:29.495
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: bclient pll monitor filegen
System uptime: 411 (sec)
Clock stability: 0.000000 (sec)
Clock frequency: 0.000000 (sec)
Peer: 192.168.3.81
flags: (configured)
stratum: 4, version: 3
our mode: client, his mode: server
Peer: 220.130.158.72
flags: (configured)(preferred)
stratum: 2, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 5636272 active
#ntpq -p
#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
220.130.158.72 220.130.158.70 2 u 3 64 3 10.89 0.876 7875.03
192.168.x.xx 192.168.3.10 4 u 2 64 7 0.38 -23.740 3879.52
#date
Mon Mar 28 14:04:53 GMT+08:00 2011
#date
Mon Mar 28 14:09:09 GMT+08:00 2011
#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*220.130.158.72 220.130.158.70 2 u 21 64 77 12.77 -3.094 382.25
192.168.x.xx 192.168.3.10 4 u 20 64 77 0.47 -20.754 385.73
#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*220.130.158.72 220.130.158.70 2 u 37 64 377 8.26 -1.288 3.80
192.168.x.xx 192.168.3.10 4 u 41 256 377 0.38 -21.469 7.02
#lssrc -ls xntpd
Program name: /usr/sbin/xntpd
Version: 3
Leap indicator: 00 (No leap second today.)
Sys peer: 220.130.158.72
Sys stratum: 3
Sys precision: -18
Debug/Tracing: DISABLED
Root distance: 0.024109
Root dispersion: 0.406464
Reference ID: 220.130.158.72
Reference time: d13aa481.c3f39000 Mon, Mar 28 2011 14:09:05.765
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: bclient pll monitor filegen
System uptime: 349 (sec)
Clock stability: 16.000000 (sec)
Clock frequency: 128.000000 (sec)
Peer: 192.168.X.XX
flags: (configured)
stratum: 4, version: 3
our mode: client, his mode: server
Peer: 220.130.158.72
flags: (configured)(sys peer)(preferred)
stratum: 2, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 4653104 active
在ntp server 或 Client下指令
#ntptrace Ntp Server IP
#ntptrace 127.0.0.1
loopback: stratum 3, offset 0.000530, synch distance 0.04329
220.130.158.72: stratum 2, offset -0.002762, synch distance 0.03432
220.130.158.70: *Timeout*
#ntptrace 220.130.158.72
220.130.158.72: stratum 2, offset -0.002178, synch distance 0.03500
220.130.158.70: *Timeout*
#ntptrace 220.130.158.70
220.130.158.70: *Timeout*
#ntptrace 192.168.3.81
192.168.3.81: stratum 4, offset -0.022959, synch distance 0.17415
192.168.3.10: stratum 3, offset -0.017178, synch distance 0.10115
59.124.196.85: stratum 2, offset -0.001510, synch distance 0.04126
59.124.196.86: stratum 1, offset 0.039904, synch distance 1.00000, refid 'IRIG'
#vi /etc/ntp.conf
#
broadcastclient
server 220.130.158.72
server 220.130.158.71 prefer
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
尚未生效
#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*220.130.158.72 220.130.158.70 2 u 27 64 37 10.41 -9.683 876.59
192.168.3.81 192.168.3.10 4 u 27 64 37 0.40 -13.427 879.91
#lssrc -ls xntpd
Program name: /usr/sbin/xntpd
Version: 3
Leap indicator: 00 (No leap second today.)
Sys peer: 220.130.158.72
Sys stratum: 3
Sys precision: -17
Debug/Tracing: DISABLED
Root distance: 0.022629
Root dispersion: 0.405060
Reference ID: 220.130.158.72
Reference time: d13ac853.fecac000 Mon, Mar 28 2011 16:41:55.995
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: bclient pll monitor filegen
System uptime: 323 (sec)
Clock stability: 8.000000 (sec)
Clock frequency: 64.000000 (sec)
Peer: 192.168.3.81
flags: (configured)
stratum: 4, version: 3
our mode: client, his mode: server
Peer: 220.130.158.72
flags: (configured)(sys peer)(preferred)
stratum: 2, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 4653180 active
若有修改過ntp.conf,xntpd需重新啟動
2011年3月28日 星期一
2011年3月17日 星期四
AIX系統日常管理
本文出自:http://www.chinaunix.net [AIX]版 作者:feeling (2002-06-14 06:02:00)
:
1. 文件系統是否滿 本文出自:http://www.chinaunix.net [AIX]版 作者:feeling (2002-06-14 06:02:00)
:
方法: df k 可以以K為單位檢查文件系統的使用率。(90%以上,需要調整)
2. 檢查系統出錯日志 使用errpt |more來檢查
清除現有的log: Errclear 0
3. 檢查系統合法/非法登陸情況
使用Last命令來檢查來自登陸的地方。
4. 檢查系統是否有巨大的Core文件生成
使用 find / -name core print來檢查。對Core文件,一般直接刪除就可以了。
5. 系統性能檢查:
a) CPU性能:使用Vmstat, topas來檢查
b) 內存使用情況:也是使用topas, vmstat來檢查
c) 檢查IO平衡使用情況:使用iostat來檢查
d) 交換空間使用情況:使用lsps a來檢查
6. Mail檢查
7. Diag 一個月一次
2011年3月16日 星期三
AIX 安裝EMC Solutions Enabler 6.5.3
過程如下:
#gunzip se6530-AIX-powerpc-ni.tar.z
#tar xvf se6530-AIX-powerpc-ni.tar
x .toc, 4478 bytes, 9 media blocks.
x SYMCLI.6.5.3.0.bff, 275118080 bytes, 537340 media blocks.
x se6530_install.sh, 332852 bytes, 651 media blocks
#./se6530_install.sh -install
#----------------------------------------------------------------------------
# EMC Installation Manager
#----------------------------------------------------------------------------
Copyright 2007, EMC Corporation
All rights reserved.
The terms of your use of this software are governed by the
applicable contract.
Solutions Enabler Native Installer[RT] Kit Location : /tmp
Checking for OS version compatibility......
Checking for previous installation of Solutions Enabler......
Following daemons can be set to run as a non-root user:
storevntd, storgnsd, storwatchd
Do you want to run these daemons as a non-root user? [N]:
Checking for active processes.....
Checking for /usr/symcli/storbin/cimserver...
Checking for /usr/symcli/bin/symapisrv...
Checking for active SYMCLI components...
Install All EMC Solutions Enabler Shared Libraries and Run Time Environment ? [Y]:y
Install EMC Solutions Enabler 64-bit Shared Libraries ? [N]:y
Install Symmetrix Command Line Interface SYMCLI ? [Y]:
Install EMC Solutions Enabler SRM Database Run Time Components ? [N]:
Install Option to Enable JNI Interface for EMC Solutions Enabler APIs ? [N]:
Install Option to Enable EMC Solutions Enabler Star Component ? [Y]:
Install Option to Enable EMC Solutions Enabler SYMRECOVER Component ? [Y]:
Do you want to change default permission on /var/symapi directory from [755]? [N]:
Checking for disk space availability....
Persistent data files exist in directory[/usr/emc/API/symapi]...
Do you want to MOVE this data to /usr/emc/API/symapi_old? [N]: y
Installing SYMCLI.DATACORE.rte.....
Installing SYMCLI.DATASTORBASE.rte.....
Installing SYMCLI.CORE.rte.....
Installing SYMCLI.STORBASE.rte.....
Installing SYMCLI.STORFULL.rte.....
Installing SYMCLI.SRMBASE.rte.....
Installing SYMCLI.64BIT.rte.....
Installing SYMCLI.SYMCLI.rte.....
Installing SYMCLI.STAR_PERL.rte.....
Installing SYMCLI.SYMRECOVER.rte.....
Creating OPENSSL Certificate....
Enabling stordaemon...
Do not forget to run 'symcfg discover' after the installation
completes and whenever your configuration changes.
You may need to manually rediscover remotely connected
arrays. Please see the installation notes for further
information.
#-----------------------------------------------------------------------------
# The following HAS BEEN INSTALLED in /opt/emc via the installp utility.
#-----------------------------------------------------------------------------
ITEM PRODUCT VERSION
01 EMC Solutions Enabler V6.5.3.0
RT KIT
#-----------------------------------------------------------------------------
#opt/emc/SYMCLI/V6.5.3/bin>./symcfg discover
This operation may take up to a few minutes. Please be patient...
The feature being requested is not currently licensed
#/usr/emc/API/symapi_old/config>more symapi_licenses.dat
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: BASE / Symmetrix
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: DevMasking / Symmetrix
#/opt/emc/SYMCLI/V6.5.3/bin>./symlmf
E M C S O L U T I O N S E N A B L E R
SOLUTIONS ENABLER LICENSE MANAGEMENT FACILITY
Register License Key (y/[n]) ? y
Enter License Key : XXXX-XXXX-XXXX-XXXX
Register License Key (y/[n]) ? y
Enter License Key : XXXX-XXXX-XXXX-XXXX
Register License Key (y/[n]) ? n
#/var/symapi/config>more symapi_licenses.dat
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: BASE / Symmetrix
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: DevMasking / Symmetrix
#/opt/emc/SYMCLI/V6.5.3/bin>./symcfg discover
This operation may take up to a few minutes. Please be patient...
#/opt/emc/SYMCLI/V6.5.3/bin>./symcfg list
S Y M M E T R I X
Mcode Cache Num Phys Num Symm
SymmID Attachment Model Version Size (MB) Devices Devices
XXXXXX Local 800-M2 5671 16384 260 238
#/opt/emc/SYMCLI/V6.5.3/bin>./syminq
Device Product Device
------------------------- -------------------------- ---------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
------------------------- --------------------------- ---------------------
/dev/rhdiskpower43 GK EMC SYMMETRIX 5671 XXX00EAXXX 2880
/dev/rhdiskpower44 GK EMC SYMMETRIX 5671 XXX00EBXXX 2880
因為有Errpt 秀Backup Path Changed問題,所以Gate Keeper只分配在同一條Path上:
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower43
Pseudo name=hdiskpower43
Symmetrix ID=XXXXXXXXX
Logical device ID=00EA
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host ------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk135 FA 15cA active alive 0 0
3 fscsi6 hdisk180 FA 16dA active alive 0 0
0 fscsi1 hdisk45 FA 1dA active alive 0 0
1 fscsi3 hdisk90 FA 2cA active alive 0 0
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower44
Pseudo name=hdiskpower44
Symmetrix ID=XXXXXXXX
Logical device ID=00EB
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk136 FA 15cA active alive 0 0
3 fscsi6 hdisk181 FA 16dA active alive 0 0
0 fscsi1 hdisk46 FA 1dA active alive 0 0
1 fscsi3 hdisk91 FA 2cA active alive 0 0
#powermt remove dev=hdisk180
#powermt remove dev=hdisk45
#powermt remove dev=hdisk90
#powermt remove dev=hdisk181
#powermt remove dev=hdisk46
#powermt remove dev=hdisk91
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower43
Pseudo name=hdiskpower43
Symmetrix ID=XXXXXXXXX
Logical device ID=00EA
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host ------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk135 FA 15cA active alive 0 0
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower44
Pseudo name=hdiskpower44
Symmetrix ID=XXXXXXXX
Logical device ID=00EB
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk136 FA 15cA active alive 0 0
#rmdev -dl hdisk180
hdisk180 deleted
#rmdev -dl hdisk45
hdisk45 deleted
#rmdev -dl hdisk90
hdisk90 deleted
#rmdev -dl hdisk181
hdisk181 deleted
#rmdev -dl hdisk46
hdisk46 deleted
#rmdev -dl hdisk91
hdisk91 deleted
#/opt/emc/SYMCLI/V6.5.3/bin>./symmaskdb list database -dir 16d -p 0
Symmetrix ID : XXXXXX
Database Type : Type5
Last updated at : 12:26:29 PM on Thu Nov 19,2009
Director Identification : FA-16D
Director Port : 0
User-generated
Identifier Type Node Name Port Name Devices
-------------- ----- ---------------------------------- ---------
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX None
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX 005B
005E
0061
00EA:00EB
#/opt/emc/SYMCLI/V6.5.3/bin>./symmaskdb list database -dir 1d -p 0
Symmetrix ID : XXXXXX
Database Type : Type5
Last updated at : 12:26:29 PM on Thu Nov 19,2009
Director Identification : FA-1D
Director Port : 0
User-generated
Identifier Type Node Name Port Name Devices
-------------- ----- ---------------------------------- ---------
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX None
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX 005B
005E
0061
00EA:00EB
#/opt/emc/SYMCLI/V6.5.3/bin>./symmaskdb list database -dir 2c -p 0
Symmetrix ID : XXXXXX
Database Type : Type5
Last updated at : 12:26:29 PM on Thu Nov 19,2009
Director Identification : FA-2C
Director Port : 0
User-generated
Identifier Type Node Name Port Name Devices
-------------- ----- ---------------------------------- ---------
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX None
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX 005B
005E
0061
00EA:00EB
#/opt/emc/SYMCLI/V6.5.3/bin>symmask refresh
Refresh Symmetrix FA directors with contents of SymMask database XXXXX (y/[n]) ? y
Symmetrix FA directors updated with contents of SymMask Database XXXXX
#cfgmgr -vl fcs6
#cfgmgr -vl fcs1
#cfgmgr -vl fcs3
#/opt/emc/SYMCLI/V6.5.3/bin>powermt config
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display
Symmetrix logical device count=52
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
0 fscsi1 optimal 50 0 - 1 0
1 fscsi3 optimal 50 0 - 0 0
2 fscsi5 optimal 52 0 - 1 0
3 fscsi6 optimal 50 0 - 1 0
#/opt/emc/SYMCLI/V6.5.3/bin>powermt save
#/opt/emc/SYMCLI/V6.5.3/bin>./syminq
Device Product Device
------------------------- --------------------------- ---------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
------------------------- --------------------------- ---------------------
略..
/dev/rhdiskpower43 GK EMC SYMMETRIX 5671 XXX00EAXXX 2880
/dev/rhdiskpower44 GK EMC SYMMETRIX 5671 XXX00EBXXX 2880
#gunzip se6530-AIX-powerpc-ni.tar.z
#tar xvf se6530-AIX-powerpc-ni.tar
x .toc, 4478 bytes, 9 media blocks.
x SYMCLI.6.5.3.0.bff, 275118080 bytes, 537340 media blocks.
x se6530_install.sh, 332852 bytes, 651 media blocks
#./se6530_install.sh -install
#----------------------------------------------------------------------------
# EMC Installation Manager
#----------------------------------------------------------------------------
Copyright 2007, EMC Corporation
All rights reserved.
The terms of your use of this software are governed by the
applicable contract.
Solutions Enabler Native Installer[RT] Kit Location : /tmp
Checking for OS version compatibility......
Checking for previous installation of Solutions Enabler......
Following daemons can be set to run as a non-root user:
storevntd, storgnsd, storwatchd
Do you want to run these daemons as a non-root user? [N]:
Checking for active processes.....
Checking for /usr/symcli/storbin/cimserver...
Checking for /usr/symcli/bin/symapisrv...
Checking for active SYMCLI components...
Install All EMC Solutions Enabler Shared Libraries and Run Time Environment ? [Y]:y
Install EMC Solutions Enabler 64-bit Shared Libraries ? [N]:y
Install Symmetrix Command Line Interface SYMCLI ? [Y]:
Install EMC Solutions Enabler SRM Database Run Time Components ? [N]:
Install Option to Enable JNI Interface for EMC Solutions Enabler APIs ? [N]:
Install Option to Enable EMC Solutions Enabler Star Component ? [Y]:
Install Option to Enable EMC Solutions Enabler SYMRECOVER Component ? [Y]:
Do you want to change default permission on /var/symapi directory from [755]? [N]:
Checking for disk space availability....
Persistent data files exist in directory[/usr/emc/API/symapi]...
Do you want to MOVE this data to /usr/emc/API/symapi_old? [N]: y
Installing SYMCLI.DATACORE.rte.....
Installing SYMCLI.DATASTORBASE.rte.....
Installing SYMCLI.CORE.rte.....
Installing SYMCLI.STORBASE.rte.....
Installing SYMCLI.STORFULL.rte.....
Installing SYMCLI.SRMBASE.rte.....
Installing SYMCLI.64BIT.rte.....
Installing SYMCLI.SYMCLI.rte.....
Installing SYMCLI.STAR_PERL.rte.....
Installing SYMCLI.SYMRECOVER.rte.....
Creating OPENSSL Certificate....
Enabling stordaemon...
Do not forget to run 'symcfg discover' after the installation
completes and whenever your configuration changes.
You may need to manually rediscover remotely connected
arrays. Please see the installation notes for further
information.
#-----------------------------------------------------------------------------
# The following HAS BEEN INSTALLED in /opt/emc via the installp utility.
#-----------------------------------------------------------------------------
ITEM PRODUCT VERSION
01 EMC Solutions Enabler V6.5.3.0
RT KIT
#-----------------------------------------------------------------------------
#opt/emc/SYMCLI/V6.5.3/bin>./symcfg discover
This operation may take up to a few minutes. Please be patient...
The feature being requested is not currently licensed
#/usr/emc/API/symapi_old/config>more symapi_licenses.dat
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: BASE / Symmetrix
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: DevMasking / Symmetrix
#/opt/emc/SYMCLI/V6.5.3/bin>./symlmf
E M C S O L U T I O N S E N A B L E R
SOLUTIONS ENABLER LICENSE MANAGEMENT FACILITY
Register License Key (y/[n]) ? y
Enter License Key : XXXX-XXXX-XXXX-XXXX
Register License Key (y/[n]) ? y
Enter License Key : XXXX-XXXX-XXXX-XXXX
Register License Key (y/[n]) ? n
#/var/symapi/config>more symapi_licenses.dat
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: BASE / Symmetrix
License Key: XXXX-XXXX-XXXX-XXXX SYMAPI Feature: DevMasking / Symmetrix
#/opt/emc/SYMCLI/V6.5.3/bin>./symcfg discover
This operation may take up to a few minutes. Please be patient...
#/opt/emc/SYMCLI/V6.5.3/bin>./symcfg list
S Y M M E T R I X
Mcode Cache Num Phys Num Symm
SymmID Attachment Model Version Size (MB) Devices Devices
XXXXXX Local 800-M2 5671 16384 260 238
#/opt/emc/SYMCLI/V6.5.3/bin>./syminq
Device Product Device
------------------------- -------------------------- ---------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
------------------------- --------------------------- ---------------------
/dev/rhdiskpower43 GK EMC SYMMETRIX 5671 XXX00EAXXX 2880
/dev/rhdiskpower44 GK EMC SYMMETRIX 5671 XXX00EBXXX 2880
因為有Errpt 秀Backup Path Changed問題,所以Gate Keeper只分配在同一條Path上:
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower43
Pseudo name=hdiskpower43
Symmetrix ID=XXXXXXXXX
Logical device ID=00EA
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host ------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk135 FA 15cA active alive 0 0
3 fscsi6 hdisk180 FA 16dA active alive 0 0
0 fscsi1 hdisk45 FA 1dA active alive 0 0
1 fscsi3 hdisk90 FA 2cA active alive 0 0
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower44
Pseudo name=hdiskpower44
Symmetrix ID=XXXXXXXX
Logical device ID=00EB
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk136 FA 15cA active alive 0 0
3 fscsi6 hdisk181 FA 16dA active alive 0 0
0 fscsi1 hdisk46 FA 1dA active alive 0 0
1 fscsi3 hdisk91 FA 2cA active alive 0 0
#powermt remove dev=hdisk180
#powermt remove dev=hdisk45
#powermt remove dev=hdisk90
#powermt remove dev=hdisk181
#powermt remove dev=hdisk46
#powermt remove dev=hdisk91
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower43
Pseudo name=hdiskpower43
Symmetrix ID=XXXXXXXXX
Logical device ID=00EA
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host ------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk135 FA 15cA active alive 0 0
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display dev=hdiskpower44
Pseudo name=hdiskpower44
Symmetrix ID=XXXXXXXX
Logical device ID=00EB
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 fscsi5 hdisk136 FA 15cA active alive 0 0
#rmdev -dl hdisk180
hdisk180 deleted
#rmdev -dl hdisk45
hdisk45 deleted
#rmdev -dl hdisk90
hdisk90 deleted
#rmdev -dl hdisk181
hdisk181 deleted
#rmdev -dl hdisk46
hdisk46 deleted
#rmdev -dl hdisk91
hdisk91 deleted
#/opt/emc/SYMCLI/V6.5.3/bin>./symmaskdb list database -dir 16d -p 0
Symmetrix ID : XXXXXX
Database Type : Type5
Last updated at : 12:26:29 PM on Thu Nov 19,2009
Director Identification : FA-16D
Director Port : 0
User-generated
Identifier Type Node Name Port Name Devices
-------------- ----- ---------------------------------- ---------
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX None
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX 005B
005E
0061
00EA:00EB
#/opt/emc/SYMCLI/V6.5.3/bin>./symmaskdb list database -dir 1d -p 0
Symmetrix ID : XXXXXX
Database Type : Type5
Last updated at : 12:26:29 PM on Thu Nov 19,2009
Director Identification : FA-1D
Director Port : 0
User-generated
Identifier Type Node Name Port Name Devices
-------------- ----- ---------------------------------- ---------
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX None
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX 005B
005E
0061
00EA:00EB
#/opt/emc/SYMCLI/V6.5.3/bin>./symmaskdb list database -dir 2c -p 0
Symmetrix ID : XXXXXX
Database Type : Type5
Last updated at : 12:26:29 PM on Thu Nov 19,2009
Director Identification : FA-2C
Director Port : 0
User-generated
Identifier Type Node Name Port Name Devices
-------------- ----- ---------------------------------- ---------
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX None
XXXXXXX Fibre XXXXXXXXXX XXXXXXXXX 005B
005E
0061
00EA:00EB
#/opt/emc/SYMCLI/V6.5.3/bin>symmask refresh
Refresh Symmetrix FA directors with contents of SymMask database XXXXX (y/[n]) ? y
Symmetrix FA directors updated with contents of SymMask Database XXXXX
#cfgmgr -vl fcs6
#cfgmgr -vl fcs1
#cfgmgr -vl fcs3
#/opt/emc/SYMCLI/V6.5.3/bin>powermt config
#/opt/emc/SYMCLI/V6.5.3/bin>powermt display
Symmetrix logical device count=52
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
0 fscsi1 optimal 50 0 - 1 0
1 fscsi3 optimal 50 0 - 0 0
2 fscsi5 optimal 52 0 - 1 0
3 fscsi6 optimal 50 0 - 1 0
#/opt/emc/SYMCLI/V6.5.3/bin>powermt save
#/opt/emc/SYMCLI/V6.5.3/bin>./syminq
Device Product Device
------------------------- --------------------------- ---------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
------------------------- --------------------------- ---------------------
略..
/dev/rhdiskpower43 GK EMC SYMMETRIX 5671 XXX00EAXXX 2880
/dev/rhdiskpower44 GK EMC SYMMETRIX 5671 XXX00EBXXX 2880
2010年12月11日 星期六
2010年12月8日 星期三
好文收藏-WDS(RIS 遠端部署)
使用RIS(遠程部署)全新安裝winXP的經驗
http://blog.csdn.net/flybird77/archive/2010/10/21/5956574.aspx
http://blog.csdn.net/flybird77/archive/2010/10/21/5956574.aspx
2010年12月6日 星期一
Using a self generated key to test java ssl app.
http://stackoverflow.com/questions/2125686/using-a-self-generated-key-to-test-java-ssl-app如何把windows 2008重新佈署(Sysprep)
http://www.dotblogs.com.tw/dotjason/archive/2009/09/29/10823.aspx
微軟的查詢SID帳號工具-PsGetSID
http://www.dc5000yen.idv.tw/read.php?80http://www.javaeye.com/problems/19383
http://objectmix.com/weblogic/538752-lookup-object-jndi-using-http-instead-t3.html
http://blog.csdn.net/chensq1129/archive/2010/03/17/5388152.aspx
http://chenmaolin88.spaces.live.com/blog/cns!CBA5ADE1DBE72106!588.entry
http://kr.forums.oracle.com/forums/thread.jspa?threadID=756393&tstart=285
http://gocom.primeton.com/modules/newbb/viewtopic.php?topic_id=2169
http://forums.oracle.com/forums/thread.jspa?threadID=718812&tstart=-1
http://www.hashei.me/tag/bea-000402
http://translate.google.com.tw/translate?hl=zh-TW&sl=zh-CN&u=http://www.softwelt.com/Know/KnowDetail-5980.html&ei=7p34TPynJoG8vQPK_uDoCA&sa=X&oi=translate&ct=result&resnum=10&ved=0CHgQ7gEwCQ&prev=/search%3Fq%3D%253CBEA-000438%2B%2Bweblogic8%26hl%3Dzh-TW%26client%3Dfirefox-a%26rls%3Dorg.mozilla:zh-TW:official
http://www.yibibuy.com/
http://lzkyo.javaeye.com/category/82374
http://translate.google.com.tw/translate?hl=zh-TW&sl=zh-CN&u=http://lzkyo.javaeye.com/category/82374&ei=OKf4TMKOJoqEvAPo0KH7CA&sa=X&oi=translate&ct=result&resnum=8&ved=0CF4Q7gEwBzgK&prev=/search%3Fq%3D%253CBEA-000438%2B%2Bweblogic8%26start%3D10%26hl%3Dzh-TW%26client%3Dfirefox-a%26sa%3DN%26rls%3Dorg.mozilla:zh-TW:official
http://forums.oracle.com/forums/thread.jspa?threadID=724983&tstart=165
http://topic.csdn.net/t/20040827/15/3315959.html
http://bbs.firnow.com/dview16t74053.html
2010年12月3日 星期五
rsync備份
# more rsync_script.sh
#!/bin/bash
#範例
# rsync -avz --stats --exclude-from=/root/rsync_excludeA.txt /tmp/abctest/ \
root@IP:/BackupVGfs/xx/ --log-file=/root/rsync_logtestA_`date +%m%d%y`.txt | \
tee -a /root/rsync_logtest_`date +%m%d%y`.txt
#純測試,不寫入
rsync -avz -n --stats --exclude-from=/root/rsync_exclude.txt /source/ \
root@IP:/BackupVGfs/xx/ --log-file=/root/rsync_logA_`date +%m%d%y`.txt | \
tee -a /root/rsync_log_`date +%m%d%y`.txt
#正式傳輸
# rsync -avz --stats --exclude-from=/root/rsync_exclude.txt /source/ \
root@IP:/BackupVGfs/xx/ --log-file=/root/rsync_logA_`date +%m%d%y`.txt | \
tee -a /root/rsync_log_`date +%m%d%y`.txt
#!/bin/bash
#範例
# rsync -avz --stats --exclude-from=/root/rsync_excludeA.txt /tmp/abctest/ \
root@IP:/BackupVGfs/xx/ --log-file=/root/rsync_logtestA_`date +%m%d%y`.txt | \
tee -a /root/rsync_logtest_`date +%m%d%y`.txt
#純測試,不寫入
rsync -avz -n --stats --exclude-from=/root/rsync_exclude.txt /source/ \
root@IP:/BackupVGfs/xx/ --log-file=/root/rsync_logA_`date +%m%d%y`.txt | \
tee -a /root/rsync_log_`date +%m%d%y`.txt
#正式傳輸
# rsync -avz --stats --exclude-from=/root/rsync_exclude.txt /source/ \
root@IP:/BackupVGfs/xx/ --log-file=/root/rsync_logA_`date +%m%d%y`.txt | \
tee -a /root/rsync_log_`date +%m%d%y`.txt
訂閱:
文章 (Atom)