Skip to main content
NetApp Knowledge Base

What are the arguments for the Element sfinstall script?

Views:
387
Visibility:
Public
Votes:
0
Category:
element-software
Specialty:
solidfire
Last Updated:

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

additionalInformation_text

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.