What are the arguments for the Element sfinstall script?
- Views:
- 475
- Visibility:
- Public
- Votes:
- 0
- Category:
- element-software
- Specialty:
- solidfire
- Last Updated:
- 4/15/2022, 2:00:37 PM
Applies to
- NetApp SolidFire
- NetApp HCI
- Element Software versions 12.3 and prior
Answer
Overview
As of the next Element upgrade after version 12.3, all Element upgrades will move to Hybrid Cloud Control's (HCC's) UI-driven upgrades process.
For 12.3 and prior, using the former method--the /sf/bin/sfinstall
script within HealthTools--is an option as well
To determine what options are available on sfinstall, run either:
sudo sfinstall -?
sudo sfinstall --help
(the latter is more verbose)
Example (from version 2020.06.01.04):
admin@SF-D31D ~ $ sudo sfupdate-healthtools -v
sfupdate-healthtools /sf/bin/sfupdate-healthtools -v
Currently installed version of HealthTools:
2020.06.01.04
Management Node Platform: Ember
admin@SF-D31D ~ $ sudo sfinstall -?
usage: sfinstall [-h] [--skip-version-check] [--ignoreExistingDriveFaults]
[-c CREDENTIALS] [-B BSCHECKMODE] [-d] [--disableKIHE]
[--validateBondDownDelay] [--disableExtraHealthChecks]
[--disableNegativeStatsCheck] [--disableDefaultConstants]
[--lowMemoryGiB LOWMEMORYGIB]
[--lowMemoryPercent LOWMEMORYPERCENT] [--disableMemoryCheck]
[--disableLogFreeSpaceCheck] [--disableRootFreeSpaceCheck]
[--disableNetworkConfigWorkaround]
[--disableMovePrimariesAwayFromNode]
[--disableMovePrimariesGradual] [--disableVersionCheck]
[--movePrimariesWaitTime MOVEPRIMARIESWAITTIME]
[--movePrimariesGradualPeriod MOVEPRIMARIESGRADUALPERIOD]
[--movePrimariesISCSIMonitorPeriodMSec MOVEPRIMARIESISCSIMONITORPERIODMSEC]
[--movePrimariesGradualGroupCount MOVEPRIMARIESGRADUALGROUPCOUNT]
[--deprimeNodeID DEPRIMENODEID] [-E]
[-f IGNOREDCLUSTERFAULTS] [-i SCACHEWAITTIME] [-I]
[-m SCACHEMAXWAITTIME] [-P BSCHECKPAUSE]
[--sliceTimeoutMinutes SLICETIMEOUTMINUTES] [-t TIMEZONE]
[-T SCACHETHRESHOLD] [-u USER] [-w MINWAITBEFORERESTART]
[-W APIRETRYINTERVAL] [-x]
[--apiErrorLogThreshold APIERRORLOGTHRESHOLD]
[--apiErrorLogRepeat APIERRORLOGREPEAT]
[--apiMaxRetryCount APIMAXRETRYCOUNT] [--forceReinstall]
[--stage] [--destage] [--useProxy] [--skipConnectionTest]
[--connectionTestTimeout CONNECTIONTESTTIMEOUT]
[--rtfiFlags RTFIFLAGS] [--skipResetConstants]
[--maxInstallAttempts MAXINSTALLATTEMPTS] [--noPurgeLogs]
[--constantsFile CONSTANTSFILE] [--setConstants SETCONSTANTS]
[--ip IPADDRESS] [--nodeIdUpgradeOrder NODEIDUPGRADEORDER]
[--nodeTypeWeights NODETYPEWEIGHTS]
[--nodeIdModulo NODEIDMODULO] [--skipUserConfirmation]
[--disablePromptOnMissingNode]
[--maxVolumeHealthCheckIterations MAXVOLUMEHEALTHCHECKITERATIONS]
[--networkReadTimeoutRetries NETWORKREADTIMEOUTRETRIES]
[--networkReadTimeout NETWORKREADTIMEOUT] [--validateOnly]
[--metadata METADATA] [-b] [--shutdownNode SHUTDOWNNODE] [-l]
[-M MONITORPERIOD] [-n] [-R] [-S] [-v] [-e]
[--movePrimariesGradual] [--resetUpgrade]
[--resolveSfinstallFaults]
[--databaseUpdateRetries DATABASEUPDATERETRIES]
[--continueOnDatabaseUpdateFailure]
[mvip]
Example commands
Example of an sfinstall commands with added parameters:
sfinstall -u <Username> -p <Password> <MVIP> <DirectoryOfISO> --ignoreClusterFaults <errorcode>
sfinstall -u sfsupport -p catchTheFire! xx.xxx.x.xxx /home/solidfire/solidfire-rtfi-sodium-patch1-11.1.0.72.iso --ignoreClusterFaults blockClusterFull
Additional Information
N/A