다음 절차를 수행하여 독립형 컨트롤러의 소프트웨어를 업그레이드할 수 있습니다.
시작하기 전에
소프트웨어 업그레이드 준비를 완료합니다.
업데이트 패키지는 버전 번호를 포함하여 이름이 지정된 단일 압축 파일입니다(예: ak-nas-2013-06-05-0-0.0.pkg.gz). 버전 번호는 이미지 내부에 기록되므로 필요한 경우 파일 이름을 바꿀 수 있습니다. 업데이트의 크기는 다양할 수 있지만 보통 수백 메가바이트입니다.
hostname:maintenance system updates> download hostname:maintenance system updates download (uncommitted)> get url = (unset) user = (unset) password = (unset)
이는 네트워크에 로컬이거나 인터넷 상에 있을 수 있습니다. URL은 HTTP(http://로 시작) 또는 FTP(ftp://로 시작)일 수 있습니다. 사용자 인증이 필요한 경우 URL의 일부로 포함하거나(예: ftp://myusername:mypasswd@myserver/export/mydirectory), 사용자 이름 및 암호를 URL에 포함하는 대신 사용자 및 암호 등록 정보를 설정할 수 있습니다.
파일이 전송되면 자동으로 압축 해제되어 확인됩니다.
hostname:maintenance system updates download (uncommitted)> set url=ftp://mydirectory/update.pkg.gz url = ftp://mydirectory/update.pkg.gz hostname:maintenance system updates download (uncommitted)> set user=bmc user = bmc hostname:maintenance system updates download (uncommitted)> set password Enter password: password = ******** hostname:maintenance system updates download (uncommitted)> commit Transferred 157M of 484M (32.3%) ... Transferred 484M of 484M (100%) ... done Unpacking ... done
hostname:maintenance system updates> list UPDATE DATE STATUS ak-nas@2013.06.05.4.0,1-1.7 2015-5-1 20:13 waiting ...
소프트웨어 업데이트 후 지연 업데이트를 적용할 수도 있습니다. 지연 업데이트가 포함된 시스템 업데이트를 설치하는 경우 지연 업데이트를 요청 시 또는 자동으로 적용할 수 있는 옵션이 제공됩니다. 요청 시를 선택하고 사후 업데이트 프로세스 동안 지연 업데이트를 적용할 것을 권장합니다.
특정 업데이트에 사용 가능한 등록 정보 세트에 대한 자세한 내용을 보려면 help properties 명령을 실행하십시오. 사용자가 제어할 수 있는 등록 정보는 update_ 접두어로 시작됩니다.
hostname:maintenance system updates ak-nas@2013.06.05.4.0,1-1.6> 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 hostname:maintenance system updates ak-nas@2013.06.05.4.0,1-1.6> get version = 2013.06.05.4.0,1-1.6 date = 2015-04-21 02:38:15:45 status = waiting update_zfs_upgrade = deferred hostname:maintenance system updates ak-nas@2013.06.05.4.0,1-1.6> set update_zfs_upgrade=onreboot update_zfs_upgrade = onreboot hostname:maintenance system updates ak-nas@2013.06.05.4.0,1-1.6>
hostname:maintenance system updates> select ak-nas@2013.06.05.4.0,1-1.7-nd hostname:maintenance system updates ak-nas@2013.06.05.4.0,1-1.7-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@2013.06.05.4.0,1-1.6 Backing up smf(5) ... done. Loading media metadata ... done. Selecting alternate product ... SUNW,iwashi Installing Sun Storage 7120 2013.06.05.4.0,1-1.7 pkg://sun.com/ak/SUNW,iwashi@2013.06.05.4.0,1-1.7:20091014T084500Z Creating system/boot/ak-nas@2013.06.05.4.0,1-1.7 ... done. Creating system/root/ak-nas@2013.06.05.4.0,1-1.7 ... done. ...
업데이트가 진행되면 최근 메시지가 출력됩니다. 업데이트는 언제라도 Ctrl-C를 누르고 작업을 확인하여 취소할 수 있습니다.
Updating from ... ak/nas@2013.06.05.4.0,1-1.6 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 hostname:maintenance system updates ak-nas@2013.06.05.4.0,1-1.7-nd>