Created
August 14, 2019 09:29
-
-
Save BadgerCode/71059646a7f21e974eb4b0115c80e21b to your computer and use it in GitHub Desktop.
Updates a service fabric upgrade that is in progress to use new settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$endpoint = "myclustername.uksouth.cloudapp.azure.com:19000" | |
$thumbprint = "a132bd464564ffffff1651f1311f51321" | |
Connect-serviceFabricCluster ` | |
-ConnectionEndpoint $endpoint ` | |
-KeepAliveIntervalInSec 10 ` | |
-X509Credential ` | |
-ServerCertThumbprint $thumbprint ` | |
-FindType FindByThumbprint ` | |
-FindValue $thumbprint ` | |
-StoreLocation LocalMachine ` | |
-StoreName My | |
Update-ServiceFabricApplicationUpgrade -ApplicationName fabric:/MyAppName -UpgradeMode Monitored -UpgradeTimeoutSec 180 -UpgradeDomainTimeoutSec 20 -HealthCheckRetryTimeoutSec 10 -HealthCheckStableDurationSec 10 -FailureAction Rollback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment