Xen Server

XenServer 6 – VM AutoStart

1. Habilitando o ligamento automático (nível Pool)
xe pool-param-set uuid=[uuid-pool] other-config:auto_poweron=true

2. Habilitando o ligamento automático por máquina virtual VM
xe vm-param-set uuid=[uuid-pool] other-config:auto_poweron=true

Para localizar o UUID da VM execute:
xe vm-list
Localize a linha “uuid ( RO)” da sua VM

XenServer 6 – Comandos úteis

Listar discos das vms
xe vm-disk-list –multiple
Configurar pool para iniciar automaticamente
xe pool-param-set uuid=uuid_pool other-config:auto_poweron=true

Configurar para vm iniciar automaticamente
xe vm-param-set other-config:auto_poweron=true uuid=uuid_template

Remover configuração de VM (neste caso inicialização automática)
xe vm-param-remove param-key=auto_poweron param-name=other-config uuid=uuid_vm

Exlcuir um template
xe template-param-set other-config:default_template=false uuid=uuid_template
xe template-param-set is-a-template=false uuid=uuid_template
xe vm-destroy uuid=uuid_template

Shutdown / Start / Export VM
xe vm-shutdown vm=nome_vm
xe vm-start vm=nome_vm
xe vm-export vm=nome_vm filename=/Caminho_arquivo.xva

Resetar estado da vm
xe vm-reset-powerstate uuid=<vm>

Listar tarefas pendentes
xe task-list

Cancelar tarefa
xe task-cancel uuid=<tarefa>

Eliminar tarefas pendentes
  xe-toolstack restart







Comentários

Postagens mais visitadas