{"id":6935,"date":"2018-07-20T06:00:21","date_gmt":"2018-07-19T20:00:21","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=6935"},"modified":"2018-07-19T15:34:18","modified_gmt":"2018-07-19T05:34:18","slug":"rubrik-basics-cluster-upgrade-process","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/rubrik-basics-cluster-upgrade-process\/","title":{"rendered":"Rubrik Basics &#8211; Cluster Upgrade Process"},"content":{"rendered":"<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/01\/Rubrik_cropped.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4779 size-medium\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/01\/Rubrik_cropped-300x120.jpg\" alt=\"\" width=\"300\" height=\"120\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/01\/Rubrik_cropped-300x120.jpg 300w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/01\/Rubrik_cropped-768x306.jpg 768w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2017\/01\/Rubrik_cropped-1024x408.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I\u2019ve been doing some work with\u00a0<a href=\"https:\/\/www.rubrik.com\/\">Rubrik<\/a>\u00a0in our lab and thought it worth covering some of the basic features that I think are pretty neat. In this edition of Rubrik Basics, I thought I\u2019d quickly cover off software upgrades. There are two ways to upgrade the Rubrik software on your Brik &#8211; via USB and SFTP. Either way, you&#8217;ll need access to the <a href=\"https:\/\/support.rubrik.com\/Downloads\">Downloads section<\/a> of the support site. If you&#8217;re a customer, you&#8217;ll have this already. If this all sounds too hard, you can raise a ticket with the support team and they&#8217;ll tunnel in and do the upgrade for you (assuming you&#8217;ve allowed remote tunnel capability).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>USB<\/strong><\/p>\n<p>The good thing about using a USB drive is that you can still keep appliances in &#8220;dark&#8221; sites up to date.\u00a0Before you begin you&#8217;ll need to do two things:<\/p>\n<ul>\n<li>Download the compressed upgrade archive and the matching signature file from the customer portal.<\/li>\n<li>Format a removable drive with the FAT32 file system.<\/li>\n<\/ul>\n<p>You&#8217;ll need to copy the upgrade file and matching signature file to the removable drive. Plug that into any\u00a0node in the cluster. Log in to that node as the admin user.\u00a0Mount the USB drive by typing the following command:<\/p>\n<pre><strong>mount --usb_device<\/strong><\/pre>\n<p>Type the following command to begin the upgrade:<\/p>\n<pre><strong>upgrade start<\/strong><\/pre>\n<p>The upgrade system scans the file system for upgrade archives. If multiple archives are available, it display a list of choices. Once you&#8217;ve finished, you can unmount the device.<\/p>\n<pre><strong>umount --usb_device<\/strong><\/pre>\n<p>&nbsp;<\/p>\n<p><strong>SFTP<\/strong><\/p>\n<p>You can also run the upgrade via SFTP. I found the instructions on how to do that <a href=\"https:\/\/flhoest.blogspot.com\/2018\/03\/rubrik-how-to-upgrade-to-latest-firmware.html\">here<\/a>. It&#8217;s not too dissimilar to the USB method. You&#8217;ll want to use your favourite SFTP client to upload the files to the \/upgrade directory. Once you&#8217;ve done that, ssh on to the node and you can run a pre-flight check. If everything comes up Milhouse you&#8217;ll be good to go for the next step.<\/p>\n<pre><strong>Using username \"admin\".<\/strong>\r\n\r\n<strong>admin@10.xxx.yyy.131's password:<\/strong>\r\n\r\n<strong>=======================<\/strong>\r\n\r\n<strong>Welcome to Rubrik CLI<\/strong>\r\n\r\n<strong>=======================<\/strong>\r\n\r\n<strong>Type 'help' or '?' to list commands<\/strong>\r\n\r\n<strong>RVM165Sxxxx55 &gt;&gt; upgrade start --mode prechecks_only<\/strong>\r\n<strong>Do you want to use --share rubrik-4.1.2-2366.tar.gz [y\/N] [N]: y<\/strong>\r\n<strong>Upgrade status: Started pre-checks successfully<\/strong>\r\n<strong>RVM165Sxxxx55 &gt;&gt; upgrade status<\/strong>\r\n<strong>Current upgrade mode: prechecks_only<\/strong>\r\n<strong>Current upgrade pre-checks node: RVM165Sxxxx55<\/strong>\r\n<strong>Current upgrade pre-checks tarball name: --share rubrik-4.1.2-2366.tar.gz<\/strong>\r\n<strong>Current upgrade pre-checks status: In progress<\/strong>\r\n<strong>Current run started at: 2018-07-19 00:48:04.437000 UTC+0000<\/strong>\r\n\r\n<strong>Current state (3\/6): VERIFYING<\/strong>\r\n<strong>Current task: Verify authenticity of new software<\/strong>\r\n<strong>Current state progress: 0.0%<\/strong>\r\n\r\n<strong>Finished states (2\/6): ACQUIRING, COPYING<\/strong>\r\n<strong>Pending states (3\/6): UNTARING, DEPLOYING, PRECHECKING<\/strong>\r\n\r\n<strong>Time taken so far: 18.38 seconds<\/strong>\r\n<strong>Overall upgrade progress: 6.0%<\/strong><\/pre>\n<p>To check on progress, run &#8220;upgrade status&#8221; to, erm, check on the status of the upgrade.<\/p>\n<pre><strong>RVM165Sxxxx55 &gt;&gt; upgrade status<\/strong>\r\n<strong>Last upgrade mode: prechecks_only<\/strong>\r\n<strong>Last upgrade pre-checks node: RVM165Sxxxx55<\/strong>\r\n<strong>Last upgrade pre-checks tarball name: --share rubrik-4.1.2-2366.tar.gz<\/strong>\r\n<strong>Last upgrade pre-checks status: Completed successfully<\/strong>\r\n<strong>Last run ended at: 2018-07-19 00:51:03.129000 UTC+0000<\/strong>\r\n<strong>Current state: IDLE<\/strong><\/pre>\n<p>Now you&#8217;re ready to do it for real. Run &#8220;upgrade start&#8221; to start.<\/p>\n<pre><strong>RVM165Sxxxx55 &gt;&gt; upgrade start<\/strong>\r\n<strong>Do you want to use --share rubrik-4.1.2-2366.tar.gz [y\/N] [N]: y<\/strong>\r\n<strong>Upgrade status: Started upgrade successfully<\/strong>\r\n<strong>RVM165Sxxxx55 &gt;&gt; upgrade status<\/strong>\r\n<strong>Current upgrade mode: normal<\/strong>\r\n<strong>Current upgrade node: RVM165Sxxxx55<\/strong>\r\n<strong>Current upgrade tarball name: --share rubrik-4.1.2-2366.tar.gz<\/strong>\r\n<strong>Current upgrade status: In progress<\/strong>\r\n<strong>Current run started at: 2018-07-19 00:52:56.882000 UTC+0000<\/strong>\r\n\r\n<strong>Current state (4\/9): UNTARING<\/strong>\r\n<strong>Current task: Extract new software<\/strong>\r\n<strong>Current state progress: 0.0%<\/strong>\r\n\r\n<strong>Finished states (3\/9): ACQUIRING, COPYING, VERIFYING<\/strong>\r\n<strong>Pending states (5\/9): DEPLOYING, PRECHECKING, PREPARING, UPGRADING, RESTARTING<\/strong>\r\n\r\n<strong>Time taken so far: 22.52 seconds<\/strong>\r\n<strong>Overall upgrade progress: 3.5%<\/strong><\/pre>\n<p>It&#8217;s a pretty quick process, and eventually you&#8217;ll see this message.<\/p>\n<pre><strong>RVM165Sxxxx55 &gt;&gt; upgrade status<\/strong>\r\n<strong>Last upgrade mode: normal<\/strong>\r\n<strong>Last upgrade node: RVM165Sxxxx55<\/strong>\r\n<strong>Last upgrade tarball name: --share rubrik-4.1.2-2366.tar.gz<\/strong>\r\n<strong>Last upgrade status: Completed successfully<\/strong>\r\n<strong>Last run ended at: 2018-07-19 01:19:09.719000 UTC+0000<\/strong>\r\n\r\n<strong>Current state: IDLE<\/strong>\r\n<strong>RVM165Sxxxx55 &gt;&gt;<\/strong><\/pre>\n<p>And you&#8217;re all done. Note that you only have to upload the data and run the process on one node in the cluster.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/07\/Rubrik_version.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6937\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/07\/Rubrik_version.png\" alt=\"\" width=\"800\" height=\"377\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/07\/Rubrik_version.png 2770w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/07\/Rubrik_version-300x141.png 300w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/07\/Rubrik_version-768x362.png 768w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/07\/Rubrik_version-1024x483.png 1024w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve been doing some work with\u00a0Rubrik\u00a0in our lab and thought it worth covering some of the basic features that I think are pretty neat. In this edition of Rubrik Basics, I thought I\u2019d quickly cover off software upgrades. There are two ways to upgrade the Rubrik software on your Brik &#8211; via USB and SFTP. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,972],"tags":[792,976,973,28],"class_list":["post-6935","post","type-post","status-publish","format-standard","hentry","category-dataprotection","category-rubrik","tag-backup","tag-data-protection","tag-rubrik","tag-upgrade"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/6935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=6935"}],"version-history":[{"count":3,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/6935\/revisions"}],"predecessor-version":[{"id":6939,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/6935\/revisions\/6939"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=6935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=6935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=6935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}