-
Notifications
You must be signed in to change notification settings - Fork 46
Azure Driver Testing to reduce the elapsed time of terminating VM
ByoungSeob Kim edited this page Apr 30, 2021
·
3 revisions
-
[Target Spider] https://github.com/cloud-barista/cb-spider/releases/tag/v0.3.8 (TerminateVM 일부 개선)
-
- Region: azure-northeurope
- Image: Canonical:UbuntuServer:18.04-LTS:latest
- Spec: Standard_B1ls
-
-
-
개선한 CB-Spider v0.3.8 대상으로 시험
-
AdminWeb 사용한 manual test
- VPC 생성 -> SG 생성 -> Key 생성 -> VM 생성 -> VM 삭제 -> Key 삭제 -> SG 삭제 -> VPC 삭제
- VM 외 평균 생성 및 삭제 시간: VPC=15s 정도, Security Group:15s 정도
- VM 생성 및 삭제 소요 시간
- 1회: VM 생성: 1m7s, VM 삭제: 1m6s - 2회: VM 생성: 1m4s, VM 삭제: 2m10s (DeleteVMDisk 함수가 늦게 처리됨) - 3회: VM 생성: 1m8s, VM 삭제: 1m7s
-
Script 이용한 full test(중간에 sleep 없이 실행, 3회 반복 시험)
- 1회 시험 항목
## 1. VPC: Create -> List -> Get ## 2. SecurityGroup: Create -> List -> Get ## 3. KeyPair: Create -> List -> Get ## 4. VM: StartVM -> List -> Get -> ListStatus -> GetStatus -> Suspend -> Resume -> Reboot ## --------------------------------- ## 4. VM: Terminate(Delete) ## 3. KeyPair: Delete ## 2. SecurityGroup: Delete ## 1. VPC: Delete
- 시험 결과
## 1회: 5m13.625s ## 2회: 4m20.142s ## 3회: 4m14.364s
- 1회 시험 항목
-
-
- TerminateVM() 내부 처리 중, 삭제 순서의 의존 없는 자원들은 Thread 이용하여 동시에 future.WaitForCompletionRef() 실행하는 것을 고려 필요
- Tumblebug 시험 패턴 확인 후 Terminate VM 지연 상황 재연 필요
- TerminateVM() 내부에서 vmdisk 삭제 시 지연 가능성이 있어 보임. 추가 시험 필요(VM 생성 => VM 내부에 데이타 저장 => VM 삭제 시험
-
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]