| 탐색 링크 건너뛰기 | |
| 인쇄 보기 종료 | |
|
Oracle® ZFS Storage Appliance 고객 서비스 설명서, 릴리스 2013.1.3.0 ZS4-4, ZS3-x, 7x20 컨트롤러 및 DE2-24, Sun Disk Shelf용 |
어플라이언스에 로그인하여 CLI를 사용하기 때문에 앞에서 설명된 업로드는 실제로 다운로드입니다.
dory:maintenance system updates> download
dory:maintenance system updates download (uncommitted)> get
url = (unset)
user = (unset)
password = (unset)
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>