탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
![]() |
Oracle® ZFS Storage Appliance 고객 서비스 설명서 ZS3-x, 7x20 컨트롤러, DE2-24, Sun Disk Shelf용 |
워크플로우를 실행하려면 선택한 워크플로우의 컨텍스트 내에서 execute 명령을 사용하십시오. 워크플로우에 매개변수가 사용되지 않으면 워크플로우가 단순히 실행됩니다.
dory:maintenance workflow-000> execute hello world!
워크플로우에 매개변수가 사용되면 컨텍스트가 매개변수를 지정해야 하는 고정 컨텍스트가 됩니다.
dory:maintenance workflow-000> execute dory:maintenance workflow-000 execute (uncommitted)> get type = (unset) overwrite = (unset)
먼저 필수 매개변수를 지정하지 않고 워크플로우 실행을 커밋하려고 하면 명시적 오류가 발생합니다.
dory:maintenance workflow-000 execute (uncommitted)> commit error: cannot execute workflow without setting property "type"
워크플로우를 실행하려면 지정된 매개변수를 설정한 다음 commit 명령을 사용하십시오.
dory:maintenance workflow-000 execute (uncommitted)> set type=system type = system dory:maintenance workflow-000 execute (uncommitted)> set overwrite=true overwrite = true dory:maintenance workflow-000 execute (uncommitted)> commit
워크플로우에 지정된 단계가 있는 경우 해당 단계가 CLI를 통해 표시됩니다. 예를 들면 다음과 같습니다.
dory:maintenance workflow-000 execute (uncommitted)> commit Checking for existing worksheet ... done Finding disks of specified type ... done Creating worksheet ... done