官术网_书友最值得收藏!

License master and cluster master

You can create a license master, which is a centralized license server for the entire deployment, simply by installing the Splunk Enterprise license you obtained from Splunk sales on it:

  1. (Splunk Web)(license master): Settings | Licensing | Add new license | Choose File | Install
  2. Click the provided button to restart Splunk

After logging back in, navigate to Settings | Licensing and verify the license was installed. You'll also note at the top of this page that This server is acting as a master license server – so there's nothing else to do in terms of configuring a license master. During this operation, the license file you imported was saved in /opt/splunk/etc/licenses/.

To enable this node as a cluster master, perform the following steps in Splunk Web:

  • Settings | Indexer clustering click Enable indexer clustering
  • Select Master node (default) and click Next
  • Set the replication factor to 2 and leave the search factor at 2 (or the RF/SF of your choice)
  • Enter !Sp1unkCM! in the Security Key field (or a security key of your choice)
  • Enter DevTestIndexers in the Cluster Label field (or an entry of your choice)
  • Click Enable Master Node and Restart Now

When the server comes back up, you can view the /opt/splunk/etc/system/local/
server.conf
 file and note the following settings that weren't there before; in most cases, you can tell what function a Splunk server is performing just by inspecting the server.conf file. The [lmpool:...] and [license] stanzas reflect the default license pool settings and the fact that you're using a Splunk Enterprise license; the [clustering] stanza reflects the choices made for clustering. Note that the pass4SymmKey 
contains an obfuscated version of the security key you entered (!Sp1unkCM!during setup; Splunk does this to all plain text security keys upon startup:

[lmpool:auto_generated_pool_enterprise]
description = auto_generated_pool_enterprise
quota = MAX
slaves = *
stack_id = enterprise

[license]
active_group = Enterprise

[clustering]
cluster_label = DevTestIndexers
mode = master
pass4SymmKey = $1$J2nsIHghS61r0NU=
replication_factor = 2
主站蜘蛛池模板: 开化县| 卢龙县| 浦北县| 平和县| 郓城县| 郧西县| 固镇县| 准格尔旗| 天台县| 乌苏市| 荔浦县| 新乡县| 台南县| 扶沟县| 女性| 察雅县| 芜湖市| 梅州市| 安义县| 林西县| 荆州市| 贵阳市| 呼玛县| 中方县| 托克逊县| 桃源县| 华坪县| 台州市| 潞城市| 上饶市| 桂平市| 高密市| 莎车县| 平安县| 临潭县| 甘德县| 榆树市| 土默特左旗| 长沙县| 兴业县| 海安县|