![]() | Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1361522.1 : Sun ZFS Storage Appliance: How to update an appliance via the cli (aksh) from software uploaded to a local share.
In this Document
Applies to:Sun ZFS Storage 7420 - Version: Not ApplicableSun ZFS Storage 7320 - Version: Not Applicable and later [Release: N/A and later] Sun ZFS Storage 7120 - Version: Not Applicable and later [Release: N/A and later] 7000 Appliance OS (Fishworks) NAS head revision : [not dependent] BIOS revision : [not dependent] ILOM revision : [not dependent] GoalProvide the syntax and example on how to upgrade an appliance via cli (aksh) and update the appliance from a local share on the appliance
SolutionUpload the appliance software to a local share on the applianceOnce the new software image is on the appliance...
-login to the SP and find the image on the share -make sure that the ftp service is running (or http if using that protocol) -set the share permissions and allow root access nasbox:configuration services> ftp enable nasbox:configuration services ftp> set root_login=true root_login = true (uncommitted) nasbox:configuration services ftp> commit nasbox:shares (pool-0) test> set sharesftp=rw (or ro) sharesftp = rw (uncommitted) -now setup the appliance to get the update image via ftp (or http) -you can use localhost,loopback, or an actual IP, here we use loopback nasbox:> maintenance system updates download nasbox:maintenance system updates download (uncommitted)> set url=ftp://127.0.0.1/export/nas2test/ak-nas-2010-02-09-3-0-1-1-19-nd.pkg.gz url = ftp://127.0.0.1/export/nas2test/ak-nas-2010-02-09-3-0-1-1-19-nd.pkg.gz nasbox:maintenance system updates download (uncommitted)> set user=root user = root NOTE: the initial password entry is plain text nasbox:maintenance system updates download (uncommitted)> set password=changeme password = ******** nasbox:maintenance system updates download (uncommitted)> commit Transferred 271M of 499M (54.2%) ... done Unpacking ... done nasbox:> -upgrade the appliance nasbox:maintenance system updates> select [email protected],1-1.19 nasbox:maintenance system updates [email protected],1-1.19> nasbox:maintenance system updates [email protected],1-1.19> upgrade The selected softwre 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]. <--- note that you can cancel the upgrade once it has begun Are you sure? (Y/N) Y Updating from ... ak/[email protected],1-1.18 Backing up smf(5) ... done. Loading media metadata ... done. Selecting alternate product ... SUNW,fugu Installing Sun Storage 7210 2010.02.09.3.0,1-1.19 pkg://sun.com/ak/SUNW,[email protected],1-1.19:20100825T235124Z Creating system/boot/ak-nas-2010.02.09.3.0_1-1.19 ... done. Creating system/root/ak-nas-2010.02.09.3.0_1-1.19 ... done. Taking snapshot of system/svc ... done. ---omitted for brevity--- Attachments This solution has no attachment |
||||||||||||
|