DSCC를 사용하여 이 작업을 수행할 수 있습니다. 자세한 내용은 디렉토리 서비스 제어 센터 인터페이스 및 DSCC 온라인 도움말을 참조하십시오.
디렉토리 서버를 중지합니다.
$ dsadm stop instance-path |
이전에 DSCC를 사용하여 서버를 관리했다면 명령줄을 사용하여 서버를 등록 취소합니다.
$ dsccreg remove-server /local/ds Enter DSCC administrator's password: /local/ds is an instance of DS Enter password of "cn=Directory Manager" for /local/ds: This operation will restart /local/ds. Do you want to continue ? (y/n) y Unregistering /local/ds from DSCC on localhost. Connecting to /local/ds Disabling DSCC access to /local/ds Restarting /local/ds |
자세한 내용은 dsccreg(1M) 설명서 페이지를 참조하십시오.
(옵션) 이전에 서비스 관리 솔루션에서 서버 인스턴스를 활성화했다면 서버가 서비스로 관리되지 않도록 설정합니다.
운영 체제 |
명령 |
---|---|
Solaris 10 |
Sun Cluster 환경에서 작업하는 경우에는 다음 명령을 사용합니다. dsadm disable-service --type CLUSTER instance-path 그렇지 않은 경우에는 다음 명령을 사용합니다. dsadm disable-service --type SMF instance-path |
Solaris 9 |
Sun Cluster 환경에서 작업하는 경우에는 다음 명령을 사용합니다. dsadm disable-service --type CLUSTER instance-path 그렇지 않은 경우에는 다음 명령을 사용합니다. dsadm autostart --off instance-path |
Linux, HP-UX |
dsadm autostart --off instance-path |
Windows |
dsadm disable-service --type WIN_SERVICE instance-path |
서버 인스턴스를 삭제합니다.
$ dsadm delete instance-path |
이 명령은 데이터베이스와 데이터를 포함한 모든 항목을 제거합니다.
인스턴스가 서비스로 활성화되었거나 인스턴스가 시스템 시작 시 자동으로 시작된 경우 dsadm delete에는 루트 액세스가 필요합니다.