탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
![]() |
Oracle® ZFS Storage Appliance 고객 서비스 설명서 ZS3-x, 7x20 컨트롤러, DE2-24, Sun Disk Shelf용 |
어플라이언스에 로그인하여 CLI를 사용하기 때문에 앞에서 설명된 upload는 실제로 download입니다. CLI를 통해 매체를 어플라이언스에 다운로드하려면 maintenance system updates에서 download 명령을 실행하십시오.
dory:maintenance system updates> download dory:maintenance system updates download (uncommitted)> get url = (unset) user = (unset) password = (unset)
"url" 등록 정보를 다운로드에 대한 유효한 URL로 설정해야 합니다. 이는 네트워크에 대한 로컬이거나 인터넷상에 있을 수 있습니다. URL은 HTTP("http://"로 시작) 또는 FTP("ftp://"로 시작)일 수 있습니다. 사용자 인증이 필요한 경우 URL의 일부로 포함하거나(예: "ftp://myusername:mypasswd@myserver/export/foo"), 사용자 이름 및 암호를 URL에 포함하는 대신 사용자 및 암호 등록 정보를 설정할 수 있습니다.
dory:maintenance system updates download (uncommitted)> set url= ftp://foo/update.pkg.gz url = ftp://foo/update.pkg.gz dory:maintenance system updates download (uncommitted)> set user=bmc user = bmc dory:maintenance system updates download (uncommitted)> set password Enter password: password = ******** dory:maintenance system updates download (uncommitted)> commit Transferred 157M of 484M (32.3%) ...
파일이 전송되면 자동으로 압축 해제되어 확인됩니다.
dory:maintenance system updates download (uncommitted)> commit Transferred 484M of 484M (100%) ... done Unpacking ... done dory:maintenance system updates> list UPDATE DATE STATUS ak-nas@2009.10.14,1-0-nd 2009-10-14 08:45 AKUP_WAITING ...
업그레이드를 시작하려면 업그레이드를 구성하는 업데이트를 선택하십시오. 이 프로세스 중 업데이트 상태 검사가 수행되어 어플라이언스가 업데이트 준비 상태인지 확인합니다.
이 컨텍스트에서는 지연 업데이트 적용을 비롯하여 업데이트에만 해당하는 등록 정보를 설정할 수 있습니다. 특정 업데이트에 사용 가능한 등록 정보 세트에 대한 자세한 내용을 보려면 help properties 명령을 실행하십시오. 사용자가 제어할 수 있는 등록 정보는 update_ 접두어로 시작됩니다.
clownfish:maintenance system updates ak-nas@2009.04.03,1-0> help properties Properties that are valid in this context: version => Update media version date => Update release date status => Update media status update_zfs_upgrade => Apply incompatible storage pool update clownfish:maintenance system updates ak-nas@2009.04.03,1-0> get version = 2009.04.03,1-0 date = 2009-4-3 08:45:01 status = AKUP_WAITING update_zfs_upgrade = deferred clownfish:maintenance system updates ak-nas@2009.04.03,1-0> set update_zfs_upgrade=onreboot update_zfs_upgrade = onreboot clownfish:maintenance system updates ak-nas@2009.04.03,1-0>
등록 정보를 설정한 후 upgrade 명령을 실행하십시오. 확인 메시지가 표시되며 (예로 답할 경우) 업그레이드가 시작됩니다.
dory:maintenance system updates> select ak-nas@2009.10.14,1-0-nd dory:maintenance system updates ak-nas@2009.10.14,1-0-nd> upgrade The selected software update requires a system reboot in order to take effect. The system will automatically reboot at the end of the update process. The update will take several minutes. At any time during this process, you can cancel the update with [Control-C]. Are you sure? (Y/N) y Updating from ... ak/nas@2009.10.11,1-0 Backing up smf(5) ... done. Loading media metadata ... done. Selecting alternate product ... SUNW,iwashi Installing Sun Storage 7120 2009.10.14,1-0 pkg://sun.com/ak/SUNW,iwashi@2009.10.14,1-0:20091014T084500Z Creating system/boot/ak-nas-2009.10.14_1-0 ... done. Creating system/root/ak-nas-2009.10.14_1-0 ... done. ...
업그레이드가 진행되면 최근 메시지가 출력됩니다. ^C를 누르면 언제든지 업그레이드를 취소할 수 있는데, 이때 확인 메시지가 표시됩니다.
Updating from ... ak/nas@2009.10.11,1-0 Backing up smf(5) ... done. Loading media metadata ... ^C This will cancel the current update. Are you sure? (Y/N) y error: interrupted by user dory:maintenance system updates ak-nas@2009.10.14,1-0-nd>
이전 버전으로 롤백하려면 원하는 버전에 해당하는 업데이트를 선택하고 rollback 명령을 실행하십시오. 롤백 실행을 확인하는 메시지가 표시되고 재부트된 다음 롤백이 실행됩니다. 비상 안전 롤백과 달리, 시스템 재부트 시 추가로 확인하는 메시지가 표시되지 않습니다. 비상 안전 롤백에 대한 자세한 내용은 비상 안전 롤백을 참조하십시오.
업데이트 매체를 제거하려면 제거할 업데이트를 지정하여 destroy 명령을 사용하십시오.
dory:maintenance system updates> destroy ak-nas@2009.10.14,1-0-nd This will destroy the update "ak-nas@2009.10.14,1-0-nd". Are you sure? (Y/N) y dory:maintenance system updates>
사용 가능한 지연 업데이트가 있는지 확인하려면 show 명령을 실행하십시오. 지연 업데이트가 사용 가능한 경우 apply 명령을 사용할 수 있습니다.
clownfish:maintenance system updates> show Updates: UPDATE DATE STATUS ak-nas@2011.04.24.3.0,1-2.19.11.2 2012-6-24 17:14:19 current ak-nas@2011.04.24.4.2,1-1.28 2012-11-5 03:11:34 waiting ak-nas@2013.06.05.0.0,1-1.2 2013-6-19 12:58:18 unavailable
현재 활성 소프트웨어가 최신이 아니어서 대기 매체로 업그레이드할 수 없을 경우 해당 대기 매체가 사용할 수 없음으로 나열됩니다. 이 예에서는 매체가 2011.1.4.2 및 2013.1에 대해 다운로드되었지만, 2011.1.4.2 이상으로 업그레이드되지 않아 2013.1 업그레이드를 사용할 수 없습니다.
Deferred updates: The following incompatible updates are available. Applying these updates will enable new software features as described below, but will prevent older versions of the software from accessing the underlying resources. You should apply deferred updates once you have verified that the current software update is functioning and a rollback is not required. Applying deferred updates in a cluster will also update any resources on the cluster peer. 1. Support for the "passthrough-x" aclinherit property for shares. clownfish:maintenance system updates> apply Applying deferred updates will prevent rolling back to previous versions of software. Are you sure? (Y/N) clownfish:maintenance system updates> apply