CLI 로그인 및 사용에 대한 자세한 내용은 Command Line Interface (CLI) in Oracle ZFS Storage Appliance Administration Guide, Release 2013.1.5.0를 참조하십시오. CLI를 사용하는 경우 다음 절차를 수행하여 클러스터형 컨트롤러의 업데이트를 준비할 수 있습니다.
controller-a:> configuration cluster resources select net/igb0 configuration cluster resources (uncommitted)> set owner=<other controller> configuration cluster resources (uncommitted)> set type=private configuration cluster resources (uncommitted)> commit
각 컨트롤러는 관리 인터페이스의 현재 소유자여야 합니다.
각 컨트롤러에 대해 configuration cluster resources 컨텍스트로 이동하여 show 명령을 사용합니다. 다음 예에서는 활성/활성 모드의 클러스터를 보여줍니다.
controller-a:> configuration cluster resources show Resources: RESOURCE OWNER TYPE LABEL CHANGES DETAILS net/igb0 brm7320-250 private Untitled I... no 10.80.2xx.112 controller-a:> configuration cluster resources show Resources: RESOURCE OWNER TYPE LABEL CHANGES DETAILS net/igb1 brm7320-260 private Untitled I... no 10.80.2xx.114
컨트롤러 중 하나가 STRIPPED 상태(활성 리소스가 없는 상태)인 경우 가용성 지연을 방지하기 위해 해당 컨트롤러에서 먼저 업데이트를 수행합니다. 두 컨트롤러에 모두 활성 리소스가 있는 경우 어떤 컨트롤러를 먼저 선택하여 업데이트해도 됩니다.
업데이트는 버전 번호를 포함하여 이름이 지정된 단일 압축 파일입니다(예: ak-nas-2013-06-05-0-0.0.pkg.gz). 버전 번호는 이미지 내부에 기록되므로 필요한 경우 파일 이름을 바꿀 수 있습니다. 업데이트의 크기는 다양할 수 있지만 보통 수백 메가바이트입니다.
다음 예에서는 두 컨트롤러에 업데이트를 다운로드하는 방법을 보여줍니다.
controller-a:maintenance system updates download (uncommitted)> set url= ftp://foo/update.pkg.gz url = ftp://foo/update.pkg.gz controller-a:maintenance system updates download (uncommitted)> set user=bmc user = bmc controller-a:maintenance system updates download (uncommitted)> set password Enter password: password = ******** controller-a:maintenance system updates download (uncommitted)> commit Transferred 157M of 484M (32.3%) ... controller-b:maintenance system updates download (uncommitted)> set url= ftp://foo/update.pkg.gz url = ftp://foo/update.pkg.gz controller-b:maintenance system updates download (uncommitted)> set user=bmc user = bmc controller-b:maintenance system updates download (uncommitted)> set password Enter password: password = ******** controller-b:maintenance system updates download (uncommitted)> commit Transferred 157M of 484M (52.1%) ...