close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
Mar 23, 2009, 1:19:47 PM (18 years ago)
- Author:
-
irina
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v2
|
v3
|
|
| 7 | 7 | al arrancar el equipo el sistema lo reconoce automáticamente. Se crean los archivos... (falta) |
| 8 | 8 | |
| 9 | | == Creando y Restaurando imaágenes == |
| | 9 | == Creando y Restaurando imágenes == |
| 10 | 10 | |
| 11 | 11 | Desde el cliente arrancamos con la página de inicio por defecto. Nos pide usuario y clave para entrar en la consola normal de linux. |
| … |
… |
|
| 24 | 24 | Al crear la imagen también crea el fichero de información para la transferencia en multicast y torrent |
| 25 | 25 | |
| 26 | | Restaurando imágenes. |
| | 26 | === Restaurando imágenes. === |
| 27 | 27 | |
| | 28 | {{{ |
| 28 | 29 | RestorePartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| | 30 | }}} |
| 29 | 31 | |
| 30 | 32 | El modo de transfrencia lo determina por la extensión del la variable str_PathImagen: .mcast o .torrent |
| 31 | 33 | |
| 32 | | DeployPartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| 33 | | El cliente solicita un UpdateCache, y luego un RestoreImageFromPartition |
| 34 | | |
| 35 | | |
| 36 | 34 | Para restaurar desde la cache usamos la misma función salvo que ponemos como ip del servidor la propia del equipo. |
| 37 | 35 | |
| 38 | | RestorePartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| | 36 | {{{ |
| | 37 | DeployPartitionFromImage int_disk int_part str_IPrepository str_PathReporitory str_PathImagen |
| | 38 | }}} |
| 39 | 39 | |
| | 40 | El cliente solicita un UpdateCache, y luego un RestoreImageFromPartition |
| 40 | 41 | |
| | 42 | == Trabajando con la Cache. == |
| 41 | 43 | |
| 42 | | |
| 43 | | |
| 44 | | |
| 45 | | |
| 46 | | RestorePartitionFromPartition |
| 47 | | |
| 48 | | Trabajando con la Cache: |
| 49 | | |
| 50 | | Creando la cache: |
| | 44 | === Creando la cache. === |
| 51 | 45 | |
| 52 | 46 | Con el comando de creación de particiones incluimos una cuyo tipo sea cache |
| 53 | 47 | |
| | 48 | {{{ |
| 54 | 49 | CreatePartitions int_disk [int_part:intMB:str_TypeFS] |
| | 50 | }}} |
| 55 | 51 | |
| 56 | 52 | ejemplo: CrearParticiones 1 1:15000:NTFS 2:15000:NTFS 3:15000:EXT3 4:150000:EXTENDED 5:1000:SWAP 6:148000:CACHE |
| … |
… |
|
| 58 | 54 | Se cambia la tabla de particiones y se formatean los sistemas de ficheros. |
| 59 | 55 | |
| 60 | | Incluyendo imágenes enla cache: |
| | 56 | === Incluyendo imágenes en la cache. === |
| 61 | 57 | |
| 62 | | UpdateCache 1str_PathRepositoryOrigen 2str_PahtImagen 3str_nameImage |
| | 58 | {{{ |
| | 59 | UpdateCache 1str_PathRepositoryOrigen 2str_PahtImagen 3str_nameImage |
| | 60 | }}} |
| 63 | 61 | |
| 64 | 62 | Comprueba si la imagen existe en la cache y si no es así se la baja. |
| … |
… |
|
| 66 | 64 | No comprueba si hay nuevas versiones de la cache. |
| 67 | 65 | |
| 68 | | Restaurando desde la Cache: |
| | 66 | === Restaurando desde la Cache. === |
| 69 | 67 | |
| 70 | 68 | Encontramos dos funciones. |