Install시 Ignite-UX11.11, GlancePlus설치
pvcreate -f
pvcreate -f /dev/rdsk/c4t0d0
pvcreate -f /dev/rdsk/c4t0d1
pvcreate -f /dev/rdsk/c4t0d2
pvcreate -f /dev/rdsk/c4t0d3
pvcreate -f /dev/rdsk/c4t0d4
pvcreate -f /dev/rdsk/c4t0d5
pvcreate -f /dev/rdsk/c4t0d6
pvcreate -f /dev/rdsk/c4t0d7
pvcreate -f /dev/rdsk/c4t1d0
pvcreate -f /dev/rdsk/c4t1d1
pvdisplay -v /dev/dsk/c1t15d0
pvdisplay -v /dev/dsk/c4t0d0
vgcreate vg01 /dev/dsk/c4t0d0
vgextend /dev/vg01 /dev/dsk/c4t0d1
vgextend /dev/vg01 /dev/dsk/c4t0d2
vgextend /dev/vg01 /dev/dsk/c4t0d3
vgextend /dev/vg01 /dev/dsk/c4t0d4
vgextend /dev/vg01 /dev/dsk/c4t0d5
vgextend /dev/vg01 /dev/dsk/c4t0d6
vgextend /dev/vg01 /dev/dsk/c4t0d7
vgextend /dev/vg01 /dev/dsk/c4t1d0
vgextend /dev/vg01 /dev/dsk/c4t1d1
lvcreate -L 138880 -n lvol01 vg01
newfs -F vxfs –o largefiles /dev/vg01/rlvol01
(라지 파일로 만들기)
fstyp -v /dev/vg01/lvol01
mount /dev/vg01/lvol01 /data
/etc/set_parms hostname SRVNAME
-------------------------------------------------------
sendmail disable
/sbin/init.d/sendmail stop
/etc/rc.config.d/mailservs
export SENDMAIL_SERVER=0
export SENDMAIL_SERVER_NAME=
-------------------------------------------------------
tar cvf - /tmp/ts2.bundle.txt | remsh ts01 "cd /zw; tar xf -"
rcp ts02:/etc/rc.config.d/netconf ./zw
-------------------------------------------------------
swinstall -s /aaa.depot
swinstall -s /cdrom
swcopy -?
-------------------------------------------------------
<<작업시 MCSG 내리고 올리고>>
cmviewcl 상태보기
/etc/cmcluster/pkg1/pkg1.cntl.log 로그 발생 모니터링하면서
cmhaltnode -f svr01 active서버 내리면서 넘기고
cmviewcl 상태보고
[패키지 옮겨서 실행시키기]
cmrunpkg -n svr01 pkg1 (active로 노드 지정하기)
cmmodpkg -n svr01 -e pkg1 (active된쪽 패키지 실행시키기)
안되믄..
cmhaltcl -f 다시 원복하기 위해 클러스터링 전체 내리고
cmviewcl 상태보고
cmruncl -v 클러스터링 원복
-------------------------------------------------------
ING
cmviewcl 상태보기
/etc/cmcluster/pkg1/pkg1.cntl.log 로그 발생 모니터링하면서
cmhaltnode -f gsmail01 active서버 내리면서 넘기고
cmviewcl 상태보고
cmhaltcl -f 다시 원복하기 위해 클러스터링 전체 내리고
cmviewcl 상태보고
cmruncl -v 클러스터링 원복
[패키지 상태 보기]
cmviewcl [-v] [-l]
[패키지 살리기]
cmmodpkg -e [mail02] pkg1
[패키지 내리기]
cmhaltpkg pkg1
[패키지 옮겨서 실행시키기]
# cmhaltpkg pkg1 (active쪽 노드에서 패키지 내리기)
# cmrunpkg -n ftsys10 pkg1 (active로 노드 지정하기)
# cmmodpkg -e pkg1 (active된쪽 패키지 실행시키기)
혹은 (SE가 했던)
cmmodpkg -e pkg1
cmviewcl
cmhaltpkg pkg1
cmviewcl
cmmodpkg -e pkg1
혹은 (SE가 했던)
cmhaltpkg pkg1
cmviewcl
cmmodpkg -e -n gsmail02 pkg1
cmviewcl
cmrunpkg -n gsmail02 pkg1
cmviewcl
cmmodpkg -e pkg1
cmviewcl
[중지된 클러스터링 시작]
cmruncl -v (기존 구성된 전체 시작)
------------------------------------------------------
cmhaltcl -f
cmruncl -v
cmmodpkg -e pkg1
cmrunpkg -n gsmail01 pkg1
cmhaltnode -f gsmail01 pkg1
vi /etc/cmcluster/pkg1/pkg1.conf
---> vi /etc/cmcluster/pkg1/pkg1.conf 바꾸기
function customer_defined_run_cmds
{
# ADD customer defined run commands.
: # do nothing instruction, because a function must contain some command.
/tims/script/START_1S.sh #살리는 쉘 추가
test_return 51
}
# This function is a place holder for customer define functions.
# You should define all actions you want to happen here, before the service is
# halted.
function customer_defined_halt_cmds
{
# ADD customer defined halt commands.
: # do nothing instruction, because a function must contain some command.
/tims/script/KILL_1S.sh #죽이는 쉘 추가
test_return 52
}
-------------------------------------------------------------------------
umount 안되어 cluster 안넘어가는 시나리오시
*umount 안되어 cluster 안 넘어가는 시나리오
cmhaltnode -f mail01
(fuser 확인하고)
vgchange -a n vg01
umount /data
cmmodpkg -e -n mail02 pkg1
cmrunpkg -n mail02 pkg1
*mail01로 다시 돌려놓을때
cmhaltpkg -n mail02 pkg1
cmmodpkg -e pkg1
cmviewcl
외장HDD shadow image만들기
fix01:/HORCM/scripts/서버명/서버명__hp_backup.sh
#################################################
superdome CPU 교체시
swlist -l fileset -a state | grep -i PH|more
parstatus
icod_stat
#################################################
HP 이상 점검
(1)#/var/adm/syslog/syslog.log
(2)#dmesg
(3)#/var/opt/resmon/log/event.log
(4)#체크쉘