Can anyone tell me the steps to deploy and configure multiple apps in a cluster with heavy forwarders.
Hi @sam1010,
as @manjunathmeti said, on a Search Hards Cluster you can use only Deployer to deploy apps.
The steps to follow are at https://docs.splunk.com/Documentation/Splunk/8.2.1/DistSearch/PropagateSHCconfigurationchanges
in few words:
splunk apply shcluster-bundle -target <URI>:<management_port> -auth <username>:<password>
splunk apply shcluster-bundle -target <URI>:<management_port> -preserve-lookups true -auth <username>:<password>
On Heavy Forwarders, as @manjunathmeti said, you can use the Deployment Server.
The steps are described at https://docs.splunk.com/Documentation/Splunk/8.2.1/Updating/Updateconfigurations
in few words:
splunk reload deploy-server
Only one attention point: if you have two or more HF to take syslogs with a front Load Balancer, in this way there could be the risk that both the HFs restart at the same time, so you lose syslogs, in this case I hint to manually install apps one HF after the other.
Ciao.
Giuseppe
Hi @sam1010,
as @manjunathmeti said, on a Search Hards Cluster you can use only Deployer to deploy apps.
The steps to follow are at https://docs.splunk.com/Documentation/Splunk/8.2.1/DistSearch/PropagateSHCconfigurationchanges
in few words:
splunk apply shcluster-bundle -target <URI>:<management_port> -auth <username>:<password>
splunk apply shcluster-bundle -target <URI>:<management_port> -preserve-lookups true -auth <username>:<password>
On Heavy Forwarders, as @manjunathmeti said, you can use the Deployment Server.
The steps are described at https://docs.splunk.com/Documentation/Splunk/8.2.1/Updating/Updateconfigurations
in few words:
splunk reload deploy-server
Only one attention point: if you have two or more HF to take syslogs with a front Load Balancer, in this way there could be the risk that both the HFs restart at the same time, so you lose syslogs, in this case I hint to manually install apps one HF after the other.
Ciao.
Giuseppe
@gcusello Thanks for the solution and providing relevant documentation. Is there any documentation for @manjunathmeti 's answers 2nd step as well? i.e. " 2. Deploy indexer apps from Cluster Master server to Indexer Servers/Peers in the cluster." In other words how do I carry out this step about deploying apps in indexer?
Hi @sam1010,
Google is your best friend for searching documentation, anyway, you can find the documentation about Indexers Cluster at https://docs.splunk.com/Documentation/Splunk/8.2.1/Indexer/Manageappdeployment and at https://docs.splunk.com/Documentation/Splunk/8.2.1/Indexer/Updatepeerconfigurations
In few words, you have to:
Ciao and happy splunking.
Giuseppe
To deploy indexer apps from cluster master:
/opt/splunk/bin/splunk apply cluster-bundle --answer-yes -auth <username>:<password>
Once the latest bundle is deployed, apps will be stored in $SPLUNK_HOME/etc/slave-apps on indexer servers.
1. Deploy search head apps from the Deployer server to Search Heads in the cluster.
2. Deploy indexer apps from Cluster Master server to Indexer Servers/Peers in the cluster.
3. Deploy heavy forwarder apps from Deployment server to Heavy Forwarders.