跳转到主内容

Element sfinstall 脚本有哪些参数?

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

适用于

  • NetApp SolidFire
  • NetApp HCI
  • Element Software 版本 12.3 及更早版本

回答

概述

从版本 12.3 之后的下一次 Element 升级开始,所有 Element 升级都将移至 Hybrid Cloud Control  (HCC) 的 UI 驱动升级流程

对于 12.3 和之前的版本,使用前一种方法——HealthTools 中的 /sf/bin/sfinstall 脚本——也是一个选项

要确定 sfinstall 上可用的选项,请运行以下任一操作:

  • sudo sfinstall -?
  • sudo sfinstall --help(后者更详细)

示例(来自版本 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]

示例命令

带有添加参数的 sfinstall 命令示例:

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

追加信息

在 SolidFire 集群升级期间重置升级模式(当前仍处于升级模式)

注: 对于 DarkSite 客户,请使用所需的标记:

 sudo sfinstall <MVIP> -u <username> -p <password> --resetUpgrade --metadata-/var/tmp/metadata.json -- skip-version-check

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.