HP

HP Systems Insight Manager 5.1 사용 설명서

한국어
  관리 확장 도구  |  사용자 정의 도구  |  사용자 정의 도구 참조   

사용자 정의 도구 참조

≫목차
≫색인
≫알림
≫소개
≫제품 개요
≫시작
≫검색 및 식별
≫사용자 및 권한
≫디렉토리 서비스
≫네트워킹 및 보안
≫시스템, 클러스터 및 이벤트 모니터링
≫저장소 통합
≫작업을 사용하여 관리
≫관리 확장 도구
≫클러스터 모니터
≫명령줄 도구
≫에이전트 구성 또는 복구 개요
≫사용자 정의 도구
≫새 원격 도구 만들기
≫새 CMS 도구 만들기
≫새 웹 페이지 도구 만들기
≫사용자 정의 도구 관리
≫원격 도구 편집
≫CMS 도구 편집
≫웹 페이지 도구 편집
≫사용자 정의 도구 삭제
≫도구 정의 파일 보기
≫사용자 정의 도구 제거 및 복원
≫사용자 정의 도구의 환경 변수
≫사용자 정의 도구에 매개 변수 문자열을 사용하는 예
사용자 정의 도구 참조
≫DMI 액세스 구성
≫SNMP 액세스 구성
≫장치 Ping
≫디스크 임계값
≫License Manager
≫관리 프로세서 도구
≫MIB 관리
≫OpenSSH 설치
≫PMP 도구
≫Replicate Agent 설정
≫RPM Package Manager
≫Server Migration Pack
≫System Management Homepage
≫시스템 페이지
≫Version Control
≫Virtual Machine Management Pack
≫WBEM 기반 도구
≫사용 가능한 MSA 도구
≫파트너 응용 프로그램
≫보고
≫시스템 및 이벤트 관리
≫문제 해결
≫참조 정보
≫인쇄용 페이지
≫용어
≫도움말 사용법
≫ 도구 유형
≫ 매개 변수화된 문자열
≫ 도구 필터링
≫ 버전 번호
≫ 다른 요구 사항
≫ 문서 유형 정의

도구 유형

세 가지 기본 유형의 HP SIM(HP Systems Insight Manager) 도구로 SSA(단일 시스템 인식) 도구, MSA(다중 시스템 인식) 도구 및 WLA(웹 시작 인식) 도구가 있습니다.

SSA 도구는 대상 시스템에서 실행되고 대상 시스템 환경만 인식합니다. 따라서 SSA 도구를 실행할 때 DTF(분산 작업 기능)는 도구를 실행할 각 HP SIM 에이전트에 도구 정보를 보냅니다. SSA 도구의 예로는 ls, cat 또는 cp 같은 일반적인 UNIX 명령을 래핑하는 도구를 들 수 있습니다.

MSA 도구는 중앙 시스템, 때때로 CMS(중앙 관리 서버)에서 실행되며 대상 시스템 목록을 처리할 수 있습니다. MSA 도구의 예로는 HP-UX 시스템에서 Ignite-UX 기능을 래핑하는 도구를 들 수 있습니다.

WLA 도구는 일반적으로 브라우저에서 실행되며 URL로 지정됩니다.

매개 변수화된 문자열

도구 개발자는 도구를 올바르게 만들기 위해 URL과 명령줄이 구성되는 방법을 이해해야 합니다. 도구 개발자는 매개 변수화된 문자열을 사용하여 TDEF(도구 정의 파일)를 만들 때 사용할 수 있는 옵션을 크게 향상시킬 수 있습니다.

매개 변수화된 문자열은 교체 필드를 포함하는 문자열로, 표준 C 라이브러리의 printf() 함수에 사용되는 형식 문자열과 비슷합니다. 이러한 필드는 런타임 시 도구 매개 변수 속성에 정의된 대로 사용자가 입력한 값, 작업 컨트롤러에서 제공한 몇 가지 표준 작업 등록 정보, 선택한 대상 시스템이나 시스템 그룹과 관련된 값, 또는 전역 도구 등록 정보 파일에서 검색한 등록 정보 값으로 교체될 수 있습니다. 이렇게 하여 URL이나 명령줄을 매우 구체적으로 생성할 수 있습니다.

매개 변수화된 문자열 대체 테이블

다음 매개 변수는 전역 속성 값을 대체합니다.

매개 변수설명
%t 실행될 작업의 작업 ID
%u이 도구를 실행하는 사용자의 이름
%e이 도구를 실행할 때 사용할 사용자의 이름
%s도구를 실행하는 코어 CMS의 관리 서버 호스트 이름
%#(여기서 #은 양의 정수) 목록 색인 위치로 제공된 숫자(#)가 참조하는 매개 변수를 사용자가 입력한 값으로 대체(1 기준... %1, %2, %3 등)
%ySOAP 단일 사인온 웹 응용 프로그램에 사용하기 위한 SOAP(Simple Object Access Protocol) 로그온 토큰

다음 매개 변수는 현재 선택된 대상을 대체합니다.

매개 변수설명
%f대상 시스템(또는 문자열에 %x 토글이 있는 경우 시스템 그룹)의 시스템 이름 또는 IP 주소
%n네트워크 이름(호스트 이름, IP 주소 또는 같은 순서로 된 시스템 이름)
%a네트워크 주소(IP 주소)
%l시스템 링크 구성 설정에서 지정한 형식의 링크 이름(이름, IP 주소 또는 전체 DNS 이름)
%p이 대상에 대한 WBEM 프록시의 IP 주소(<ip address>:<port#></port#></ip> 형식)
%g대상 시스템(또는 문자열에 %x 토글이 있는 경우 시스템 그룹)의 데이터베이스 GUID
%b대상 시스템의 시스템 유형
%c대상 시스템의 시스템 하위 유형
%r% (rt[.attribute]%)"rt" 매개 변수에 지정된 관계 유형을 가진 관련 시스템을 대체. [.attribute]가 지정된 경우 명명된 시스템 속성 중 하나가 관련 시스템에 대해 반환됩니다. 또한 네트워크 이름(.a) 같은 일반 속성도 작동합니다. 예를 들어 서버의 관리 프로세서 IP 주소를 가져오려면 %r{MgmtProcToServer.a%}를 사용하고, 연락처를 가져오려면 %r{MgmtProcToServer.Contact%}를 사용합니다. 관련 시스템 속성이 생략된 경우 각 시스템에 대해 네트워크 이름과 IP 주소가 반환됩니다. 네트워크 이름과 IP 주소는 "네트워크 이름|ip 주소" 형식으로 반환됩니다. 둘 이상의 시스템이 반환되는 경우 쉼표로 분리됩니다. 관계 유형 "MgmtProcToServer"는 모든 관리 프로세서 관계 유형에 대한 관련 시스템 정보를 반환하는 데 사용할 수 있습니다.
%(attribute]%)대상 시스템의 명명된 속성 값

다음 매개 변수는 선택된 여러 대상 시스템을 지원하기 위한 반복을 제공합니다.

매개 변수설명
%( ... %)반복되는 패턴(현재 선택 항목이 있는 경우에만 반복) 현재 대상 선택이 없으면 확장 시 구분 기호 사이의 텍스트가 제거됩니다. 이 기능으로 텍스트를 옵션으로 지정하고 대상 선택 목록에 종속되도록 할 수 있습니다.
%i선택 색인(1 기준)
%z아무 것도 대체하지 않고 선택 색인을 다음 정수로 증가시키고 참조된 대상 시스템을 선택된 대상 목록의 다음 대상으로 증가시킵니다.
%⇚< ... >l암호화된 텍스트(다른 모든 매개 변수를 대체한 후 암호화)
%%대체 후 명령/URL에 %를 유지할 수 있습니다.

도구 필터링

도구 필터링은 선택한 시스템에서 도구 작성자가 도구를 실행해야 하는지 여부를 제어할 수 있게 하는 기능입니다. 대부분의 도구는 일부 플랫폼에 제공되는 명령에 대해서만 성공적으로 실행되고 다른 명령에 대해서는 실행되지 않는다는 점에서 플랫폼 종속적입니다. 예를 들어 bdf 도구는 HP-UX 플랫폼에서 제공하는 bdf 명령에 종속되며 Linux 플랫폼에서는 해당 이름으로 사용할 수 없습니다. 도구는 필터 요구 사항을 통과한 하나 이상의 검색된 시스템이 있는 경우에만 도구 메뉴에 표시됩니다. 검색된 시스템은 필터 요구 사항을 통과해야 하고 모든 필터 요구 사항을 통과한 후에만 실행됩니다. 이를 위해 도구에서는 도구가 실행될 수 있는 모든 시스템이 가져야 할 시스템 속성을 시스템 필터 식에 지정합니다.

선택된 시스템에 대해 도구를 시작할 수 없는 경우에는 도구를 시작할 수 없는 이유에 대한 정보와 함께 오류 메시지가 표시됩니다.

도구를 실행하는 데 필요한 시스템 속성은 다음과 같은 형식의 시스템 필터 식에 의해 지정됩니다.

				
<node-filter name="attribute-name" operator="eq" 
   value="attribute-value" />
      or
<node-filter name="attribute-name" operator="ge" 
   value="attribute-value" />
      or
<node-filter name="attribute-name" operator="lt" 
   value="attribute-value" />
      or
<node-filter name="attribute-name" operator="ct" 
   value="attribute-value" />
      or
<node-filter name="attribute-name" operator="neq" 
   value="attribute-value" />
      or
<node-filter name="attribute-name" operator="nct" 
  value="attribute-value" />
			

eq 연산자는 도구를 실행할 수 있는 시스템이 지정된 속성 값과 정확하게 같은 값을 가져야 한다는 것을 지정하며, 시스템 필터 식에 허용되는 모든 속성 이름에 적용됩니다. ge 연산자는 도구를 실행할 수 있는 시스템이 지정된 속성 값을 하나 이상 가져야 한다는 것을 지정합니다. lt 및 ge 연산자는 개정 속성에만 사용할 수 있으며, 특히 OS 유형 필터의 OS 개정 속성 및 프로토콜 유형 필터의 모든 속성과 함께 사용할 수 있습니다. 이러한 속성 값은 숫자이거나 문자열일 수 있습니다. ct 연산자는 도구를 실행할 수 있는 시스템이 지정된 값을 포함하는 속성을 가져야 한다는 것을 지정합니다. neq 연산자는 도구를 실행할 수 있는 시스템이 지정된 속성 값을 가지면 안 된다는 것을 나타내며, 시스템 필터 식에 허용된 모든 속성 이름에 적용됩니다. nct 연산자는 도구를 실행할 수 있는 시스템이 지정된 값을 포함하지 않는 속성을 가져야 한다는 것을 지정합니다. 시스템의 경우 필터 식에서 지정할 수 있는 숫자 값 속성에는 버전 번호를 값으로 하는 OS 개정 및 프로토콜 지원 속성이 있습니다. 버전 번호에 허용되는 값과 버전 번호를 비교하는 방법에 대해서는 다음 절의 버전 번호에서 설명합니다. 속성 이름은 다음 절의 테이블에 나열된 값 중 하나이거나 시스템의 프로토콜 지원 속성에서 가져온 프로토콜 이름입니다. 속성 값은 속성 이름에 사용할 수 있는 시스템 속성 값 중 하나입니다.

속성 값은 DMTF(Distributed Management Task Force) CIM(Common Information Model)을 기반으로 합니다. 이러한 값은 일반적으로 시스템 식별 프로세스 중 정의되며, 이 과정에서는 WBEM 및 SNMP를 사용하여 시스템 속성을 확인합니다. 이 릴리즈에서 유효한 OS 이름 값은 HP-UX 및 Linux입니다. HP-UX의 OS 이름 값에 대해 OS 개정 속성 값은 맨 앞의 문자 필드를 제거합니다(예: B.11.11은 11.11로 저장됨).

시스템 필터 식은 포함 필터 식의 일부로 사용됩니다. 포함 필터 식에는 세 가지 유형이 있으며, 각 유형에 따라 필터링할 속성 이름 범주가 다릅니다.

범주필터 유형허용되는 속성 이름
운영 체제osOS 이름, OS 공급업체, OS 개정
하드웨어하드웨어장치 유형, 장치 하위 유형, 모델
프로토콜 지원프로토콜HTTP를 제외한 모든 프로토콜 이름
기타기타미리 정의된 시스템 속성이거나 사용자 정의 시스템 속성일 수 있음

포함 필터에는 허용되는 속성 이름을 사용하는 하나 이상의 시스템 필터 식이 들어 있습니다. 예를 들어 os 필터는 다음과 같이 구성될 수 있습니다.

				
<include-filter type="os">
	      <node-filter name="OSName"     
		    operator="eq" value="LINUX"  />
	      <node-filter name="OSVendor"   
            operator="eq" value="RedHat" />
	      <node-filter name="OSRevision" 
            operator="ge" value="7.2"	  />
</include-filter>
			

포함 필터에 허용되는 모든 속성을 포함할 필요는 없습니다. 속성을 둘 이상 포함하면 조건 간에 논리 AND가 수행됩니다. 속성은 포함 필터에 두 번 이상 나타날 수 없습니다. 버전 번호 값을 갖는 속성의 연산자가 하나는 lt이고 다른 하나는 ge인 경우에는 예외적으로 두 번 나타날 수 있습니다. 예를 들면 다음과 같습니다.

				
<include-filter type="protocol">
	      <node-filter name="WBEM" 
            operator="lt" value="2.6" />
          <node-filter name="WBEM" 
            operator="ge" value="2.4" />
</include-filter>
			

이 필터 식은 2.4 이상, 2.6 미만의 WBEM 프로토콜 버전을 지원하는 모든 시스템 모음에 대해 도구를 표시해야 한다는 것을 지정합니다.

도구에 서로 다른 유형의 포함 필터가 둘 이상 들어 있으면 필터 조건 간에 논리 AND가 수행됩니다. 운영 체제 및 하드웨어 종속성을 모두 가지는 도구에서는 다음과 같은 필터를 사용할 수 있습니다.

				
<include-filter type="os">
	      <node-filter name="OSName"     
	        operator="eq" value="LINUX"  />
 </include-filter>
 <include-filter type="hardware">
	      <node-filter name="DeviceSubType" 
	        operator="eq" value="HPVectra" />
 </include-filter>
			

도구에 같은 유형의 포함 필터가 둘 이상 들어 있으면 필터 조건 간에 논리 OR가 수행됩니다. 서로 다른 두 개 운영 체제에서 사용할 수 있는 도구에서는 다음과 같은 필터를 지정할 수 있습니다.

				
<include-filter type="os">
	      <node-filter name="OSName"     
	        operator="eq" value="LINUX"  />
</include-filter>
<include-filter type="os">
	      <node-filter name="OSName"     
	        operator="eq" value="HPUX"	 />
</include-filter>
			

이 도구는 Linux 또는 HP-UX를 사용하는 모든 시스템 모음에서 시작할 수 있습니다.

도구 필터링은 필터링되는 속성에 따라 다르고 선택된 시스템에 값이 정의되어 있습니다. os 필터 유형의 경우 필터링되는 속성이 시스템에 정의되어 있지 않으면 시스템이 필터에서 필요로 하는 값을 갖는 것으로 가정합니다. 따라서 도구 필터에서 지정한 os 속성이 없는 시스템은 도구를 실행할 수 있는 것으로 가정합니다. 하드웨어 필터 유형은 모델 속성의 경우에는 위의 설명이 올바르지만 장치 유형 및 장치 하위 유형 속성의 경우에는 선택한 시스템의 알려진 값에 대해서만 도구 필터가 적용됩니다. 프로토콜 필터 유형의 경우 연산자를 적용하기 전에 시스템에 프로토콜이 있어야 합니다. 즉, neq 및 nct 연산자도 시스템의 해당 프로토콜에 종속됩니다. 기타 필터도 프로토콜 필터처럼 작동하여 연산자를 적용하기 전에 필터링되는 속성이 시스템에 있어야 합니다. 도구에서 기타 및/또는 프로토콜 필터를 사용하는 경우 GUI에 표시될 도구에 대한 필터 가능한 속성이 하나 이상의 시스템에 포함되어 있어야 합니다.

버전 번호

OS 개정 및 프로토콜 지원 시스템 속성에는 가능한 경우 버전 번호로 해석되는 값이 들어 있습니다. 버전 번호는 점(.)으로 구분된 음이 아닌 십진수입니다. 버전 번호를 비교할 때 다음 규칙을 사용합니다.

  • 가장 왼쪽에 있는 숫자가 가장 중요한 숫자이므로 1.0이 0.1보다 큽니다.

  • 숫자 앞에 있는 0(영)은 무시되므로 003은 3과 같습니다.

  • 연속된 두 점은 숫자 0을 구분하는 것으로 해석되므로 1.0.3은 1..3과 같습니다.

  • 점으로 시작되면 앞에 0이 있는 것으로 간주하므로 .9는 0.9와 같습니다.

  • 숫자 뒤에 오는 0은 무시되므로 1.0.0은 1과 같습니다.

다른 요구 사항

SSA 명령 도구에는 실행 명령(execStmt) 또는 파일 복사 명령(copyStmt)이 포함되어 있거나 둘 다 포함되어 있어야 합니다. 실행 명령만 지정되어 있으면 명령을 실행하기 전에 어떤 파일도 복사되지 않습니다. 파일 복사 명령만 지정되어 있으면 파일을 복사한 후 어떤 명령도 실행되지 않습니다. 둘 다 지정된 경우에는 파일을 먼저 복사한 다음 명령을 실행합니다.

MSA 명령 도구는 명령 및 해당 명령을 실행할 시스템을 지정해야 합니다.

도구 이름은 1자 이상 256자 미만이어야 합니다. 첫 자는 문자여야 하고 첫 자 이후에는 문자, 숫자, 공백 또는 - . ( ) _ 등을 사용할 수 있습니다.

웹 시작 인식 도구는 기본 URL을 지정해야 합니다.

파일 복사 쌍을 지정할 때 단일 TDEF 내에서는 각 파일 복사 쌍에 대한 대상 파일 경로가 고유해야 합니다. 여러 원본 파일 경로에 대해 동일한 대상 파일 경로를 지정하면 파일 구문 분석 오류가 발생합니다.

파일을 복사하는 도구를 실행할 때 파일이 없거나 읽을 수 없는 상태이면 오류가 발생합니다. 도구를 만들거나 수정할 때 원본 파일 경로를 확인하지는 않지만 도구를 실행할 때 해당 경로가 있어야 합니다.

log 요소가 true로 설정되어 있으면 도구 실행 시의 표준 출력 및 표준 오류 출력이 중앙 관리 서버 (CMS) 로그 파일 /var/opt/mx/logs/mx.log에 기록됩니다. 이 요소가 false로 설정된 경우에는 시작 및 종료 시간, 작업 상태와 같은 작업 요약 로그 정보만 기록됩니다.

문서 유형 정의

DTD(문서 유형 정의) 파일은 XML 파일에 대한 제약 조건을 정의합니다. 이러한 제약 조건은 XML 파일에 올바른 요소 태그, 속성 및 요소의 카디널리티를 포함합니다. 도구 DTD 파일의 이름은 toollist.dtd이고 다음 단락에 포함되어 있습니다. 맨페이지 형식 때문에 DTD 내용이 파일에서와는 다르게 표시될 수 있습니다.

				
<?xml version="1.0" encoding="UTF-8" ?>

<!-- The tool-list element can contain zero or more of 
      ssa-command-tool elements, msa-command-tool elements,
      web-launch-tool elements, automation-tool elements or
      app-launch-tool elements.-->
      
<!ELEMENT tool-list ( ssa-command-tool |
      msa-command-tool |
      web-launch-tool  |
      automation-tool  |
      app-launch-tool )* >

<!-- The ssa-command-tool element specifies a single-system aware
      tool. The ssa-command-tool element can optionally specify a
      category element, a description element, a comment element, an
      owner element, a default-target element, an execute-as-user
      element, a job-display-handler element, a toolbox-enabled
      element, zero or more toolbox elements, zero or more
      include-filter elements, or zero or more env-variable elements.
      (NOTE: The role-enabled and role elements are deprecated
      elements and should not be used with this product. These
      are provided for backward compatibility with previous
      products. The toolbox-enabled element and the toolbox
      element should be used in their stead.)
      If more than one of these elements are specified, the element
      must appear in the order as listed in this definition. The
      ssa-command-tool element must contain an ssa-block element. The
      ssa-block element must appear after the previously described
      optional elements, if any of the optional elements are
      specified. Following the ssa-block element, one can specify zero
      or more attribute elements.-->
	  
 <!ELEMENT ssa-command-tool (category?, description?, comment?,
      owner?, default-target?, execute-as-user?,
      job-display-handler?,
      toolbox-enabled?, toolbox*,
      role-enabled?, role*,
      include-filter*, env-variable*,
      ssa-block, attribute* ) >

<!-- In addition to the previously described elements, the
      ssa-command-tool element specifies the following attributes. The
      name attribute specifies the tool name and must be specified in
      the ssa-command-tool element. The visible attribute specifies
      whether the tool is visible for running. By default tools are
      visible. The max-targets attribute specifies the maximum number
      of targets against which a tool can run. The revision attribute
      allows a tool author to specify a revision for the tool. 참고:
      that this is for information only. The job-log attribute
      specifies whether the results of the command will be kept in this
      system's job log. This attribute applies only to tools when they
      are run as scheduled tasks, not when they are run as "run now"
      tasks. When job-log="true" the job and target status for the tool
      will be kept for a relatively lengthy system-defined period in
      the database after the job completes. When job-log="false" only
      the last completed copy of the job and target status for the task
      will be kept in the cache for a much shorter period of time, and
      will not be written to the database.	 Job logging is enabled by
      default. The schedulable attribute specifies whether the tool can
      be run as a schedulable task. When scheduled="false" the tool can
      only run as a "run now" task.  Tools are scheduled by default.
      The GUID attribute specifies a globally unique identifier (GUID)
      for the tool. Because the system generates a GUID for a tool
      during the add operation, this field should only be specified
      during a modify operation. The accepts-targets attribute specifies
      whether the tool accepts targets for execution. The
      accepts-targets attribute is true by default. -->

<!ATTLIST ssa-command-tool name	     CDATA   #REQUIRED
      visible     (true | false) "true"
      max-targets NMTOKEN #IMPLIED
      revision    CDATA   #IMPLIED
      job-log     (true | false) "true"
      schedulable (true | false) "true"
      guid	     NMTOKEN #IMPLIED
      accepts-targets (true|false) "true" >

<!-- The ssa-block specifies the elements specific to a single-system
      aware tool. The ssa-block can specify a command or copy-block or
      both. Only one command should be specified but up to 16 multiple
      copy-blocks can be specified. After the command and/or
      copy-blocks, one can specify the parameters for the command
      and/or copy-block. -->
  
<!ELEMENT ssa-block (( command | copy-block )+, parameter*) >

<!-- The copy-block specifies a source file path and a destination
      file path for a copy operation. -->

<!ELEMENT copy-block ( source, destination )+ >

<!-- The source element specifies the source file path for a copy
      operation. -->

<!ELEMENT source (#PCDATA) >

<!-- The destination element specifies the destination file path for a
      copy operation. -->
     
<!ELEMENT destination (#PCDATA) >

<!-- The msa-command-tool element specifies a multiple-system aware
      tool. The msa-command-tool element can optionally specify a
      category element, a description element, a comment element, an
      owner element, a default-target element, an execute-as-user
      element, a job-display-handler element, a toolbox-enabled
      element, zero or more toolbox elements, zero or more
      include-filter elements, or zero or more env-variable elements.
      (NOTE: The role-enabled and role elements are deprecated
      elements and should not be used with this product. These
      are provided for backward compatibility with previous
      products. The toolbox-enabled element and the toolbox
      element should be used in their stead.)
      If more than one of these elements are specified, the element
      must appear in the order as listed in this definition. The
      msa-command-tool element must contain an msa-block element. The
      msa-block element must appear after the previously described
      optional elements, if any of the optional elements are
      specified. Following the msa-block element, one can specify zero
      or more attribute elements.-->
      
<!ELEMENT msa-command-tool (category?, description?, comment?, owner?,
      default-target?, execute-as-user?,
      job-display-handler?,
      toolbox-enabled?, toolbox*,
      role-enabled?, role*,
      include-filter*, env-variable*,
      msa-block, attribute* ) >

<!-- In addition to the previously described elements, the
      msa-command-tool element specifies the following attributes. The
      name attribute specifies the tool name and must be specified in
      the msa-command-tool element. The visible attribute specifies
      whether the tool is visible for running. By default tools are
      visible. The max-targets attribute specifies the maximum number
      of targets against which a tool can run.  The revision attribute
      allows a tool author to specify a revision for the tool. Note
      that this is for information only. The job-log attribute
      specifies whether the results of the command will be kept in this
      systems job log. When job-log="true" the job and target status
      for the tool will be kept for a relatively lengthy system-defined
      period in the database after the job completes. When
      job-log="false" only the last completed copy of the job and
      target status for the tool will be kept in the cache for a much
      shorter period of time, and will not be written to the database.
      Job logging is enabled by default. The schedulable attribute
      specifies whether the tool can be run as a scheduled task. When
      schedulable="false" the tool can only run as a "run now" task.
      Tools are schedulable by default.  The guid attribute specifies a
      globally unique identifier (GUID) for the tool. Because the
      system generates a GUID for a tool during the add operation, this
      field should only be specified during a modify operation.  The
      accepts-targets attribute specifies whether the tool
      accepts targets for execution. The accepts-targets attribute is
      true by default. -->

<!ATTLIST msa-command-tool name	     CDATA   #REQUIRED
      visible     (true | false) "true"
      max-targets NMTOKEN #IMPLIED
      revision    CDATA   #IMPLIED
      job-log     (true | false) "true"
      schedulable (true | false) "true"
      guid	     NMTOKEN #IMPLIED
      accepts-targets (true|false) "true" >

<!-- The msa-block specifies the elements specific to a
      multiple-system aware (MSA) tool. The msa-block can specify an
      MSA command, the parameters for the command and an execution system
      on which the command executes. -->
      
<!ELEMENT msa-block ( command, parameter*, execution-system ) >

<!-- The command element specifies the command for an SSA or an MSA
      tool. If the command accepts parameters, it must be specified as
      a parameterized string. -->
     
<!ELEMENT command ( #PCDATA ) >

<!-- The command element can have two attributes. The command-type
      attribute specifies whether the command is an x-window, stdout,
      restart, launch, or an unknown command type. The default command
      type is stdout. The log attribute specifies whether the results
      of the command will be output to this system's audit log. When
      log="true" the stdout and stderr results of the command will be
      output to the system's audit log. Command output is not logged
      by default. -->
      
<!ATTLIST command command-type (x-window |
      stdout   |
      restart  |
      launch   |
      unknown) "stdout"
      log (true | false) "false" >

<!-- The execution-system element specifies the system on which an MSA
      tool will execute. -->
      
<!ELEMENT execution-system ( #PCDATA ) >

<!-- The web-launch-tool element specifies a web launch tool. The
      web-launch-tool element can optionally specify a category
      element, a description element, a comment element, an owner
      element, a default-target element, an execute-as-user element, a
      job-display-handler element, a toolbox-enabled element, zero or
      more toolbox elements,  zero or more include-filter elements, or
      zero or more env-variable elements.
      (NOTE: The role-enabled and role elements are deprecated
      elements and should not be used with this product. These
      are provided for backward compatibility with previous
      products. The toolbox-enabled element and the toolbox
      element should be used in their stead.)
      If more than one of these elements are specified, the element
      must appear in the order as listed in this definition. The
      web-launch-tool element must contain a web-block element. The
      web-block element must appear after the previously described
      optional elements, if any of the optional elements are
      specified. Following the web-block element, one can specify zero
      or more attribute elements.-->
      
<!ELEMENT web-launch-tool (category?, description?, comment?, owner?,
      default-target?, execute-as-user?,
      job-display-handler?,
      toolbox-enabled?, toolbox*,
      role-enabled?, role*,
      include-filter*, web-block, attribute* ) >

<!-- In addition to the previously described elements, the
      web-launch-tool element specifies the following attributes. The
      name attribute specifies the tool name and must be specified in
      the web-launch-tool element. The visible attribute specifies
      whether the tool is visible for running. By default tools are
      visible. The max-targets attribute specifies the maximum number
      of targets against which a tool can run.  The revision attribute
      allows a tool author to specified a revision for the tool. Note
      that this is for information only. The job-log attribute
      specifies whether the results of the command will be kept in this
      systems job log. When job-log="true" the job and target status
      for the tool will be kept for a relatively lengthy system-defined
      period in the database after the job completes. When
      job-log="false" only the last completed copy of the job and
      target status for the tool will be kept in the cache for a much
      shorter period of time, and will not be written to the database.
      Job logging is enabled by default.  The schedulable attribute
      specifies whether the tool can be run as a scheduled task. When
      schedulable="false" the tool can only run as a "run now" task.
      Tools are schedulable by default. The guid attribute specifies a
      globally unique identifier (GUID) for the tool. Because the
      system generates a GUID for a tool during the add operation, this
      field should only be specified during a modify operation. -->

<!ATTLIST web-launch-tool name	    CDATA #REQUIRED
      visible	    (true | false) "true"
      max-targets NMTOKEN #IMPLIED
      revision    NMTOKEN #IMPLIED
      job-log	    (true | false) "true"
      schedulable (true | false) "true"
      guid	    NMTOKEN #IMPLIED >

<!-- The web-block specifies the elements specific to a web launch
      tool. The web-block must specify a main-url element. Optionally,
      the web-block can specify a side-url element, a status-url
      element, and a current-url element. Additionally, the web-block
      can specify the parameters for the URLs. Finally, the web-block
      can optionally specify a target format to describe how targets
      are passed to a Web-launch aware tool. -->
      
 <!ELEMENT web-block (main-url, (side-url?, status-url?, current-url?),
      parameter*, target-format? ) >

<!-- In addition to the above elements, the web-block element has one
      attribute. The accepts-targets attribute specifies whether the
      web launch tool accepts targets for execution. The
      accepts-targets attribute is true by default. -->
      
<!ATTLIST web-block accepts-targets (true|false) "true">

<!-- The main-url specifies the URL to launch the tool. If the URL
      accepts parameters, the URL must be specified as a parameterized
      string. -->
      
<!ELEMENT main-url ( #PCDATA ) >

 <!-- The status-url specifies a URL at which one might find the status
      of this web launch tool during execution. -->
      
<!ELEMENT status-url ( #PCDATA ) >

<!-- The current-url specifies the current URL. -->

<!ELEMENT current-url ( #PCDATA ) >

<!-- The side-url specifies a set-aside URL. -->

<!ELEMENT side-url ( #PCDATA ) >

<!-- The target-format defines the format of targets in a web launch
      tool and is specified as a parameterized string.-->
      
<!ELEMENT target-format ( #PCDATA ) >

<!-- The automation tool performs an action on the CMS which
      involves accessing the target systems. The automation-tool element
      can optionally specify a category element, a menu-category
      element, a description element, a comment element, an owner
      element, a default-target element, an execute-as-user element, a
      job-display-handler element, a default-parameter element, a
      role-enabled element, zero or more  role elements,  zero or more
      include-filter elements, or zero or more env-variable elements.
      If more than one of these elements are specified, the element
      must appear in the order as listed in this definition. The
      automation-tool element must contain an automation-block element.
      The automation-block element must appear after the previously
      described optional elements, if any of the optional elements are
      specified. Following the automation-block element, one can
      specify zero or more attribute elements. -->
      
<!ELEMENT automation-tool (category?, description?, comment?, owner?,
      default-target?, execute-as-user?,
      job-display-handler?,
      toolbox-enabled?, toolbox*,
      role-enabled?, role*,
      include-filter*, automation-block,
      attribute* ) >

<!-- In addition to the previously described elements, the
      automation-tool element specifies the following attributes. The
      name attribute specifies the tool name and must be specified in
      the automation-tool element. The visible attribute specifies
      whether the tool is visible for running. By default tools are
      visible. The max-targets attribute specifies the maximum number
      of targets against which a tool can run. The revision attribute
      allows a tool author to specify a revision for the tool. Note
      that this is for information only.  The job-log attribute
      specifies whether the results of the command will be kept in this
      systems job log. When job-log="true" the job and target status
      for the tool will be kept for a relatively lengthy system-defined
      period in the database after the job completes. When
      job-log="false" only the last completed copy of the job and
      target status for the tool will be kept in the cache for a much
      shorter period of time, and will not be written to the database.
      Job logging is enabled by default. The schedulable attribute
      specifies whether the tool can be run as a scheduled task. When
      schedulable="false" the tool can only run as a "run now" task.
      Tools are schedulable by default.  The guid attribute specifies a
      globally unique identifier (GUID) for the tool. Because the
      system generates a GUID for a tool during the add operation, this
      field should only be specified during a modify operation. The
      accepts-targets attribute specifies whether the tool
      accepts targets for execution. The accepts-targets attribute is
      true by default. -->
      
!ATTLIST automation-tool	 name	     CDATA   #REQUIRED
      visible     (true | false) "true"
      max-targets NMTOKEN #IMPLIED
      revision    CDATA   #IMPLIED
      job-log     (true | false) "true"
      schedulable (true | false) "true"
      guid	     NMTOKEN #IMPLIED
      accepts-targets (true|false) "true" >

<!-- The automation-block specifies the elements specific to an
      automation tool. The automation-block must specify a
      message-id. -->
      
<!ELEMENT automation-block (message-id) >

<!-- The message-id is the internal string representation of the message
      sent by the Automation engine to cause the tool to run. -->
      
<!ELEMENT message-id ( #PCDATA ) >

<!-- The app-launch-tool element specifies an application launch
      tool. The app-launch-tool element can optionally specify a
      category element, a menu-category element, a description element,
      a comment element, an owner element, a default-target element, an
      execute-as-user element, a job-display-handler element, a
      default-parameter element, a role-enabled element, zero or more
      role elements,  zero or more include-filter elements, or zero or
      more env-variable elements. If more than one of these elements
      are specified, the element must appear in the order as listed in
      this definition. The app-launch-tool element must contain an
      app-launch-block element. The app-launch-block element must
      appear after the previously described optional elements, if any
      of the optional elements are specified. Following the
      app-launch-block element, one can specify zero or more attribute
      elements. -->

<!ELEMENT app-launch-tool (category?, description?, comment?, owner?,
      default-target?, execute-as-user?,
      job-display-handler?,
      role-enabled?, role*,
      toolbox-enabled?, toolbox*,
      include-filter*,  env-variable*,
      app-launch-block, attribute* ) >

<!-- In addition to the previously described elements, the
      app-launch-tool element specifies the following attributes. The
      name attribute specifies the tool name and must be specified in
      the app-launch-tool element. The visible attribute specifies
      whether the tool is visible for running. By default tools are
      visible. The max-targets attribute specifies the maximum number
      of targets against which a tool can run. The revision attribute
      allows a tool author to specify a revision for the tool. Note
      that this is for information only.  The job-log attribute
      specifies whether the results of the command will be kept in this
      systems job log. When job-log="true" the job and target status
      the tool will be kept for a relatively lengthy system-defined
      period in the database after the job completes. When
      job-log="false" only the last completed copy of the job and
      target status for the tool will be kept in the cache for a much
      shorter period of time, and will not be written to the database.
      Job logging is enabled by default. The schedulable attribute
      specifies whether the tool can be run as a scheduled task. When
      schedulable="false" the tool can only run as a "run now" task.
      Tools are schedulable by default.  The guid attribute specifies a
      globally unique identifier (GUID) for the tool. Because the
      system generates a GUID for a tool during the add operation, this
      field should only be specified during a modify operation. The
      accepts-targets attribute specifies whether the tool
      accepts targets for execution. The accepts-targets attribute is
      true by default. -->

<!ATTLIST app-launch-tool	 name	     CDATA   #REQUIRED
      visible     (true | false) "true"
      max-targets NMTOKEN #IMPLIED
      revision    CDATA   #IMPLIED
      job-log     (true | false) "true"
      schedulable (true | false) "true"
      guid	     NMTOKEN #IMPLIED
      accepts-targets (true|false) "true" >

<!-- The app-launch-block specifies the elements specific to an
      application launch tool. The app-launch-block specifies a
      required command element. -->
      
<!ELEMENT app-launch-block (command, app-parameters?) >

<!-- In addition to the previously described elements, the
      app-launch-block element specifies the following attribute. The
      alert-driven attribute specifies whether the alert list or the
      system list is used to determine the target systems to run the tool
      on. -->

<!ATTLIST app-launch-block alert-driven (true | false) "false" >

<!-- The app-parameters element is an application parameters
      definition string whose value is a string -->
      
<!ELEMENT app-parameters ( #PCDATA ) >

<!-- The env-variable element is an environment variable definition
      string whose value is a string -->
      
<!ELEMENT env-variable ( #PCDATA ) >

<!-- In addition to the previously described elements, the
      env-variable element specifies the following attribute. The
      name attribute specifies the name of the environment variable.-->
      
<!ATTLIST env-variable name CDATA #REQUIRED >

<!-- The owner element specifies the tool owner. When the owner field
      is specified, the tool is only associated with the All Tools toolbox.
      When the owner field is not specified, tool is enabled in all
      of its associated toolboxes. When a limited-rights user adds or
      modifies a tool, the owner field contains the name of the
      limited-rights user. Only a full-rights user can add or modify a
      tool without the owner specified. -->
      
<!ELEMENT owner ( #PCDATA ) >

 !-- The comment field specifies additional information about the
      tool. It is usually more verbose that the description. -->

<!ELEMENT comment ( #PCDATA ) >

<!-- The parameter element specifies the first to the tenth parameter
      of a tool. -->
     
<!ELEMENT parameter EMPTY >

<!-- The parameter element has three attributes. The index attributes
      specifies which argument in a parameterized string this parameter
      substitutes. Parameters can be indexed from 1 to 10 with a
      default index of 1. Tools cannot contain parameters with
      duplicate indexes. If more than one parameter in a tool
      definition contains the same index, only the first parameter added
      to the tool with the duplicate index remains in the tool. The
      prompt attribute provides information about the parameter that
      can be displayed in a GUI for assistance. The required attribute
      specifies whether this parameter must be specified when the tool
      is executed. By default, parameters are not required.  The private
      attribute specifies whether this parameter is encoded and stored
      securely.  By default, parameters are not private. -->
<!ATTLIST parameter index	 (1|2|3|4|5|6|7|8|9|10) "1"
     prompt CDATA #REQUIRED
      required (true|false) "false"
      private (true|false) "false" >

<!-- The toolbox-enabled element specifies whether the toolboxes
      associated with a tool are enabled. -->

<!ELEMENT toolbox-enabled EMPTY >

<!-- The toolbox-enabled element has one attribute. The value
      attribute specifies whether the tool within the toolboxes is enabled.
      This allows a full-rights user to explicitly disable the tools in
      a toolbox though the tool is always enabled in the All Tools
      toolbox.  By default, the tool is enabled in all the toolboxes that
      it is in.  If a tool is disabled within a toolbox, it cannot be
      executed. -->
      
<!ATTLIST toolbox-enabled value (true|false) "true">

<!-- The role-enabled element specifies whether the roles associated
      with a tool are enabled. This is an obsolete element. The
      toolbox-enabled element should be used instead.-->
      
<!ELEMENT role-enabled EMPTY >

<!-- See description of toolbox-enabled element attributes. -->

<!ATTLIST role-enabled value (true|false) "true">

<!-- The default-target element specifies a target on which the tool
      can run if no targets are specified at run time. One can specify
      a system, &cms2; to run on the &cms2; by default, or ALL to run on all
      authorized systems by default. -->
      
<!ELEMENT default-target ( #PCDATA ) >

<!-- The category element specifies the category with which to
      associate the tool. By default, tools are associated with the
      "Local Tools" category. -->

<!ELEMENT category ( #PCDATA ) >

<!-- The description element specifies a simple description of the
      tool. To specify more verbose information such as how to run the
      tool, use the comment element. -->

<!ELEMENT description ( #PCDATA ) >

<!-- For SSA and MSA command tools, the execute-as-user element
      specifies the user name that the tool runs as or under whose
      account the tool runs on the target systems. For Web-launch
      tools the execute-as-user is passed to the URL for its use. -->

<!ELEMENT execute-as-user ( #PCDATA ) >

<!-- The job display hander element specifies the fully-qualified
      name of a class implementing the JobDisplayHander interface,
      used to display the results of a job created by running this
      tool. -->

<!ELEMENT job-display-handler ( #PCDATA ) >

<!-- The toolbox element specifies a toolbox to associate with the
      tool. To run a tool the user must be authorized with one of the
      specified toolboxes. -->

<!ELEMENT toolbox EMPTY >

<!-- The toolbox element has one attribute to specify the toolbox
      name. -->

<!ATTLIST toolbox toolbox-name CDATA #REQUIRED >

<!-- The role element specifies a role to associate with the tool. To
      run a tool the user must be authorized with one of the specified
      roles. This element is obsolete. The toolbox element should be
      used instead. -->

<!ELEMENT role EMPTY >

<!-- See the toolbox element attribute description. -->

<!ATTLIST role role-name CDATA #REQUIRED >

<!-- The include-filter element specifies system attributes against
      which to filter a tool for execution. A specified include-filter
      element must contain one or more system-filter elements. When
      filtering a tool each include-filter block is OR'd together to
      get the final filter result. Each system-filter element within an
      include-filter block is AND'd together. -->
      
<!ELEMENT include-filter (system-filter)+ >

<!-- The include-filter elements has one attribute. The type attribute
      specifies the type of include filter to execute. Four types are
      currently recognized.  Three of them are os (operating system), 
      hardware, protocol filtering. The fourth type is called other which 
      will allow all other system attributes to be filtered upon.-->

<!ATTLIST include-filter type (os | hardware | protocol | other) "os" >

<!-- The system-filter element is an empty element that contains
      attributes used to specify the system attributes against which to
      filter a tool for execution. -->
      
<!ELEMENT system-filter EMPTY >

<!-- The system-filter element is specified with three attributes. The
      name attribute specifies the system attribute name to filter
      against. The operator attribute specifies whether to filter
      against an equal value, a less than value, a greater than or
      equal value, a contains value, a not equals value or a not
      contains value. The operator name is case-insensitive. The
      value attribute specifies the value of the system attribute to
      filter against. -->
      
<!ATTLIST node-filter name CDATA #REQUIRED
      operator (EQ | GE | LT | CT | NEQ | NCT |
      eq | ge | lt | ct | neq | nct |
      Eq | Ge | Lt | Ct | Neq | Nct |
      eQ | gE | lT | cT | nEQ | nCT ) "EQ"
      value CDATA #REQUIRED >

<!-- The attribute element specifies the name value pairs that
      comprise client attributes. The client attribute name is
      specified using the name attribute and the client attribute value
      is specified as the PCDATA of the element. -->

<!ELEMENT attribute ( #PCDATA ) >

<!ATTLIST attribute name CDATA #REQUIRED >
			

관련 절차

≫ 사용자 정의 도구 - 사용자 정의 도구 제거 및 복원
≫ 사용자 정의 도구 - CMS 도구 편집
≫ 사용자 정의 도구 - 원격 도구 편집
≫ 사용자 정의 도구 - 웹 페이지 도구 편집

관련 항목

≫ 관리 확장 도구 - 명령줄 도구