Docker-machine-driver-xenserver derivado do docker-machine-driver-xcp, apenas para compatibilidade de clusters Rancher criados com o driver antigo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Fábio Kaiser Rauber e13980045c Set IPAddress parameter, fixing Rancher 2.0 issue 6 years ago
patches CA-208166: DockerMachine(golang clients) cannot connect XenServer host with ssl-legacy=false 9 years ago
xenserver Set IPAddress parameter, fixing Rancher 2.0 issue 6 years ago
.gitignore Add project basics 9 years ago
.travis.yml Fix deploy.on.repo 8 years ago
LICENSE Add project basics 9 years ago
Makefile Add build for Windows 8 years ago
README.md Document that XS65SP1 or later is required 8 years ago
docker-machine-driver-xenserver.go Modify repository structure to allow use of go install 9 years ago

README.md

Build Status

docker-machine-driver-xenserver

This is the XenServer driver plugin for Docker Machine. It allows the orchestration of machines on Citrix XenServer 6.5SP1 and later.

Installation from binary

Please refer to the documentation for a release.

Installation from source

Following the installation of Golang and Docker Machine, you can install the docker-machine-xenserver-driver:

go get github.com/xenserver/docker-machine-driver-xenserver

Usage

The usual Docker Machine commands apply:

docker-machine create -d xenserver --xenserver-server myip --xenserver-username myusername --xenserver-password mypassword mynewmmachine
docker-machine env mynewmmachine

CLI Options:

  • --xenserver-vcpu-count: vCPU number for docker VM.
  • --xenserver-memory-size: Size of memory for Docker VM (in MB).
  • --xenserver-boot2docker-url: URL for boot2docker ISO image.
  • --xenserver-server: required for create XenServer hostname/IP for docker VM.
  • --xenserver-disk-size: Size of disk for Docker VM (in MB).
  • --xenserver-username: required XenServer Username.
  • --xenserver-password: required XenServer Password.
  • --xenserver-network-label: Network label where the docker VM will be attached
  • --xenserver-sr-label: SR label where the docker VM will be attached.
  • --xenserver-host-label: Host label where the docker VM will be run.
  • --xenserver-upload-timeout: Timeout uploading VDI.
  • --xenserver-wait-timeout: Timeout wating for VM start.

Environment variables and default values:

CLI option Environment variable Default
--xenserver-vcpu-count XENSERVER_VCPU_COUNT 1
--xenserver-memory-size XENSERVER_MEMORY_SIZE 2048
--xenserver-disk-size XENSERVER_DISK_SIZE 5120
--xenserver-boot2docker-url XENSERVER_BOOT2DOCKER_URL boot2docker URL
--xenserver-server XENSERVER_SERVER -
--xenserver-host-label XENSERVER_HOST_LABEL -
--xenserver-username XENSERVER_USERNAME -
--xenserver-password XENSERVER_PASSWORD -
--xenserver-network-label XENSERVER_NETWORK_LABEL -
--xenserver-sr-label XENSERVER_SR_LABEL -
--xenserver-upload-timeout XENSERVER_UPLOAD_TIMEOUT 300
--xenserver-wait-timeout XENSERVER_WAIT_TIMEOUT 1800