jueves, 23 de diciembre de 2010

RELOAD bp.conf en Veritas Netbackup

#bprdreq -rereadconfig

Problema backup Oracle - status 25 y 58 -LINUX

Este es un error que sucede en los linux cuando se van a lanzar hilos de oracle. Uno o dos hilos terminan unos con status 58 y otros con status 25

Se debe cambiar el parametro: de 10 a UNLIMITED por eso el de 10 aparece comentado
# per_source = 10
per_source = UNLIMITED

Y despues reiniciar el xinetd
#/etc/init.d/xinetd restart

lunes, 20 de diciembre de 2010

STOP y START PBX - NBU

#bpps -x
NB Processes
------------


MM Processes
------------


Shared Symantec Processes
-------------------------
root 14141 1 0 13:48 ? 00:00:00 /opt/VRTSpbx/bin/pbx_exchange

#/opt/VRTSpbx/bin/vxpbx_exchanged stop
#/opt/VRTSpbx/bin/vxpbx_exchanged start

martes, 14 de diciembre de 2010

Forzar Media Server ACTIVE

# nbemmcmd -updatehost -machinename bogbesg10-bk -machinestateop set_tape_active -machinetype media -masterserver bkserv01

Con esto se corrige el problema de ACTIVE-DISK. Ademas se debieron haber incluido las licencias de Library y SSO.

viernes, 10 de diciembre de 2010

Status 13 - NBU

El status 13 se debe a que cuando se esta ejecutando el backup algun archivo por bloqueo o que no es accesible no permite ser respaldado aunque exista la ruta. Por tal motivo debe ser excluido del backup. Esto se realiza haciendo uso de la lista de exclusion, Exclude_list, dentro del cliente. Esto es explicado en otra entrada de mi blog.

Excluir file system del backup - NBU

Se accede por ssh al cliente Unix y se crea el siguiente archivo:

/usr/openv/netbackup/exclude_list

Dentro del archivo colocamos los archivos que no querramos respaldar cuando se este ejecutando el backup.

lunes, 6 de diciembre de 2010

Ver Duplex de las NIC y como cambiarlas

LINUX
#mii-tool //Con esto se ve el tipo de Duplex
#mii-tool -F 100baseTx-FD eth0 //Con esto se configura el Full Duplex para eth0

o

# ethtool eth0


HP-UX
#netstat -rn //Con esto miramos las interfaces que estan configuradas
... lan3
#lanadmin -x 3 //Por se la lan 3 tiene como indice el 3 por lo tanto asi miramos los parametros de esta interfaz.
Current Config = 100 Half-Duplex AUTONEG

o

#lanadmin -x ppa
#lanadmin -x nmid

o

Con esto veo todas las interfaces de red.
# nwmgr --get

Con esto veo el status de alguna de las interfaces de red ilustradas en el anterior comando.
# nwmgr -q info -c lan3
lan3:
Interface State =UP
MAC Address = 0x00306EEAA5A2
Subsystem = btlan
Interface Type = 100Base-TX
Hardware Path = 0/5/1/0
NMID = 4
Feature Capabilities = Physical Interface
Feature Settings = Physical Interface
MTU = 1500
Speed = 100 Mbps Half Duplex (Autonegotiation : On)
#lanadmin -X 100fd 3 //Con esto se cambia la configuracion de la interfaz de red lan3 a 100 Full-Duplex

SOLARIS
Para checkear el Duplex:
#ndd /dev/hme link_mode Cuando retorna un valor 0 = half duplex, y 1 = full duplex. Para forzar a modo full duplex:
ndd -sec /dev/hme adv_100fdx_capndd -set /dev/hme adv_autoneg_cap 0
Para forzar a modo half duplex:
ndd -sec /dev/hme adv_100hdx_capndd -set /dev/hme adv_autoneg_cap 0

Ver Configuracion de RED - HP-UX

# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Colllan2 1500 192.168.49.0 zxcvbnm1 890529567 0 2366045846 0 0 lo0 4136 loopback localhost 126109 0 126109 0 0 # lanscanHardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPIPath Address In# State NamePPA ID Type Support Mjr#0/1/2/0 0x00306EF4542C 0 UP lan0 snap0 1 ETHER Yes 1190/5/1/0/6/0 0x00306E4C5E40 2 UP lan2 snap2 2 ETHER Yes 119 So PPA of lan2 really is 2 (almost always the case)0/5/2/0/6/0 0x00306E4C8E5B 3 UP lan3 snap3 3 ETHER Yes 1190/2/1/0 0x00306EEAB301 1 UP lan1 snap1 4 ETHER Yes 1190/6/1/0 0x00306EEAD39B 4 UP lan4 snap4 5 ETHER Yes 119

# ioscan -fC lanClass
I H/W Path Driver S/W State H/W Type Description========================================================================lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI 1000Base-T Adapterlan 1 0/2/1/0 btlan CLAIMED INTERFACE HP A5230A/B5509BA PCI 10/100Base-TX Addonlan 2 0/5/1/0/6/0 igelan CLAIMED INTERFACE HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapterlan 3 0/5/2/0/6/0 igelan CLAIMED INTERFACE HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapterlan 4 0/6/1/0 btlan CLAIMED INTERFACE HP A5230A/B5509BA PCI 10/100Base-TX Addon

# lanadmin
LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0 Tue , Apr 5,2005 10:18:07 Copyright 1994 Hewlett Packard Company. All rights are reserved.Test Selection mode. lan = LAN Interface Administration menu = Display this menu quit = Terminate the Administration terse = Do not display command menu verbose = Display command menuEnter command: lanLAN Interface test mode. LAN Interface PPA Number = 0 clear = Clear statistics registers display = Display LAN Interface status and statistics registers end = End LAN Interface Administration, return to Test Selection menu = Display this menu ppa = PPA Number of the LAN Interface quit = Terminate the Administration, return to shell reset = Reset LAN Interface to execute its selftest specific = Go to Driver specific menuEnter command: ppaEnter PPA Number. Currently 0: 2 From lan2 aboveLAN Interface test mode. LAN Interface PPA Number = 2 clear = Clear statistics registers display = Display LAN Interface status and statistics registers end = End LAN Interface Administration, return to Test Selection menu = Display this menu ppa = PPA Number of the LAN Interface quit = Terminate the Administration, return to shell reset = Reset LAN Interface to execute its selftest specific = Go to Driver specific menuEnter command: display LAN INTERFACE STATUS DISPLAY Tue , Apr 5,2005 10:18:25PPA Number = 2Description = lan2 HP PCI-X 1000Base-SX Release B.11.11.11Type (value) = ethernet-csmacd(6)MTU Size = 1500Speed = 1000000000Station Address = 0x306e4c5e40Administration Status (value) = up(1)Operation Status (value) = up(1)Last Change = 369050172Inbound Octets = 671979624Inbound Unicast Packets = 725393819Inbound Non-Unicast Packets = 15786530Inbound Discards = 40Inbound Errors = 0Inbound Unknown Protocols = 313244Outbound Octets = 190507938Outbound Unicast Packets = 2208637279Outbound Non-Unicast Packets = 203891Outbound Discards = 0Outbound Errors = 0Outbound Queue Length = 1Specific = 655367Press to continueEthernet-like Statistics GroupIndex = 2Alignment Errors = 0FCS Errors = 0Single Collision Frames = 0Multiple Collision Frames = 0Deferred Transmissions = 0Late Collisions = 0Excessive Collisions = 0Internal MAC Transmit Errors = 0Carrier Sense Errors = 0Frames Too Long = 0Internal MAC Receive Errors = 0LAN Interface test mode. LAN Interface PPA Number = 2 clear = Clear statistics registers display = Display LAN Interface status and statistics registers end = End LAN Interface Administration, return to Test Selection menu = Display this menu ppa = PPA Number of the LAN Interface quit = Terminate the Administration, return to shell reset = Reset LAN Interface to execute its selftest specific = Go to Driver specific menuEnter command: quit#