Skip to content

Commit

Permalink
[ADD] คำสั่ง run Ansible ติดตั้ง Cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
wdrdres3qew5ts21 authored Jun 7, 2020
1 parent 9a96f48 commit a7b67a8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ https://seniorproject.sit.kmutt.ac.th/showproject/IT59-BU37
![alt text](https://i.imgur.com/LLss4Os.jpg)

## วิธีการติดตั้ง project
![alt text](https://www.iverson.co.th/images/slideshow/Iverson-TH-SlideHome---Banner_Red-Hat.jpg)
```
ansible-playbook setup-ssl-stack.yml --ask-vault-pass -vvv
```
*** Automation กำลังอยู่ในช่วงเพิ่ม Feature
จะทำการติดตั้ง Elasticsearch ให้อัตโนมัติ โดยการ setup XPACK + SSL + Keystore
ซึ่งตอนนี้ขาดการนำ Certificate ออกมาให้ Java Client ข้างนอกใช้เพราะยังอยู่ใน docker volume


###### ติดตั้ง MongoDB Database เชื่อมเข้ากับ Elasticsearch
1. Restore ข้อมูลกลับเข้า MongoDB
ทำการ import ไฟล์จาก meetu-mongodb-dump ด้วยการใช้คำสั่ง mongorestore https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/ เพื่อนำข้อมูลที่ถูก dump ออกมาเป้น bson กลับเข้าไปใน mongodb
Expand Down

0 comments on commit a7b67a8

Please sign in to comment.