2012/11/02

Published 11月 02, 2012 by

RedHat iscsi initiator Setting

iSCSI initiator configuration in RedHat Enterprise Linux 5(在linux認得到Netapp iscsi) 安裝initiator程式 [root@C5CLUSTER2 cluster]# yum install iscsi-initiator-utils 查看本機的iqn碼-可以看到本機的iqnà加入到netapp的Initiator Group,讓netapp認的到 [root@C5CLUSTER2 cluster]# cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1994-05.com.redhat:2551bf29b48 加入target iscsi的連線 [root@C5TCluster1 ~]# iscsiadm -m...
Read More

2012/10/29

Published 10月 29, 2012 by with 0 comment

Redhat 5.4 Cluster 架設教學

Cluster 架設教學:資料來源:鳥哥的教學網站http://linux.vbird.org/somepaper/20090402-hpc-mysql-rhcs.pdf 環境:Redhat 5.4,VM Server測試 相關流程:一、建置及規劃要做的事項二、安裝Clustering套件(Default沒有安裝,要輸入License才能裝)三、使用”system-config-cluster”來建置Cluster四、一一加入Cluster Node五、建置Fence Device,並在Cluster Node把Fence Device加入六、新增Failover Domain七、新增Cluster Resources八、新增Cluster Service九、部署cluster.conf到每一台Cluster node十、啟動Services  ----------------------------------在這上面的文章我就不再copy一份了,補充上面沒有寫到的資料: 1、啟動Debug...
Read More

2012/09/12

Published 9月 12, 2012 by with 0 comment

Linux 遠端桌面(XRDP)

“遠端桌面(RDP)” 相對於 VNC 的好處應該是:1.      連線的過程中有加密2.      可設定登入時的解析度3.      方便切換輸入法4.      操作起來似乎比 VNC 還流暢現在遠端桌面可不再是 Windows 的專利,在 Linux 上要做到遠端桌面的存取,如果純粹只要有 Viewer 的功能可安裝 “rdesktop“,如果要同時有 Viewer 及 Server 的功能請安裝...
Read More

2012/08/20

Published 8月 20, 2012 by with 0 comment

Find Oracle sid and Linux pid

Oracle sid and Linux pidSometimes we found Oracle process that has been running too long using top command on Linux. We know it has PID. But how to know the SID of the process?Here is the script:selectsubstr(a.spid,1,9) pid,substr(b.sid,1,5) sid,substr(b.serial#,1,5) ser#,substr(b.machine,1,6) box,substr(b.username,1,10) username,substr(b.osuser,1,8) os_user,substr(b.program,1,30) programfromv$session...
Read More

2012/08/01

Published 8月 01, 2012 by with 0 comment

Oracle:查詢誰Lock住Process, sid number ?做了什麼事?

ORACLE Tips: 查詢誰Lock住Process, sid number ?Oracle:10Gselect b.object_name obj_name,       d.ctime time,       to_char(d.lmode) l,       to_char(d.request) r,       a.os_user_name os_user,       c.machine machine,       c.program...
Read More

2012/07/27

Published 7月 27, 2012 by with 0 comment

SnmpTrap Server Install and Send To Syslog

1. 啟動snmptrapd:          * 在/etc/hosts.allow中加入准許接收的網段            snmptrapd: 10.55.0.0/255.255.0.0 : Allow          * 建立/etc/snmp/snmptrapd.conf            disableAuthorization yes           ...
Read More

2012/07/19

Published 7月 19, 2012 by with 0 comment

IT隨手記

1.藍底白字分析軟體 BlueScreenView,官網有提供繁體中文套件,將ini檔放到該資料匣就可以資料來源:http://azo-freeware.blogspot.com/2009/08/bluescreenview-100.html官方網站:http://www.nirsoft.net/utils/blue_screen_view.html2.輕巧好用的系統溫度/風扇/硬碟三合一監控軟體-- SpeedFANhttp://blog.soft.idv.tw/?p...
Read More