12.03.2014

updating my rhce


Cisco DCUCI

Ahora a certificar, nuevamente muchas gracias IBM !!


9.17.2014

ha with cisco vss

Hasta el momento no he dedicado el tiempo necesario para comprender con mas detalles la operación de vss entre 02 switches core 6500, sin embargo en la restauración (luego de la falla de 02 supervidoras que tuve en mi red) he tenido la oportunidad de tomar algunas notas gracias al soporte de Cisco.
En nuestro caso tenemos 02 supervisoras por switch con la siguiente topologia en cuanto a estados:
Active - Standby Hot - Standby Cold - RPR
Por lo que finalmente en nuestro caso tenemos la siguiente distribución
ACTIVE - SWITCH 1 SLOT 5
STANDBY - SWITCH 2 SLOT 6
RPR 1a. - SWITCH 1 SLOT 6
RPR 2a. - SWITCH 2 SLOT 5
La función de control-plane (decisiones y gestión inteligente del tráfico) se realiza en las supervisoras
La función de data-plane (data transferida) se realiza en los line cards (módulos ethernet)
Una importante interpretación (básica) es que el control plane "piensa" y los linecards "ejecutan"

Bueno en temas de diseño básico también se requiere que  los cableados  estén reflejados en ambos switches y es necesario configurar manualmente los puertos  (que se necesitan estén en ha) en ambos switches (según gráfico a nivel core o a nivel de diseño donde se tiene el vsl)

La URL oficial es:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/vss.html#wp1204229

8.04.2014

iscsi server on rhel6

00. El servicio iscsi opera en el TCP/3260 y UDP/680, datos necesarios para nuestro firewall. Por otro lado adicioné un segundo disco a mi servidor (gracias a VMware) por lo que ahora mis discos se muestran así:
[root@instructor ~]# fdisk -l
Disk /dev/sda: 15.0 GB, 15032385536 bytes
255 heads, 63 sectors/track, 1827 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005ee19

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          39      307200   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              39        1571    12307456   83  Linux
/dev/sda3            1571        1828     2064384   82  Linux swap / Solaris

Disk /dev/sdb: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Agregamos una partición con el filesystem ext4
[root@instructor ~]# fdisk  /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x9d5a4444.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1044, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-1044, default 1044): 1044

Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.

Finalmente asignar el filesystem correspondiente EXT4 a nuestro pedazo de disco.
[root@instructor ~]# mkfs.ext4  /dev/sdb1 
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
524288 inodes, 2096474 blocks
104823 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2147483648
64 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@instructor ~]# 

01. Instalamos el paquete scsi-target-utils
[root@instructor named]# yum install scsi*
En mi caso finalmente quedo instalado scsi-target-utils.x86_64 0:1.0.24-2.el6

02. Realizar las configuraciones en /etc/tgt/targets.conf, adicionar al final:

        backing-store  /dev/sdb1

Recuerde esa canción vmware, año mes dominio al revés.

03. Iniciar el servicio tgtd:
[root@instructor ~]# service  tgtd start
Starting SCSI target daemon:                               [  OK  ]
[root@instructor ~]# 

04. Verificar el servicio configurado
[root@instructor ~]# tgt-admin -s
Target 1: iqn.2014-04.rh.lab:instructor.target1
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00010000
            SCSI SN: beaf10
            Size: 0 MB, Block size: 1
            Online: Yes
            Removable media: No
            Prevent removal: No
            Readonly: No
            Backing store type: null
            Backing store path: None
            Backing store flags: 
        LUN: 1
            Type: disk
            SCSI ID: IET     00010001
            SCSI SN: beaf11
            Size: 8587 MB, Block size: 512
            Online: Yes
            Removable media: No
            Prevent removal: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/sdb1
            Backing store flags: 
    Account information:
    ACL information:
        ALL
[root@instructor ~]# 

04. Ahora nos ubicamos en la maquina cliente para solicitar el recurso iscsi el cual es proveído desde la máquina instructor.lab.rh; también será necesario instalar los paquetes iscsi* mediante yum install iscsi-initiator-utils

05. Este utilitario (iscsi-initiator-utils) nos instala la tool iscsiadm