요청하신 자료를 사용할 수 없습니다. 이 버전의 제품에 적용되지 않거나 이 버전의 문서에서 관련 정보가 다르게 구성되어 있습니다. 제안 작업: 검색, 찾아보기 또는 다른 버전으로 돌아가기.
본 한국어 번역은 사용자 편의를 위해 제공되는 기계 번역입니다. 영어 버전과 한국어 버전이 서로 어긋나는 경우에는 언제나 영어 버전이 우선합니다.
smsap 플러그인 검사 명령
기여자
-
이 문서 사이트의 PDF

별도의 PDF 문서 모음
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
SnapManager를 사용하면 다양한 작업에 사용자 지정 스크립트를 설치하고 사용할 수 있습니다. SnapManager은 백업, 복원 및 클론 복제 작업을 수행하기 전에 사용자 지정 스크립트를 자동화할 수 있는 백업, 복원 및 클론 플러그인을 제공합니다. 백업, 복원 및 클론 플러그인을 사용하기 전에 플러그인 검사 명령을 실행하여 플러그인 스크립트의 설치를 확인할 수 있습니다. 사용자 지정 스크립트는 세 가지 디렉토리, 즉 백업, 복원 또는 클론 작업이 발생하기 전에 항상 실행해야 하는 스크립트의 경우 사전 처리 스크립트용, 사후 처리 스크립트의 경우 사후 처리 스크립트용으로 저장됩니다.
구문
smsap plugin check -osaccount os_db_user_name
매개 변수
-
'*-osaccount * '
운영 체제(OS) 데이터베이스 사용자 이름을 지정합니다. osaccount 옵션을 입력하지 않으면 SnapManager는 플러그인 스크립트를 특정 사용자가 아닌 루트 사용자로 확인합니다.
예
다음 예에서는 plugin check 명령이 정책 디렉터리에 실행 파일로 저장된 policy1 사용자 정의 스크립트를 찾았다는 것을 보여 줍니다. 또한 이 예제에서는 사전 디렉토리에 저장된 두 개의 다른 사용자 지정 스크립트가 오류 메시지를 반환하지 않고(상태가 0으로 표시됨) POST 디렉터리에서 발견된 네 번째 사용자 지정 스크립트(post-plug-in1)에 오류(상태가 3으로 표시됨)가 포함되어 있음을 보여 줍니다.
smsap plugin check Checking plugin directory structure ... <installdir>/plugins/clone/policy OK: 'policy1' is executable <installdir>/plugins/clone/pre OK: 'pre-plugin1' is executable and returned status 0 OK: 'pre-plugin2' is executable and returned status 0 <installdir>/plugins/clone/post ERROR: 'post-plugin1' is executable and returned status 3 <installdir>/plugins/backup/policy OK: 'policy1' is executable <installdir>/plugins/backup/pre OK: 'pre-plugin1' is executable and returned status 0 OK: 'pre-plugin2' is executable and returned status 0 <installdir>/plugins/backup/post ERROR: 'post-plugin1' is executable and returned status 3 <installdir>/plugins/restore/policy OK: 'policy1' is executable <installdir>/plugins/restore/pre OK: 'pre-plugin1' is executable and returned status 0 OK: 'pre-plugin2' is executable and returned status 0 <installdir>/plugins/restore/post ERROR: 'post-plugin1' is executable and returned status 3 Command complete.