proxmox
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proxmox [2013/06/13 12:10] – jose | proxmox [2015/07/27 09:10] (current) – jose | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| {{proxmox_template3.png| Template}} | {{proxmox_template3.png| Template}} | ||
| + | |||
| + | ===== Descargar manualmente ===== | ||
| + | Los templates de containers se guardan en: / | ||
| + | Por ejemplo en: / | ||
| + | |||
| + | Des de esta URL podemos descargarlos y copiarlos ahí: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | http:// | ||
| + | |||
| + | |||
| ====== Sistema ====== | ====== Sistema ====== | ||
| Line 21: | Line 33: | ||
| ====== Comandos ====== | ====== Comandos ====== | ||
| + | Listar los contenedores arrancados | ||
| + | < | ||
| + | root@proxmoxescorxador:/ | ||
| + | CTID NPROC STATUS | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Listar todos los contenedores: | ||
| + | < | ||
| + | root@proxmoxescorxador:/ | ||
| + | CTID NPROC STATUS | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| Arrancar contenedor: | Arrancar contenedor: | ||
| # vzctl start 103 | # vzctl start 103 | ||
| Line 59: | Line 97: | ||
| up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.139.67.97 dev eth1 | up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.139.67.97 dev eth1 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ====== Ubicació màquines ====== | ||
| + | root@proxmoxescorxador:/ | ||
| + | |||
| + | ====== NFS ====== | ||
| + | Hay que habilitar el NFS al contenedor: | ||
| + | # vzctl set 102 --features " | ||
| + | | ||
| + | ====== Cambiar hora ====== | ||
| + | ln -s / | ||
| + | | ||
| + | ====== Debian 64 bits ====== | ||
| + | Hay un bug con el template de debian 64 bits que desistala upstart para instalar initctl al hacer dist-upgrade, | ||
| + | .init: timeout opening/ | ||
| + | hay que marcar el paquete así: | ||
| + | echo upstart hold | dpkg --set-selections | ||
| + | | ||
| + | ====== KVM ====== | ||
| + | |||
| + | |||
| + | root@proxmoxescorxador: | ||
| + | |||
| + | VMID NAME | ||
| + | 106 mik1escp.matarosensefils.net running | ||
| + | 108 voip2escp.matarosensefils.net stopped | ||
| + | 109 voip3escp.matarosensefils.net stopped | ||
| + | |||
| + | root@proxmoxescorxador: | ||
| + | | ||
| + | ====== Montar recursos ====== | ||
| + | Directorio configuración y recursos montados: | ||
| + | / | ||
| + | |||
| + | Ejemplo: | ||
| + | 102.mount | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | if [ ! -e / | ||
| + | mount -n -t simfs /mnt/sdc / | ||
| + | |||
| + | if [ ! -e / | ||
| + | mount -n -t simfs /mnt/sdd / | ||
| + | |||
| + | if [ ! -e / | ||
| + | mount -n -t simfs /mnt/sdd2 / | ||
| + | </ | ||
| + | |||
| + | |||
proxmox.1371125429.txt.gz · Last modified: (external edit)
