informatica:proxmox:escorxador
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:proxmox:escorxador [2013/01/31 07:55] – creado jose | informatica:proxmox:escorxador [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Crear Màquina | + | ====== |
| Crear dues interfícies de xarxa: | Crear dues interfícies de xarxa: | ||
| Line 17: | Line 17: | ||
| netmask 255.255.255.224 | netmask 255.255.255.224 | ||
| up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.139.67.97 | up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.139.67.97 | ||
| + | |||
| + | ====== Arrancar máquina ====== | ||
| + | |||
| + | ===== Listar las máquina ===== | ||
| + | |||
| + | # vzlist -a | ||
| + | |||
| + | CTID NPROC STATUS | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | ===== Arrancar una máquina ===== | ||
| + | # vzctl start 103 | ||
| + | |||
| + | < | ||
| + | Starting container ... | ||
| + | Container is mounted | ||
| + | Setting CPU units: 1000 | ||
| + | Setting CPUs: 1 | ||
| + | Setting devices | ||
| + | Configure veth devices: veth103.0 veth103.1 | ||
| + | Adding interface veth103.0 to bridge vmbr0 on CT0 for CT103 | ||
| + | Adding interface veth103.1 to bridge vmbr1 on CT0 for CT103 | ||
| + | Container start in progress... | ||
| + | </ | ||
| + | |||
| + | Conectarse a la máquina | ||
| + | # vzctl enter 103 | ||
| + | |||
| + | entered into CT 103 | ||
| + | | ||
| + | **Ficheros de configuración: | ||
| + | |||
| + | ===== Montar recurso ===== | ||
| + | Si tenemos un recurso montado en el host, por ejemplo **/ | ||
| + | |||
| + | / | ||
| + | |||
| + | #!/bin/bash | ||
| + | if [ ! -e / | ||
| + | mount -n -t simfs / | ||
informatica/proxmox/escorxador.1359618954.txt.gz · Last modified: (external edit)
