Documente Academic
Documente Profesional
Documente Cultură
Pgina 1 de 9
Consultando la columna Reserved. Si queremos reducir ese espacio podemos reducir el fractional reserve a 0 con: filer_netapp*> vol options <volumen> fractional_reserve 0 Podemos comprobar el espacio resultante nuevamente con: filer_netapp*> df -r Filesystem kbytes used avail reserved Mounted on
Hay que asegurarse de no tener snapshots habilitados cuando ponemos el fractional a 0. Pginas tiles:
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 2 de 9
REALLOCATION EN NETAPP
abril 2, 2010 a las 12:21 am | Escrito en Netapp | 1 comentario Optimiza la distribucin de los bloques/datos en el almacenamiento y por tanto mejora el rendimiento.
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 3 de 9
Tenemos tres tipos de escaneos de reallocation: Escaneos de reallocation en LUN, file o volumen: Lo utilizamos para garantizar que los datos estn en orden secuencial para mejorar las lecturas (y escrituras) de los datos. Cuando aadimos nuevos discos utilizamos este escaneo para distribuir los datos igualmente. Escaneos de reallocation a nivel de agregado: Lo utilizamos para optimizar la localizacin de los bloques fsicos en el agregado. Con esto incrementamos el espacio libre contiguo en el agregado. Escaneos de reallocation fsicos: Reorganiza los bloques fsicos en el agregado pero preserva la posicin de los bloques lgicos en el flexvol.
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 4 de 9
Redimensionar un FlexVol: 1.Check the available space of the containing aggregate by entering the following command: df -A aggr_name 2. If you want to determine the current size of the volume, enter one of the following commands: vol size vol_name df vol_name 3. Enter the following command to resize the volume: vol size vol_name [+|-] n{k|m|g|t} If you include the + or -, n{k|m|g|t} specifies how many kilobytes, megabytes, gigabytes or terabytes to increase or decrease the volume size. If you do not specify a unit, size is taken as bytes and rounded up to the nearest multiple of 4 KB. If you omit the + or -, the size of the volume is set to the size you specify, in kilobytes, megabytes, gigabytes, or terabytes. If you do not specify a unit, size is taken as bytes and rounded up to the nearest multiple of 4 KB. Note: If you attempt to decrease the size of a FlexVol volume to less than the amount of space thatit is currently using, the command fails. 4. You can verify the success of the resize operation by entering the following command: FlexVol volume operations | 161 vol size vol_name Traditional Vol: - Fuertemente acoplado al agregado - Slo puede haber uno por agregado - Si se quiere ampliar el tamao se tiene que hacer con discos completos - No se puede reducir el tamao - FlexCache: - Volumen en local cuyos datos provienen de un volumen remoto posiblemente de otro sistema de almacenamiento. Permite el acceso al volumen remoto sin necesidad de que el volumen local tenga todos los datos del mismo. - FlexClone: Es un clon de un volumen FlexVol. Necesita licencia. Creacin de un volumen FlexVol para ESX: 1.- Asignamos los discos mnimos para crear un agregado con RAID_DP (3 discos): Desde la controladora que queremos: # disk assign 0c.00.10 0c.00.11 0c.00.12 2.- Creamos el agregado aggr1 con RAID_DP y los discos asignados anteriormente:
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 5 de 9
# aggr create aggr1 -r 16 -d 0c.00.10 0c.00.11 0c.00.12 3.- Creamos un volumen FlexVol llamado <VOLUMEN> de 100GB en el agregado creado: # vol create <VOLUMEN> <AGREGADO> 100G 4.- Podemos extender el tamao del volumen otros 20 GB # vol size <VOLUMEN> +20g 5.- Eliminamos la programacin de Snapshots por defecto: # snap sched <VOLUMEN> 0 0 0 6.- Eliminamos la reserva de espacio para snapshots por defecto: # snap reserve <VOLUMEN> 0 7.- Activamos la opcin de aumento automtico del tamao del volumen: # vol autosize <VOLUMEN> on Podemos aadir un lmite de espacio (-m) y el tamao del incremento (-I): # vol autosize <VOLUMEN> [-m size] [-I size] on # vol autosize <VOLUMEN> -m 238123k -i 2g on 8.- Para ver los datos de aumento de tamao automtico del volumen usamos: # vol autosize <VOLUMEN> 9.- Establecemos que se empiecen a borrar snapshots cuando quede un 5% libre de espacio: # snap autodelete <VOLUMEN> commitment try trigger volume target_free_space 5 delete_order oldest_first 10.- Establecemos que se intente aumentar el tamao del volumen antes de borrar snapshots: # vol options <VOLUMEN> try_first volume_grow 11.- Activamos la opcin LUN Fractional Reserve. Es una poltica necesaria cuando se hacen Snapshots de Netapp sobre volmenes que contienen LUNs de VMware. Define la cantidad de espacio adicional reservado para garantizar las escrituras en las LUNs cuando el volumen llega al 100% de su capacidad. Para entornos de VMware donde se ha activado el autodimensionado del volumen y el autoborrado de snapshots Netapp recomienda fijar este valor a 0%. En otro caso dejar el valor por defecto (100%). # vol options <VOLUMEN> fractional_reserve 0 12.- Para ver los datos generales del volumen:
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 6 de 9
# vol status -v
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 7 de 9
-f forces the assignment of disks that have already been assigned ownership. -o owner_name specifies the host name of the storage system controller to which you want to reassign the disks in question. -s unowned modifies the ownership assignment of the disks in question back to Not Owned. -s sysid is the factory-assigned NVRAM number of the storage system controller to which you want to reassign the disks. It is displayed by using the sysconfig command. Ejemplo: The following command unassigns four disks from the storage system sh1: # disk assign 0b.30 0b.29 0b.28 0b.27 -s unowned -f Para desasignar un disco: 1.- # priv set advanced (Entramos en el modo de comandos privilegiados)
2.- # disk remove_ownership disk_name 3.- # priv set (Volvemos al modo de comandos normales) 4.- # disk show -v Los discos de paridad se utilizan para reconstruir discos que han fallado sobre los discos spare. Se pueden usar dos discos de paridad para aadir redundancia. If there is a data-disk or parity-disk failure in a RAID-DP group, Data ONTAP replaces the failed disk in the RAID group with a spare disk and uses the parity data to reconstruct the data of the failed disk on the replacement disk. If there is a double-disk failure, Data ONTAP replaces the failed disks in the RAID group with two spare disks and uses the double-parity data to reconstruct the data of the failed disks on the replacement disks. La diferencia entre RAID-DP y RAID4 es el nmero de discos de paridad y por tanto la tolerancia a fallos de cada uno. (Mejor en RAID-DP que permite el fallo de dos discos frente a uno del RAID4).
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 8 de 9
Histrico de estadsticas de uso de las LUNS > lun stats -o Estadsticas en tiempo real del sistema orientado a iSCSI con resumen al terminar > sysstat -s -i 1 Listar objetos que se pueden monitorizar: > stats list objects Listar instancias de los anteriores objetos que se pueden monitorizar: > stats list instances Listar instancias de un objeto determinado: > stats list instances disk Listar contadores de los objetos que se pueden monitorizar: > stats list counters Estadsticas discos en modo columna: > stats show -c disk:*:user_reads disk:*:user_writes disk:*:user_read_latency disk:*:user_write_latency Estadsticas de uso y nmero de transferencias en los discos. Se muestrea una vez durante cinco minutos: > stats show -n 1 -i 300 -c disk:*:disk_busy disk:*:total_transfers
http://ruddiger.wordpress.com/category/netapp/
26/07/2012
Pgina 9 de 9
s3(config-if)#int gi0/23 s3(config-if)#channel-protocol lacp s3(config-if)#channel-group 1 mode active Esto se repetir para cada puerto del switch.
BLOG DE WORDPRESS.COM. | TEMA: POOL POR BORJA FERNANDEZ. ENTRADAS Y COMENTARIOS: FEEDS. Seguir
http://ruddiger.wordpress.com/category/netapp/
26/07/2012