Difference between revisions of "Upgrade Commands"

From OSNEXUS Online Documentation Site
Jump to: navigation, search
m (Core Service Upgrade only on 5.x)
m (Kernel Upgrade on Xenial 5.x)
Line 10: Line 10:
  
 
==== Kernel Upgrade on Xenial 5.x ====
 
==== Kernel Upgrade on Xenial 5.x ====
 +
Run the upgrade script:
 +
<pre>
 +
/opt/osnexus/quantastor/bin/qs_upgrade.py --includeKernel=True
 +
</pre>
 +
 +
This command will upgrade all QuantaStor core packages as well as the kernel. After the kernel upgrade is finished, the script stops and prints the message '''stdout''' advising the user to reboot the system. After the system reboot, the script will run again and verify the latest QuantaStor version.
 +
 +
If '''--allowReboot''' is supplied as true, then the script will reboot automatically instead of stopping and printing a message to '''stdout'''.
  
 
==== Service Upgrade from 5.x  ====
 
==== Service Upgrade from 5.x  ====

Revision as of 14:18, 21 August 2019

QuantaStor CLI Upgrade Commands

Flags and Arguments

Upgrade Manager Use Cases

Upgrade from Trusty 4.x to Xenial 5.x

Offline Upgrade from Xenial 5.x

Kernel Upgrade on Xenial 5.x

Run the upgrade script:

/opt/osnexus/quantastor/bin/qs_upgrade.py --includeKernel=True

This command will upgrade all QuantaStor core packages as well as the kernel. After the kernel upgrade is finished, the script stops and prints the message stdout advising the user to reboot the system. After the system reboot, the script will run again and verify the latest QuantaStor version.

If --allowReboot is supplied as true, then the script will reboot automatically instead of stopping and printing a message to stdout.

Service Upgrade from 5.x

Run the upgrade script:


/opt/osnexus/quantastor/bin/qs_upgrade.py --coreOnly=True

Core Service Upgrade only on 5.x

Run the upgrade script:

/opt/osnexus/quantastor/bin/qs_upgrade.py

This will upgrade the QuantaStor core packages and perform an apt-get upgrade.