스플렁크 재시작

Splunk start, stop, restart
스플렁크 시작, 중지, 재시작

1 방법 1: splunk[ | ]

이 방법은 CLI 명령어 splunk를 이용하는 것이다. splunkd 또는 splunkweb 둘 중 하나만 재시작하려면 이 방법으로 해야 한다. 재시작 말고 시작, 중지를 하고 싶으면 restart 대신 start, stop을 쓰면 된다.

splunkd만 재시작
/opt/splunk/bin/splunk restart splunkd
[root@zetawiki ~]# /opt/splunk/bin/splunk restart splunkd
Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
..............................                             [  OK  ]
... (생략)
Starting splunk server daemon (splunkd)...  Done
                                                           [  OK  ]
splunkweb만 재시작
/opt/splunk/bin/splunk restart splunkweb
[root@zetawiki ~]# /opt/splunk/bin/splunk restart splunkweb
Stopping splunkweb...
                                                           [  OK  ]
	Checking http port [8000]: open
                                                           [  OK  ]
Starting splunkweb...  Done

If you get stuck, we're here to help.  
Look for answers here: http://docs.splunk.com

The Splunk web interface is at http://jmnote
둘다 재시작
/opt/splunk/bin/splunk restart
→ 실행예시는 다음 문단(방법 2) 참조

2 방법 2: service[ | ]

위의 /opt/splunk/bin/splunk restart과 동일하게 splunkd와 splunkweb을 둘다 재시작하며, 어느 한쪽만 재시작할 수는 없다.

명령어
service splunk restart
실행예시
[root@zetawiki ~]# service splunk restart
Stopping splunkweb...
                                                           [  OK  ]
Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
..............................                             [  OK  ]
Stopping splunk helpers...
                                                           [  OK  ]
Done.

Splunk> Now with more code!

Checking prerequisites...
	Checking http port [8000]: open
	Checking mgmt port [8089]: open
	Checking configuration...  Done.
	Checking indexes...
		Validated databases: _audit _blocksignature _internal _thefishbucket history index_ex01 main summary
	Done
	Checking filesystem compatibility...  Done
	Checking conf files for typos...  	Done
All preliminary checks passed.

Starting splunk server daemon (splunkd)...  Done
                                                           [  OK  ]
                                                           [  OK  ]
Starting splunkweb...  Done

If you get stuck, we're here to help.  
Look for answers here: http://docs.splunk.com

The Splunk web interface is at http://jmnote
→ "splunkweb 중지 → splunkd 중지 → splunkd 시작 → splunkweb 시작"

3 방법 3: 웹 UI[ | ]

이 방법 역시 splunkd와 splunkweb이 둘다 재시작된다.

  • 관리자 --- 서버 컨트롤 --- [Splunk 재시작]
  • "Splunk를 재시작하시겠습니까?" --- [확인]

Splunk가 재시작하는 중입니다. 기다려 주십시오. 시간이 몇 분 정도 걸릴 수 있습니다.

계속 기다리면...

  • "재시작 성공 - "확인"을 클릭하여 다시 Splunk에 로그인하십시오." --- [확인]

splunkweb이 재시작되면서 웹 로그인이 풀렸다. 다시 로그인하자.

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}