-
Notifications
You must be signed in to change notification settings - Fork 47
CB Spider 서버 환경변수 설정 방법 (Korean)
ByoungSeob Kim edited this page Jul 19, 2021
·
12 revisions
CB-Spider는 서버의 운영 루트 경로 및 운영 방법 등의 설정을 위하여 환경변수를 사용하며, 세부 설정 방법은 다음과 같다.
Environment Variables | Descriptions | Default |
---|---|---|
CBSPIDER_ROOT | 설치된 CB-Spider 패키지의 Root 경로 설정 | CBSPIDER_ROOT=$HOME/go/src/github.com/cloud-barista/cb-spider |
LOCALHOST | deprecated from v0.4.4 cf) CB-Spider Service Address Configuration |
- |
SERVER_ADDRESS | sincev0.4.4 cf) CB-Spider Service Address Configuration |
설정하지 않음 |
SERVICE_ADDRESS | sincev0.4.4 cf) CB-Spider Service Address Configuration |
설정하지 않음 |
PLUGIN_SW | 클라우드 인프라 드라이버의 동적 추가 및 연동이 가능한 옵션. ON 설정시 공유 라이브러리 형식으로 빌드된 드라이버를 동적으로 등록 및 관리 가능 | PLUGIN_SW=OFF |
MEERKAT | 분산 스파이더 PoC를 위한 MeerKat 옵션. ON이면, MeerKat 데몬이 가동되고, 분산 PoC 시험 가능 (Spider 개발자 용) | MEERKAT=OFF |
CBSTORE_ROOT | 메타정보 관리를 위한 cb-store 의 Root 경로 설정, cb-store가 설정 파일 위치 검색 등에 활용 | CBSTORE_ROOT=$CBSPIDER_ROOT |
CBLOG_ROOT | 로그 출력을 위한 cb-log 의 Root 경로 설정, cb-log가 설정 파일 위치 검색 등에 활용 | CBSTORE_ROOT=$CBSPIDER_ROOT |
$ vi ./setup.env
#!/bin/bash
# root path of cb-spider
export CBSPIDER_ROOT=$HOME/go/src/github.com/cloud-barista/cb-spider
### Set Spider server IP to localhost.
# If Spider server is running on a shared public IP Host,
# Users cannot use some functions of AdminWeb.
# In that case, you should set LOCALHOST with ON.
# You can then access all AdminWeb functions through a browser.
# But your browser should be on the same local host.
# default: OFF
export LOCALHOST=OFF
### Set the library type of Cloud Driver pkg.
# ON is a shared library type.
# default: OFF
export PLUGIN_SW=OFF
### set on/off of MeerKat Life
# ON is making a life of MeerKat.
# default: OFF
export MEERKAT=OFF
# root path of cb-store
export CBSTORE_ROOT=$CBSPIDER_ROOT
# root path of cb-log
export CBLOG_ROOT=$CBSPIDER_ROOT
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- Price Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]