Instanciar uma Máquina Virtual com Acesso à Internet » History » Version 2

« Previous - Version 2/4 (diff) - Next » - Current version
Marco Gomes, 21 Mar 2012 14:57


Instanciar uma Máquina Virtual com Acesso à Internet

  • Para realizar esta atividade é necessário:
  • Criar uma partição lvm com a imagem da VM (ir ao repositorio de imagem):
  • lvcreate --name $IMG_NAME --size $SIZE osdc1
  • dd if=/path/to/image of=/dev/osdc1/$IMG_NAME
  • Criar o export iSCSI
  • Adicionar as seguintes linhas ao arquivo /etc/ietd.conf:
  • Target iqn.2012-02.br.unesp.ncc:$IMG_NAME.lun1
  • OutgoingUser
  • Lun 0 Path=/dev/osdc1/$IMG_NAME,Type=fileio
  • Alias $IMG_NAME
  • Submeter o arquivo vm.template para o open nebula com o seguinte comando:
  • onevm submit vm.template

Voltar

vm.template (286 Bytes) Marco Gomes, 21 Mar 2012 14:54

Also available in: PDF HTML TXT