IBM Enterprise Records, 버전 5.1.2   

execute 명령

execute 명령은 지정된 구성 프로파일 또는 개별 태스크를 위한 구성 XML 파일의 설정을 적용합니다. 명령 이름은 대소문자를 구분하지 않습니다.

Configuration Manager 그래픽 사용자 인터페이스에서 작성 또는 편집된 프로파일을 위한 구성 XML 파일을 실행하는 경우 XML 파일에 필수 비밀번호 값이 있는지 확인하십시오. 파일을 실행하기 전에 이 확인을 완료하십시오.

구성 XML 파일을 실행하려면 다음을 수행하십시오.

  1. 애플리케이션 서버를 시작 또는 중지하십시오.
    표 1. 필수 애플리케이션 서버 상태
    애플리케이션 서버 유형 설명
    WebSphere® Application Server 애플리케이션 서버가 실행되지 않는 경우 해당 서버를 시작하십시오.
    JBoss 애플리케이션 서버 애플리케이션 서버를 중지하십시오.
    Oracle WebLogic Server 애플리케이션 서버가 실행되지 않는 경우 해당 서버를 시작하십시오.
  2. 다음 구문에 표시된 대로 한 번에 하나의 파일을 실행하거나 구성 XML 파일을 동시에 모두 실행하십시오.

execute 명령 구문

다음 구문에는 읽기를 위한 명령을 형식화하는 줄 바꿈이 있습니다. 줄 바꿈 없이 하나의 행에 명령 및 옵션을 입력하십시오.

configmgr_cl.exe execute -profile profile_path 
[-task task_type | -taskfile 
task_file_name] [-silent] [-force] [-debug] [-help]

execute 명령 매개변수

-profile profile_path
-profile profile_path 매개변수는 다음과 같이 작성되는 프로파일에 대한 전체 디렉토리 경로를 지정합니다.
C:\Program Files\IBM\EnterpriseRecords\configure
\profiles\WASWebApplicationDeploymentProile
또는 ..\profiles 폴더에 대한 상대 경로를 지정합니다.
-task task_type
-task task_type 매개변수는 실행할 태스크를 표시합니다. 모든 태스크를 실행하려고 하거나 -taskfile task_file_name 매개변수를 지정하는 경우 -task task_type 매개변수를 생략할 수 있습니다.
-taskfile task_file_name
-taskfile task_file_name 매개변수는 사용할 구성 XML 파일을 지정합니다. task_file_name 값은 대소문자를 구분하지 않습니다. 태스크 파일 이름은 listTasks 명령에 의해 보고됩니다.
-task 또는 -taskfile을 사용하여 이 프로파일에서 실행할 태스크를 지정합니다. -task 또는 -taskfile이 지정되지 않은 경우, 프로파일의 모든 태스크가 실행됩니다. -task-taskfile을 지정하지 않아도 됩니다. 둘 다 지정하지만 이 두 매개변수가 일치하지 않는 경우, 명령에서 오류가 발생합니다.
-silent
-silent 매개변수를 사용하면 명령 실행 시 출력이 표시되지 않습니다.
-debug
-debug 매개변수를 사용하면 명령에 대한 로깅이 가능합니다.
제한사항: 이 매개변수는 HP-UX 설치에서 사용할 수 없습니다.
-help
-help는 명령 도움말을 표시합니다.

execute 명령 예제

다음 예제에는 읽기를 위한 명령을 형식화하는 줄 바꿈이 있습니다. 줄 바꿈 없이 하나의 행에 명령 및 옵션을 입력하십시오.

프로파일에서 모든 태스크를 실행합니다.
다음 명령은 WSWebApplicationDeploymentProfile 프로파일에서 모든 태스크를 실행하며, 이 프로파일은 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 디렉토리에 있습니다.
 configmgr_cl.exe execute -profile "C:\Program Files\IBM\EnterpriseRecords
\configure\profiles\WSWebApplicationDeploymentProfile"
프로파일에서 하나의 태스크만 실행합니다.
다음 명령은 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 디렉토리에서 deployWebApplication 태스크를 실행합니다.
configmgr_cl.exe execute -profile "C:\Program Files\IBM
\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile" -task deployWebApplication 
-taskfile에 의해 지정된 하나의 태스크만 실행합니다.
다음 명령은 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 디렉토리에서 redeployWebApplication.xml 구성 XML 파일을 실행합니다.
 configmgr_cl.exe execute -profile "C:\Program Files\IBM
\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile" 
-taskfile redeployWebApplication.xml 
프로파일에서 -silent와 함께 하나의 태스크를 실행하면 출력은 표시되지 않습니다.
다음 명령은 -silent와 함께 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 디렉토리에서 deployIER 태스크를 실행하며, 출력은 표시되지 않습니다.
 configmgr_cl.exe execute -profile "C:\Program Files\IBM
\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile" -task deployIER -silent 
execute 명령에 대한 도움말을 표시합니다.
다음 명령은 execute 명령에 대한 도움말을 표시합니다.
configmgr_cl.exe execute -help
-silent를 실행합니다. 이 명령에 대한 출력은 표시되지 않습니다.
다음 명령은 -silent와 함께 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 디렉토리에서 deployWebApplication 태스크를 실행하며, 출력은 표시되지 않습니다.
 configmgr_cl.exe execute -profile "C:\Program Files
\IBM\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile"
 -task deployWebApplication -silent 


피드백

마지막 업데이트 날짜: 2013년 11월
frmcl005.htm

© Copyright IBM Corp. 2013