'기타'에 해당되는 글 52건
- 2020.03.25 geeksforgeeks
- 2019.08.02 CIDR 계산기
- 2018.12.04 Bash scripting cheatsheet
- 2018.09.06 kubernetes 강좌
- 2018.08.31 free ssl (letsencrypt)
- 2018.08.21 동기/비동기 / 블럭킹 / 논 블럭킹
- 2018.07.26 JavaScript based 알고리즘 및 자료 구조
- 2018.06.19 how-secure-elasticsearch-and-kibana
- 2018.06.18 ElasticSearch management 관련 명령어
- 2018.06.18 쿠버네티스 용어
Bash scripting cheatsheet
https://devhints.io/bash.html?fbclid=IwAR1R2IpkCczUiwzHuLnb4ENrOEgsoTIltaU8IiYAuSAXRFQn2b7m6xDTNE0
동기/비동기 / 블럭킹 / 논 블럭킹
https://www.facebook.com/steven.kim.773/posts/746774425427586?hc_location=ufi
JavaScript based 알고리즘 및 자료 구조
https://github.com/trekhleb/javascript-algorithms/blob/master/README.ko-KR.md
how-secure-elasticsearch-and-kibana
https://mapr.com/blog/how-secure-elasticsearch-and-kibana/
ElasticSearch management 관련 명령어
GET /_cat/snapshots/s3_repository?v&s=id
GET /_cluster/health/?level=indices
GET _cluster/settings
GET _cat/allocation?v
DELETE _snapshot/s3_repository/snap_index_20180101
PUT _snapshot/s3_repository/snap_index_20180101?wait_for_completion=false
{
"indices": ["index1", "index2", "index3"]
}
GET _snapshot/s3_repository/snap_index_20180101
GET _snapshot/s3_repository
-- 노드 하나 비우자
PUT _cluster/settings
{
"transient": {
"cluster.routing.allocation.exclude._ip": "10.211.205.93"
}
}
unssined shard 복구하기
1. 이슈있는 샤드 찾기
curl -XGET https://localhost/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED
2. 이슈있는 데이터 삭제
curl -XDELETE 'https://localhost/user-tracking-2019-07-22/'
curl -XGET https://localhost/_cluster/allocation/explain?pretty
-- 전체 리플리카 변경하기
curl -XPUT -H 'Content-Type: application/json' 'https://localhost/_settings' -d '
{
"index" : {
"number_of_replicas" : 2
}
}'
https://zetawiki.com/wiki/%EC%BF%A0%EB%B2%84%EB%84%A4%ED%8B%B0%EC%8A%A4_%EC%9A%A9%EC%96%B4