Instant Messaging을 관리하는 데 사용되는 imadmin 명령을 설명하기 위해 이 장에서 다루는 내용은 다음과 같습니다.
imadmin 유틸리티를 사용하여 Instant Messaging 서버 및 멀티플렉서를 시작, 중지 및 다시 시작할 수 있습니다. root 또는 구성 중에 지정한 최종 사용자로서 imadmin을 실행해야 합니다.
Instant Messaging 서버가 설치된 호스트에서 imadmin 유틸리티를 호출해야 합니다.
imadmin이 기본적으로 설치되는 위치는 다음과 같습니다.
im-svr-base/sbin
표 C–1에서는 imadmin 명령에 관련된 명령을 나열하고 설명합니다.
표 C–1 imadmin 명령 및 설명
명령 |
설명 |
---|---|
imadmin assign_services |
iim.policy.modules가 identity로 설정된 경우 지정한 기본 DN 아래의 기존 사용자에게 Instant Messaging 및 상태 확인 서비스를 할당합니다. DN은 사용자 항목이 저장된 조직의 기본 DN이어야 합니다. iim.policy.modules가 iim_ldap로 설정되고 iim.userprops.store가 ldap로 설정된 경우 디렉토리의 사용자 항목에 객체 클래스(sunIMUser 및 sunPresenceUser)를 추가합니다. Instant Messaging에는 LDAP에 등록 정보를 저장하기 위해 객체 클래스가 필요합니다. |
imadmin status (이전의 imadmin check) |
구성 요소(server, multiplexor , agent-calendar 및 watchdog)가 작동되어 실행 중이고 결과를 표시하는지 확인합니다. 구성 요소를 지정하지 않으면 imadmin 유틸리티에서 모든 구성 요소에 대한 정보를 반환합니다. |
imadmin start |
활성화된 구성 요소를 시작합니다. |
imadmin stop |
활성화된 구성 요소를 중지합니다. |
imadmin refresh |
활성화된 구성 요소를 새로 고칩니다. |
imadmin start server |
서버만 시작합니다. |
imadmin stop server |
서버만 중지합니다. |
imadmin refresh server |
서버만새로 고칩니다. |
imadmin start multiplexor |
멀티플렉서만 시작합니다. |
imadmin stop multiplexor |
멀티플렉서만 중지합니다. |
imadmin refresh multiplexor |
멀티플렉서만 새로 고칩니다. |
imadmin start agent-calendar |
캘린더 에이전트만 시작합니다. |
imadmin stop agent-calendar |
캘린더 에이전트만 중지합니다. |
imadmin refresh agent-calendar |
캘린더 에이전트만 새로 고칩니다. |
imadmin start watchdog |
워치독만 시작합니다. |
imadmin stop watchdog |
워치독만 중지합니다. |
imadmin refresh watchdog |
워치독만 새로 고칩니다. |
imadmin version |
버전을 표시합니다. |
imadmin [options] [action] [component]
표 C–2에서는 imadmin 명령 옵션을 나열하고 설명합니다.
표 C–2 imadmin 명령 옵션
옵션 |
설명 |
---|---|
-c alt-config-file |
start 및 refresh 작업과 함께 사용하여 /etc/opt/SUNWiim/config/iim.conf 파일 이외의 다른 구성 파일을 지정합니다. |
-h |
imadmin 명령에 대한 도움말을 표시합니다. |
표 C–3에서는 다양한 imadmin 명령을 실행한 후 수행되는 작업을 나열하고 설명합니다.
표 C–3 imadmin 명령 작업
옵션 |
설명 |
---|---|
status (이전의 imadmin check) |
Instant Messaging 구성 요소(server, multiplexor, agent-calendar 및 watchdog)에 대한 정보를 반환합니다. [component]에 이 작업을 지정할 필요는 없습니다. |
start |
Java 힙 크기, classpath를 설정하고 지정된 구성 요소를 모두 시작합니다. |
stop |
지정된 구성 요소의 데몬을 모두 중지합니다. |
refresh |
지정된 구성 요소를 중지하고 시작합니다. 구성을 변경한 후에 사용됩니다. |
표 C–4에서는 imadmin 명령의 구성 요소를 나열하고 설명합니다.
표 C–4 imadmin 명령의 구성 요소
옵션 |
설명 |
---|---|
agent-calendar |
캘린더 에이전트(agent-calendar)를 나타냅니다. |
multiplexor |
멀티플렉서만 나타냅니다. |
server |
Instant Messaging 서버를 나타냅니다. |
watchdog |
워치독을 나타냅니다. |