-
Notifications
You must be signed in to change notification settings - Fork 123
CSPL-912: Scaling Test for Multiple Splunk SVA ( S1, M4, C3) #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
20e3db3
to
2b0bb19
Compare
2b0bb19
to
7603044
Compare
3d25664
to
3e90018
Compare
3e90018
to
7d50c99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
// Scale Search Head Cluster | ||
scaledSHReplicas := defaultSHReplicas + 1 | ||
testenvInstance.Log.Info("Scaling up Search Head Cluster", "Current Replicas", defaultSHReplicas, "New Replicas", scaledSHReplicas) | ||
shcName := deployment.GetName() + "-shc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maintain the extensions "-shc" and "-idc" as constant strings? Or have a formatted string such as:
const string indexerNameBuilder = %s-idc
const string shcNameBuilder = %s-shc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No @akondur the naming controlled by a method in deployment.go so the naming convention is not strictly imposed. I will make another PR with standardization and refactor of test code and take care of these issues then.
Scale Up and Scale Down Test :
Standalone
Scale Up to 2 Replica
Scale Down to 1 Replica
C3 ( Single Site Indexer Cluster and SHC)
Scale Up Indexer Replicase
Ingest Data
Scale up SHC Replicas
Search Data on newly provisioned SH
Scale down Indexer Cluster
Search Data on newly provisioned SH from deleted Indexer
M4 (Multi Site Indexer Cluster and SHC)
Scale Up Indexer Replicas
Ingest Data
Search Data from newly provisioned Indexer
Scale down Indexer Cluster
Search Data from deleted Indexer