SLV 설치 - Redis
SLV 설치 - Redis
왜 Redis인가?
Redis는 실전에서 검증된 인메모리 데이터스토어로, 레이턴시를 한 자릿수 밀리초 범위로 유지하므로 핫 데이터 캐싱과 실시간 워크로드 조정에 이상적입니다.
slv install과 Redis를 함께 사용하면 모든 노드에서 일관된 프로덕션 등급 인스턴스를 하나의 명령으로 띄울 수 있습니다.하이라이트
- Redis: https://redis.io/
- 내장 복제, 영속성, 클러스터링 옵션을 제공하므로 스택을 재설계하지 않고 확장할 수 있습니다.
- 매우 빠른 응답 시간을 제공하여 Solana 서비스를 불필요한 병목에서 보호합니다.
설치 프로그램 실행
서비스를 실행할 호스트를 대상으로 지정하여 Redis 배포를 트리거합니다:
bash
$ slv install -i 1.1.1.1,
🚀 Installing software components...
? Select Software Component to Install (Redis)
❯ Redis
TiDB (MySQL Cluster)
Grafana
Prometheus
Node Exporter
Kafka Cluster$ slv install -i 1.1.1.1,
🚀 Installing software components...
? Select Software Component to Install (Redis)
❯ Redis
TiDB (MySQL Cluster)
Grafana
Prometheus
Node Exporter
Kafka Cluster참고:1.1.1.1을 자신의 서버 IP 주소로 바꾸세요.
세부 정보 확인
slv는 Ansible을 실행하기 전에 정확한 플레이북과 인벤토리 정보를 출력하므로 대상을 확인하고 필요하면 취소할 수 있습니다.bash
🚀 Installing software components...
? Select Software Component to Install (Redis) › Redis
✅ You selected: Redis
📋 Installation Details:
Software: Redis
Inventory: 1.1.1.1,
Playbook: /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-redis.yml
? Do you want to proceed with the installation? (y/N) › 🚀 Installing software components...
? Select Software Component to Install (Redis) › Redis
✅ You selected: Redis
📋 Installation Details:
Software: Redis
Inventory: 1.1.1.1,
Playbook: /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-redis.yml
? Do you want to proceed with the installation? (y/N) › Ansible 실행 관찰
확인되면
slv가 Ansible을 시작하여 각 호스트에 서비스와 그 의존성을 구성합니다.bash
🚀 Running ansible: ansible-playbook -i 1.1.1.1, -u solv /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-redis.yml
PLAY [Install and configure Redis] *******************************************************************
TASK [Gathering Facts] *******************************************************************************🚀 Running ansible: ansible-playbook -i 1.1.1.1, -u solv /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-redis.yml
PLAY [Install and configure Redis] *******************************************************************
TASK [Gathering Facts] *******************************************************************************엔드포인트 확인
성공적인 실행은 Redis 인스턴스에 접속 가능한 위치를 보여주는 요약으로 끝납니다. 이 엔드포인트를 애플리케이션이나 모니터링 체크에서 사용하세요.
bash
✅ Installation completed successfully!
🌐 Access Information:
Redis Endpoint: redis://<IP>:6379✅ Installation completed successfully!
🌐 Access Information:
Redis Endpoint: redis://<IP>:6379대시보드
Redis는 기본 대시보드 없이 제공됩니다. 선택적인 시각 관리를 위해 Redis Insight를 워크스테이션에 설치하고 위에 출력된 엔드포인트를 지정하세요.