Messaging Server가 HA 제어 하에 실행 중일 때는 일반적인 Messaging Server 시작, 다시 시작 및 중지 명령으로 개별 Messaging Server 서비스를 제어할 수 없습니다. HA 환경에서 stop-msg를 시도하면 시스템에서는 HA 설정이 감지되었다는 경고 메시지와 함께 시스템을 올바로 중지하는 방법을 알려줍니다.
시작, 중지 및 다시 시작 명령은 아래 표에서 볼 수 있습니다. 다른 Messaging Server 서비스(예: SMTP)를 개별적으로 시작, 다시 시작 또는 중지시키는 특정 HA 명령은 없습니다. 하지만 stop-msg service 명령을 실행하여 imap, pop, sched 등의 개별 서비스를 중지 및 다시 시작할 수 있습니다.
Sun Cluster에서는 개별 자원을 세부적으로 제어할 수 있습니다. Sun Cluster는 Messaging Server를 자원으로 인식하기 때문에 scswitch 명령은 모든 Messaging Server 서비스에 적용됩니다.
표 4–2 Sun Cluster 3.0/3.1 환경에서 시작, 중지, 다시 시작
작업 |
개별 자원 |
전체 자원 그룹 |
|
---|---|---|---|
시작 |
scswitch -e -j resource |
sscswitch -Z -g resource_group |
|
다시 시작 |
|
scswitch -R -g resource_group |
|
중지 |
scswitch -n -j resource |
scswitch -F -g resource_group |
표 4–3 Veritas 1.3, 2.0, 2.1 및 3.5 환경에서 시작, 중지, 다시 시작
작업 |
개별 자원 |
전체 자원 그룹 |
||
---|---|---|---|---|
시작 |
hares -online resource -sys system |
hagrp -online group -sys system |
||
다시 시작 |
|
|
||
중지 |
hares -offline resource -sys system |
hagrp -offline group -sys system |