Skip to content

Conversation

pdhanoya-splunk
Copy link
Contributor

@pdhanoya-splunk pdhanoya-splunk commented Mar 17, 2021

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

@smohan-splunk smohan-splunk changed the title Scaling Test for Multiple Splunk SVA ( S1, M4, C3) CSPL-912: Scaling Test for Multiple Splunk SVA ( S1, M4, C3) Mar 18, 2021
Copy link
Collaborator

@akondur akondur left a 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"
Copy link
Collaborator

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

Copy link
Contributor Author

@pdhanoya-splunk pdhanoya-splunk Mar 18, 2021

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.

@smohan-splunk smohan-splunk merged commit 5b219c6 into develop Mar 18, 2021
@pdhanoya-splunk pdhanoya-splunk deleted the CSPL-912-scaling-test branch March 18, 2021 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants