ExamGecko
Question list
Search
Search

List of questions

Search

Question 159 - SPLK-2002 discussion

Report
Export

To expand the search head cluster by adding a new member, node2, what first step is required?

A.

splunk bootstrap shcluster-config -mgmt_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

Answers
A.

splunk bootstrap shcluster-config -mgmt_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

B.

splunk init shcluster-config -master_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

Answers
B.

splunk init shcluster-config -master_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

C.

splunk init shcluster-config -mgmt_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

Answers
C.

splunk init shcluster-config -mgmt_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

D.

splunk add shcluster-member -new_member_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

Answers
D.

splunk add shcluster-member -new_member_uri https://node2:8089 -replication_port 9200 -secret supersecretkey

Suggested answer: C

Explanation:

To expand the search head cluster by adding a new member, node2, the first step is to initialize the cluster configuration on node2 using thesplunk init shcluster-configcommand. This command sets the required parameters for the cluster member, such as the management URI, the replication port, and the shared secret key. The management URI must be unique for each cluster member and must match the URI that the deployer uses to communicate with the member. The replication port must be the same for all cluster members and must be different from the management port. The secret key must be the same for all cluster members and must be encrypted using thesplunk _encryptcommand. Themaster_uriparameter is optional and specifies the URI of the cluster captain. If not specified, the cluster member will use the captain election process to determine the captain. Option C shows the correct syntax and parameters for thesplunk init shcluster-configcommand. Option A is incorrect because thesplunk bootstrap shcluster-configcommand is used to bring up the first cluster member as the initial captain, not to add a new member. Option B is incorrect because themaster_uriparameter is not required and themgmt_uriparameter is missing. Option D is incorrect because thesplunk add shcluster-membercommand is used to add an existing search head to the cluster, not to initialize a new member12

1: https://docs.splunk.com/Documentation/Splunk/9.1.2/DistSearch/SHCdeploymentoverview#Initialize_cluster_members2: https://docs.splunk.com/Documentation/Splunk/9.1.2/DistSearch/SHCconfigurationdetails#Configure_the_cluster_members

asked 13/11/2024
YASSIR EL GHAZY
54 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first