![]() | Oracle System Handbook - ISO 7.0 May 2018 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 7320 - Version All Versions and laterSun ZFS Storage 7120 - Version All Versions and later Sun ZFS Storage 7420 - Version All Versions and later Oracle ZFS Storage ZS3-4 - Version All Versions and later Oracle ZFS Storage ZS3-2 - Version All Versions 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 appliance Once the new software image is on the appliance...
Login to the SP and find the image on the share Ensure 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 ak-nas@2010.02.09.3.0,1-1.19 nasbox:maintenance system updates ak-nas@2010.02.09.3.0,1-1.19> nasbox:maintenance system updates ak-nas@2010.02.09.3.0,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/nas@2010.02.09.2.1,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,fugu@2010.02.09.3.0,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--- Check for relevancy - 10-May-2018 Attachments This solution has no attachment |
||||||||||||||
|