En videos anteriores vimos el desempacado del Servidor Dell, como agregarle la placa de red, la placa de fibra y ahora veremos como agregar memoria RAM. En videos posteriores veremos como conectarnos al servidor por Bluetooth, como configurar iDrac y como instalar y configurar un VMware ESXi 6.7, agregarlo en una farm de servidores ya existentes reemplazando por otro.
Mostrando entradas con la etiqueta Storage. Mostrar todas las entradas
Mostrando entradas con la etiqueta Storage. Mostrar todas las entradas
lunes, 10 de septiembre de 2018
05 - Colocando Memoria RAM en Servidor EMC Dell PowerEdge R740
En videos anteriores vimos el desempacado del Servidor Dell, como agregarle la placa de red, la placa de fibra y ahora veremos como agregar memoria RAM. En videos posteriores veremos como conectarnos al servidor por Bluetooth, como configurar iDrac y como instalar y configurar un VMware ESXi 6.7, agregarlo en una farm de servidores ya existentes reemplazando por otro.
Etiquetas:
Administrador,
Del R740,
Dell,
Dell EMC,
Dell PowerEdge,
EMC,
ESX,
Hardware,
Servers,
Servidores Dell,
Storage,
Unboxing,
upgrade,
youtube
jueves, 15 de marzo de 2018
Monitorear si una maquina virtual tiene snapshots en VMware ESXi
Este script corre con el usuario nagios, el ESXServer lo cambian por el hostname de su ESX ó por la ip del mismo, Storage-01 es el nombre del datastore del vmware en mis servidores.
Va a llegar una alarma de nagios en caso que exista alguna virtual con al menos un snapshot en cualquier máquina virtual.
Script: /usr/local/apps/nagios/libexec/check_VM_snapshots
# Autor Hernan Tirado# blog: redes-seguridad.blogspot.com# Creado el: 15-03-2018## Uso: /usr/local/apps/nagios/libexec/check_VM_snapshotsCANT_SNAP=`ssh root@ESXserver-x ls -latR /vmfs/volumes/Storage-01/|grep -i snap |awk '{ print $6" "$7" "$9}'|sort|uniq|wc -l`if [ $CANT_SNAP = 0 ];thenecho "OK - Virtuales SIN Snapshots en Storage-01."exit 0elseecho "CRITICAL - Virtuales con Snapshots en Storage-01: $CANT_SNAP"ssh root@ESXserver -x ls -latR /vmfs/volumes/Storage-01/|grep -i snap |awk '{ print $6" "$7" "$9}'|sort|uniqexit 2fifiTener en cuenta que tiene que tener habilitado el SSH en el server ESXi y también copiar la key de nagios en el autorized_key del server ESX.
Etiquetas:
CLI,
codigo,
Comandos,
consola,
Debian,
Desarrolladores,
ESX,
Linux,
Monitoreo,
nagios,
programación,
Scripts,
SSH,
Storage,
Virtualización,
VMware
miércoles, 13 de septiembre de 2017
Ver memoria instalada Storage IBM Storewize 3700
Como no encontré por ningún lado en la interfaz gráfica, les dejo el comando para ver la memoria instalada en cada canister del Storage.
Les dejo sólo el del canister 2, para el uno sólo deben reemplazar el 2 por el uno luego de la coma:
Les dejo sólo el del canister 2, para el uno sólo deben reemplazar el 2 por el uno luego de la coma:
IBM_Storwize:ARG1STO01:superuser>lsnodecanisterhw -delim , 2
id,2
name,node2
status,online
IO_group_id,0
IO_group_name,io_grp0
hardware,TB4
actual_different,no
actual_valid,yes
memory_configured,4
memory_actual,4
memory_valid,yes
cpu_count,1
cpu_socket,1
cpu_configured,2 core Intel(R) Celeron(R) CPU G530T @ 2.00GHz
cpu_actual,2 core Intel(R)
Celeron(R) CPU G530T @ 2.00GHz
cpu_valid,yes
adapter_count,5
adapter_location,0
adapter_configured,6Gb/s SAS adapter
adapter_actual,6Gb/s SAS adapter
adapter_valid,yes
adapter_location,0
adapter_configured,Midplane bus adapter
adapter_actual,Midplane bus adapter
adapter_valid,yes
adapter_location,0
adapter_configured,1Gb/s Ethernet adapter
adapter_actual,1Gb/s Ethernet adapter
adapter_valid,yes
adapter_location,0
adapter_configured,1Gb/s Ethernet adapter
adapter_actual,1Gb/s Ethernet adapter
adapter_valid,yes
adapter_location,1
adapter_configured,Four port 8Gb/s FC adapter
adapter_actual,Four port 8Gb/s FC adapter
adapter_valid,yes
ports_different,no
IBM_Storwize:ARG1STO01:superuser>
miércoles, 17 de septiembre de 2014
Buscar WWN (World Wide Name) de una placa de fibra en Windows 2008
Inicio -> ejecutar -> mmc -> Ok
File -> Add/Remove Snap-in...
Storage Explorer -> Add -> Ok
Desplegamos el signo + de -> Storage Explorer -> Servers -> Nombre del Servidor -> sobre la placa y del panel derecho vemos el valor de la propiedad "Port WWN":
jueves, 8 de mayo de 2014
miércoles, 25 de septiembre de 2013
Disk Storage IBM Storwize V3700 Monitoring with Nagios:
Descargué el plugin llamado check_ibm_v7000.sh de:
http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3157&cf_id=24
Probé primero que funcione desde el bash ejecutando, lo siguiente, donde -M es la ip del storage, -U user (debe existir en el storage) y -Q la consulta:
# /ruta/del/plugins/check_ibm_v7000.sh -M 192.168.0.100 -U nagios -Q lsdrive
Password:
En este caso me devolvió que tengo el disco 9 dañado en el storage:
CRITICAL: Disk OFFLINE
OK: Drive 0 is online
OK: Drive 1 is online
OK: Drive 2 is online
OK: Drive 3 is online
OK: Drive 4 is online
OK: Drive 5 is online
OK: Drive 6 is online
OK: Drive 7 is online
OK: Drive 8 is online
ATTENTION: Disk 9
status:
role: failed
type: sas_hdd
capacity: 558.4GB
enclosure:
slot: OK: Drive 10 is online
OK: Drive 11 is online
OK: Drive 12 is online
OK: Drive 13 is online
OK: Drive 14 is online
OK: Drive 15 is online
OK: Drive 16 is online
OK: Drive 17 is online
OK: Drive 18 is online
OK: Drive 19 is online
OK: Drive 20 is online
OK: Drive 21 is online
OK: Drive 22 is online
OK: Drive 23 is online
OK: Drive 24 is online
OK: Drive 25 is online
OK: Drive 26 is online
OK: Drive 27 is online
OK: Drive 28 is online
OK: Drive 29 is online
OK: Drive 30 is online
OK: Drive 31 is online
OK: Drive 32 is online
OK: Drive 33 is online
OK: Drive 34 is online
OK: Drive 35 is online
OK: Drive 36 is online
OK: Drive 37 is online
OK: Drive 38 is online
OK: Drive 39 is online
OK: Drive 40 is online
OK: Drive 41 is online
OK: Drive 42 is online
OK: Drive 43 is online
OK: Drive 44 is online
OK: Drive 45 is online
OK: Drive 46 is online
OK: Drive 47 is online
Nos logueamos al server donde tenemos instalado nagios con el usuario nagios y generamos las keys para que no nos pida password:
# su - nagios
$ cd /home/nagios/.ssh/
$ ssh-keygen
$ ls
id_rsa id_rsa.pub known_hosts
Copiamos la llave pública por winscp a nuestro equipo: id_rsa.pub para luego importarla al storage por web, vamos a usuarios:
Creamos un nuevo usuario en el grupo monitor:
Le asignamos un nombre, en mi caso nagios, que use autenticación local:
Importamos la llave pública generada en el server de monitoreo para el usuario nagios:
Quedándonos así:
Agregamos el host al nagios:
# vim /ruta/del/nagios/hosts.cfg
define host{
use linux-server
host_name STORAGE
alias STORAGE
address 192.168.0.100
}
Parametrizamos el comando:
# vim /ruta/del/nagios/commands.cfg
define command{
command_name check_storage
command_line $USER1$/check_ibm_v7000.sh -M $HOSTADDRESS$ -U $ARG1$ -Q $ARG2$
}
Configuramos el Servicio:
# vim /ruta/del/nagios/services.cfg
define service{
use generic-service
host_name STORAGE
service_description STORAGE_DISKs
check_command check_storage!nagios!lsdrive
}
Suscribirse a:
Entradas (Atom)