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#

martes, 26 de octubre de 2010

Pruebas FAILOVER IPMP

root@server1 # ifconfig -a
nxge9: flags=9140843 mtu 1500 index 5
inet 172.28.248.181 netmask fffffc00 broadcast 172.28.251.255
groupname ipmp1
ether 0:21:28:76:76:13
nxge11: flags=9140843 mtu 1500 index 3
inet 172.28.248.180 netmask fffffc00 broadcast 172.28.251.255
groupname ipmp1
ether 0:21:28:76:76:15
nxge11:1: flags=1100843 mtu 1500 index 3
inet 172.28.248.179 netmask fffffc00 broadcast 172.28.251.255

###############

root@server1 # if_mpadm -d nxge11 //Hago que la interfaz 11 falle.

###############

root@server1 # ifconfig -a
nxge9: flags=9140843 mtu 1500 index 5
inet 172.28.248.181 netmask fffffc00 broadcast 172.28.251.255
groupname ipmp1
ether 0:21:28:76:76:13
nxge9:1: flags=1100843 mtu 1500 index 5
inet 172.28.248.179 netmask fffffc00 broadcast 172.28.251.255
nxge11: flags=89140842 mtu 1500 index 3
inet 172.28.248.180 netmask fffffc00 broadcast 172.28.251.255
groupname ipmp1
ether 0:21:28:76:76:15

###############

root@server1 # if_mpadm -r nxge11 //Devuelvo los cambios hechos y queda activa nuevamente la 11.

###############

root@server1 # ifconfig -a

root@server1 # ifconfig -a
nxge9: flags=9140843 mtu 1500 index 5
inet 172.28.248.181 netmask fffffc00 broadcast 172.28.251.255
groupname ipmp1
ether 0:21:28:76:76:13
nxge11: flags=9140843 mtu 1500 index 3
inet 172.28.248.180 netmask fffffc00 broadcast 172.28.251.255
groupname ipmp1
ether 0:21:28:76:76:15
nxge11:1: flags=1100843 mtu 1500 index 3
inet 172.28.248.179 netmask fffffc00 broadcast 172.28.251.255

viernes, 17 de septiembre de 2010

Configurando SNMP en Solaris 10

En la maquina Bksrv01:

Editamos el archivo
#vi /etc/sma/snmp/snmpd.conf

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
# arguments: community [default|hostname|network/bits] [oid]

rocommunity G35T10N_DCO8 172.28.255.127
rocommunity G35T10N_D4T4C3NT3R 172.28.255.127
rocommunity G35T10N_DCO8 172.28.255.113
rocommunity G35T10N_D4T4C3NT3R 172.28.255.113
rocommunity public 127.0.0.1
#rocommunity public
rocommunity G3ST10N_D4T4C3NT3R 172.28.255.127

Verificamos el servicio:

root@masterserver # /etc/init.d/init.sma status
STATE STIME FMRI
online 10:03:20 svc:/application/management/sma:default

Bajamos el servicio:

root@masterserver # /etc/init.d/init.sma stop
STATE STIME FMRI
disable 10:03:20 svc:/application/management/sma:default

Subimos el servicio:
root@masterserver # /etc/init.d/init.sma start
STATE STIME FMRI
online 10:03:20 svc:/application/management/sma:default

Problemas Memory Oracle en Solaris x86

Displaying and Modifying Resource Control Settings on Solaris 10

On Solaris 10, use the following procedure to display the current value specified for resource controls, and to change them if necessary:

  1. To display the current values of the resource control, enter the following commands:

    $ id -p // to verify the project id uid=100(oracle) gid=100(dba) projid=1 (group.dba) $ prctl -n project.max-shm-memory -i project group.dba $ prctl -n project.max-sem-ids -i project group.dba 
  2. If you must change any of the current values, then:

    1. To modify the value of max-shm-memory to 6 GB:

      # prctl -n project.max-shm-memory -v 6gb -r -i project group.dba 
    2. To modify the value of max-sem-ids to 256:

      # prctl -n project.max-sem-ids -v 256 -r -i project group.dba 

martes, 14 de septiembre de 2010

Configurar IPMP Solaris 10

1) Configurar el archivo /etc/hosts en el nombre de las dos interfaces e1000g0 y e1000g1

172.28.1.49 sg-invmanu-ccol01vi //Esta es la ip virtual que pinponeara
172.28.1.50 sg-invmanu-ccol01-e1000g0 //ip para la interfaz e1000g0
172.28.1.51 sg-invmanu-ccol01-e1000g1 //ip para la interfaz e1000g1

2) Se deben configurar las ip's en las dos targetas de red que seran utilizadas para ipmp:

#ifconfig e1000g0 172.28.1.50 netmask 255.255.255.0 up
#ifconfig e1000g1 172.28.1.51 netmask 255.255.255.0 up

3) Incluir las dos interfaces de red en el grupo de ipmp que deseo:

# ifconfig e1000g0 group ipmp0
# ifconfig e1000g1 group ipmp0

4) Editar los siguientes archivos con la siguiente informacion:
#vi /etc/hostname.e1000g0
sg-invmanu-ccol01-e1000g0 deprecated -failover netmask + broadcast + group ipmp0 up \
addif sg-invmanu-ccol01vi netmask + broadcast + up

#vi /etc/hostname.e1000g1
sg-invmanu-ccol01-e1000g1 deprecated -failover netmask + broadcast + group ipmp0 up

5) Aplicar la configuracion encontrada en los archivos a las dos interfaces:
#ifconfig e1000g0 sg-invmanu-ccol01-e1000g0 deprecated -failover netmask + broadcast + group ipmp0 up addif sg-invmanu-ccol01vi netmask + broadcast + up

#ifconfig e1000g1 sg-invmanu-ccol01-e1000g1 deprecated -failover netmask + broadcast + group service0 up

6) Validar que las interfaces e1000g0 y e1000g1 se encuentren con la configuracion identificada en los archivos y que la interfaz virtual tambien se encuentre arriba:

e1000g0: flags=9040843 mtu 1500 index 3
inet 172.28.1.50 netmask ffffff00 broadcast 172.28.1.255
groupname ipmp0
ether 0:17:8:7d:67:9c
e1000g0:1: flags=1000843 mtu 1500 index 3
inet 172.28.1.49 netmask ffffff00 broadcast 172.28.1.255
e1000g1: flags=9040843 mtu 1500 index 4
inet 172.28.1.51 netmask ffffff00 broadcast 172.28.1.255
groupname ipmp0
ether 0:17:8:7d:67:9d

jueves, 19 de agosto de 2010

Robtest - SL500 - NBU

root@masterserver # nbpemreq -suspend_scheduling
root@masterserver # robtest
Configured robots with local control supporting test utilities:
TLD(0) robotic path = /dev/sg/c0tw500104f00094e619l0

Robot Selection
---------------
1) TLD 0
2) none/quit
Enter choice: 1

Robot selected: TLD(0) robotic path = /dev/sg/c0tw500104f00094e619l0

Invoking robotic test utility:
/usr/openv/volmgr/bin/tldtest -rn 0 -r /dev/sg/c0tw500104f00094e619l0

Opening /dev/sg/c0tw500104f00094e619l0
MODE_SENSE complete
Enter tld commands (? returns help information)
?

To exit the utility, type q or Q.

init - Initialize element status
initrange [#]- Init element status range
allow - Allow media removal
prevent - Prevent media removal
extend - Extend media access port
retract - Retract media access port
mode - Mode sense
m - Move medium
pos - Position to drive or slot
s [d|p|t|s [n]] [raw] - Read element status
inquiry - Display vendor and product ID
rezero - Rezero unit
inport - Ready inport (media access port)
debug - Toggle debug mode for this utility
test_ready - Send a TEST UNIT READY to the device

specifies drive (d#), slot (s#), media access port (p#),
or transport (t#)
is drive #, slot #, media access port #, or transport #
[#] is number of elements for d, s, p, or t
NOTE - drive # is 1 - Number of drives
slot # is 1 - Number of slots
media access port # is 1 - Number of media access port elements
transport # is 1 - Number of transports
= (d)rive, (s)lot, media access (p)ort, or (t)ransport

unload - Issue SCSI unload
= d1 or 1, d2 or 2, d3 or 3 ... d648 or 648

multipath [enable|disable] - turn multipathing on/off
multipath [auto|manual] - turn auto path discovery on/off
multipath [addpath|removepath] [path] - for manual mode, add/remove path
multipath [showpaths] - show currently configured paths for auto or manual mode

s s
slot 1 (addr 1000) contains Cartridge = yes
Barcode = SUN005
slot 2 (addr 1001) contains Cartridge = yes
Barcode = T00223
slot 3 (addr 1002) contains Cartridge = yes
Barcode = T00198
slot 4 (addr 1003) contains Cartridge = yes
Barcode = SUN091
slot 5 (addr 1004) contains Cartridge = yes
Barcode = SUN021
slot 6 (addr 1005) contains Cartridge = no
slot 7 (addr 1006) contains Cartridge = yes
Barcode = SUN063
slot 8 (addr 1007) contains Cartridge = yes
Barcode = T00118
slot 9 (addr 1008) contains Cartridge = yes
Barcode = T00199
slot 10 (addr 1009) contains Cartridge = yes
Barcode = SUN205
slot 11 (addr 1010) contains Cartridge = yes
Barcode = SUN156
<<>>
q
READ_ELEMENT_STATUS complete

m s1 s6
Initiating MOVE_MEDIUM from address 1000 to 1005
MOVE_MEDIUM complete

Invalid command
m s6 d3
Initiating MOVE_MEDIUM from address 1005 to 502
MOVE_MEDIUM complete

Invalid command
m s11 s6
Initiating MOVE_MEDIUM from address 1010 to 1005
MOVE_MEDIUM complete

Invalid command
m s6 s11
Initiating MOVE_MEDIUM from address 1005 to 1010
MOVE_MEDIUM complete
m d3 s6
Initiating MOVE_MEDIUM from address 502 to 1005
MOVE_MEDIUM complete

Invalid command
m s6 s1
Initiating MOVE_MEDIUM from address 1005 to 1000
MOVE_MEDIUM complete

miércoles, 4 de agosto de 2010

tar y dd remoto

TAR:
tar cvf - /opt/ | ssh root@10.13.3.43 "cat > /bk_oracle/BACKUP_UNIX/tivolidatos02/opt.tar"

DD:
dd if=/dev/dsk/c0d0t0s0/ | ssh root@host_destino "of=/BACKUP_DESTINO/root.iso"

domingo, 13 de junio de 2010

Instalacion Cliente NBU - Linux

1. Se copia el iso NBU65_DVD1.iso a la maquina cliente.
2. Se monta
3. Se edita el archivo host incluyendo el nombre de backup y ip para el cliente y ademas el nombre y ip del master
4. Ejecutar el script "install".
5. Durante la instalacion solicitara informacion hacerca del cliente y del master. Suministrar la incluida en el archivo host.
6. Subir el servicio del xinetd "/etc/init.d/xinetd start"
7. Comprobar desde el master la version del cliente instalado sobre la maquina mediante el uso del comando.

miércoles, 9 de junio de 2010

Problemas boot-archive solaris

Este problema se debe a que el archivo boot-archive utilizado para que la maquina suba se encuentra corrupto, por algun apagon. El siguiente es el link de donde se extrajo la informacion, y los comandos a aplicar.

http://flux.org.uk/howto/solaris/fix_boot_archive

svcadm clear system/boot-archive
bootadm update-archive
shutdown -i 6

martes, 9 de marzo de 2010

Mapeando y montando Volumen en Red-Hat kernel mpp

En esta entrada se explicara la manera en que se debe mostrar un volumen a una maquina HP con sistema operativo RedHat 4.6 y con kernel de multipath (MPP).

1) Mapeamos el volumen desde el storage



Aqui detallamos el wwn del volumen publicado y el tamaño del volumen (20GB). Estos datos seran de mucha utilidad en el momento de identificar el nuevo volumen.

2) Despues de que el proceso de formacion del volumen sobre el storage haya terminado, nos dirigimos a la maquina cliente.
Alli no lograremos ver nada ya que la maquina aun no ha escaneado sus HBA en busca de nuevos dispositivos publicados.

Aplicamos el comando fdisk para ver los dispositivos de disco que reconoce el sistema operativo:
[root@server3 ~]# fdisk -l

Instalacion rdesktop - Solaris 10

En esta entrada indicaremos como se debe hacer la instalacion de la herramienta rdesktop. Esta aplicacion es util para acceder a escritorios remotos sobre sistemas operativos Windows de Microsoft.

1) Ingresar a www.sunfreeware.com y buscar la aplicacion.



2) Despues de ingresar al link de rdesktop resaltado en rojo. Nos mostrara el paquete y sus dependencias. Debemos garantizar que las librerias solicitas se encuentren disponibles.



NOTA: ES NECESARIO TENER INSTALADO "libiconv" , "openssl-0.9.8l" , "libgcc-3.4.6" o "gcc-3.4.6"

DESCARGAMOS LOS PAQUETES DE LOS LINKS INDICADOS:
libgcc-3.4.6-sol10-sparc-local.gz
libiconv-1.13.1-sol10-sparc-local.gz
openssl-0.9.8l-sol10-sparc-local.gz
rdesktop-1.5.0-sol10-sparc-local.gz

Instalamos los paquetes en ese orden asi:

#gzip -d libgcc-3.4.6-sol10-sparc-local.gz
#gzip -d libiconv-1.13.1-sol10-sparc-local.gz
#gzip -d openssl-0.9.8l-sol10-sparc-local.gz
#gzip -d rdesktop-1.5.0-sol10-sparc-local.gz

Estos archivos despues de descomprimirlos quedan asi:
file libgcc-3.4.6-sol10-sparc-local package datastream
file libiconv-1.13.1-sol10-sparc-local package datastream
file openssl-0.9.8l-sol10-sparc-local package datastream
file rdesktop-1.5.0-sol10-sparc-local package datastream

Ahora procedemos con la instalacion de los paquetes estando dentro de /usr/local:

#pkgadd -d libgcc-3.4.6-sol10-sparc-local
#pkgadd -d libiconv-1.13.1-sol10-sparc-local
#pkgadd -d openssl-0.9.8l-sol10-sparc-local
#pkgadd -d rdesktop-1.5.0-sol10-sparc-local

Despues de hacer la instalacion de estos paquetes validamos que se encuentren instalados:
root@masterserver # pkginfo | grep -i libgcc
application SMClgcc346 libgcc
root@masterserver # pkginfo | grep -i libiconv
application SMCliconv libiconv
root@masterserver # pkginfo | grep -i openssl
application SMCossl openssl
root@masterserver # pkginfo | grep -i rdesktop
application SMCrdesk rdesktop

3) Listo. Ahora probamos el rdesktop tratando de ingresar a una maquina windows:
#rdesktop -f CT1APMICSENA011-bck

jueves, 4 de marzo de 2010

explorer - Explorer Data Collector

Para ejecutar el explorer hay que ejecutar el siguiente script:
root@masterserver # /opt/SUNWexplo/bin/explorer

martes, 2 de marzo de 2010

Instalacion Remota - Cliente NBU - Linux

1) Tengo que tener la maquina registrada en el catalogo. Para esto creo una politica de backup en donde se realice backup a esta maquina.

2) Corro el comando de instalacion por ssh.
root@masterserver # /usr/openv/netbackup/bin/install_client_files ssh maquina-cliente-bck
maquina-cliente-bck ...
Client maquina-cliente-bck -- Linux hardware running RedHat2.6
Installing NetBackup software on nagios1-sena-bck
The authenticity of host 'maquina-cliente-bck (172.20.45.57)' can't be established.
RSA key fingerprint is 61:99:70:0c:c7:77:6d:9a:e8:54:74:f1:2f:97:24:d4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'maquina-cliente-bck' (RSA) to the list of known hosts.
root@maquina-cliente-bck's password:
root@maquina-cliente-bck's password:
extract_java 100% |*********************************************************************************************************| 8372 00:00
JRE.tar.Z 100% |*********************************************************************************************************| 30611 KB 00:01
NB-Java.tar.Z 100% |*********************************************************************************************************| 94126 KB 00:03
JAVAnbj.conf.nagios1 100% |*********************************************************************************************************| 592 00:00
move_libs 100% |*********************************************************************************************************| 2970 00:00
version 100% |*********************************************************************************************************| 26 00:00
tar 100% |*********************************************************************************************************| 305 KB 00:00
.sizes 100% |*********************************************************************************************************| 14 00:00
client_config 100% |*********************************************************************************************************| 52205 00:00
nagios1-sena-bck_bin 100% |*********************************************************************************************************| 159 KB 00:00
client_bin.tar.Z 100% |*********************************************************************************************************| 46709 KB 00:01
root@nagios1-sena-bck's password:
Blocksize = 318 records
./
./help/
./help/bp/
./help/bp/Archive
./help/bp/Backup
./help/bp/Backup_Btrack
./help/bp/Backup_Db2
./help/bp/Backup_Infmx
./help/bp/Backup_Oracle
./help/bp/Backup_Sap
./help/bp/Backup_Sybase
./help/bp/Help
./help/bp/Index
./help/bp/MBackup
./help/bp/MRestore
./help/bp/Main
./help/bp/Restore_Btrack
./help/bp/Restore_Db2
./help/bp/Restore_Infmx
./help/bp/Restore_Oracle
./help/bp/Restore_Sap
./help/bp/Restore_Sybase
./help/bp/Restore_arch
./help/bp/Restore_backup
./help/bp/Restore_raw
./help/bp/Restore_tir
./help/bp/Tutorial
./bp_servers
./bprd_service
./bpcd_service
./vnetd_service
./vopied_service
./bpjava_service
./bpcd_inetd.cnf
./vopied_inetd.cnf
./bpjava_inetd.cnf
./vnetd_inetd.cnf
./bp_client_name
openv/
openv/lib/
openv/lib/libvxSigScheduleJNI2.so
openv/lib/libnbservice.so
openv/lib/libVmangle.so
openv/lib/libVnbatST.so_new
openv/lib/libVnbat.so
openv/lib/libVnbatST64.so_new
openv/lib/libVnbat64.so
openv/lib/libnbmangleMT.so
openv/lib/libVcvcomb.so
openv/lib/libVcvcombMT.so
openv/lib/libVxSS_helper.so_new
openv/lib/libVxSS_helperMT.so
openv/lib/libVcvcomb_noul.so
openv/lib/libVcvcomb64.so
openv/lib/libVcvcombMT64.so
openv/lib/libVxSS_helper64.so_new
openv/lib/libVxSS_helperMT64.so
openv/lib/libVcvcomb64_noul.so
openv/lib/libvnoauth.so_new
openv/lib/libvnoauth64.so_new
openv/lib/libvopie.so_new
openv/lib/libvopie64.so_new
openv/lib/libcatbackup.so
openv/lib/libcatbackupMT.so
openv/lib/libxm.so
openv/lib/libnborb.so
openv/lib/libnborbST.so
openv/lib/libubs.so
openv/lib/libdbsb.so
openv/lib/libvxACE.so.3
openv/lib/libvxxml4c.so
openv/lib/libvxxml4cST.so
openv/lib/libvxicui18n.so
openv/lib/libvxicuuc.so
openv/lib/map/
openv/lib/map/libdisk.so
openv/lib/map/libemcpower.so
openv/lib/map/librawp.so
openv/lib/map/libgfsp.so
openv/lib/libvxustdio.so
openv/lib/libvxicudata.so
openv/lib/libvxACEST.so.3_new
openv/lib/libvxicui18nST.so_new
openv/lib/libvxicudataST.so_new
openv/lib/libvxicuucST.so_new
openv/lib/libvxustdioST.so_new
openv/lib/libvxexticu.so.1
openv/lib/libvxlis.so.1
openv/lib/libvxul.so.1
openv/lib/libvxexticuST.so.1_new
openv/lib/libvxlisST.so.1_new
openv/lib/libvxulST.so.1_new
openv/lib/libmap.so
openv/lib/libvfutil.so
openv/lib/libvxsslST.so
openv/lib/libvxcryptoST.so
openv/lib/libvxcrypto.so
openv/lib/libvxssl.so
openv/lib/libvxPBX.so
openv/lib/libvxPBXCommon.so
openv/lib/libvxPBXIOP.so
openv/lib/libvxPBXVxSS.so
openv/lib/libvxVxSSIOP.so
openv/lib/libvxACEXML.so.3
openv/lib/libvxACEXML_Parser.so.3
openv/lib/libvxTAO.so.3
openv/lib/libvxTAO_BiDirGIOP.so.3
openv/lib/libvxTAO_CosNaming.so.3
openv/lib/libvxTAO_CosNotification.so.3
openv/lib/libvxTAO_DynamicAny.so.3
openv/lib/libvxTAO_ETCL.so.3
openv/lib/libxbsa.so
openv/lib/vxfi/
openv/lib/vxfi/data/
openv/lib/vxfi/data/vfiid_schema.xsd
openv/lib/vxfi/providers/
openv/lib/vxfi/providers/libdevicefi.so
openv/lib/vxfi/providers/libemcclariionfi.so
openv/lib/vxfi/providers/libemcsymfi.so
openv/lib/vxfi/providers/libhpevafi.so
openv/lib/vxfi/providers/libibmtsfi.so
openv/lib/vxfi/providers/libvxfsfi.so
openv/lib/vxfi/providers/libvxvmfi.so
openv/lib/vxfi/providers/libgfspfi.so
openv/lib/vxfi/providers/liblnxlvm2fi.so
openv/lib/vxfi/providers/libnetappfi.so
openv/lib/vxfi/providers/librawprtfi.so
openv/lib/vxfi/providers/libdevicefiST.so
openv/lib/vxfi/providers/libemcclariionfiST.so
openv/lib/vxfi/providers/libemcsymfiST.so
openv/lib/vxfi/providers/libhpevafiST.so
openv/lib/vxfi/providers/libibmtsfiST.so
openv/lib/vxfi/providers/libvxfsfiST.so
openv/lib/vxfi/providers/libvxvmfiST.so
openv/lib/vxfi/providers/libgfspfiST.so
openv/lib/vxfi/providers/liblnxlvm2fiST.so
openv/lib/vxfi/providers/libnetappfiST.so
openv/lib/vxfi/providers/librawprtfiST.so
openv/lib/libxbsaMT.so
openv/lib/libvxTAO_IORTable.so.3
openv/lib/libvxTAO_Messaging.so.3
openv/lib/libvxTAO_PortableServer.so.3
openv/lib/libvxTAO_Security.so.3
openv/lib/libvxTAO_Svc_Utils.so.3
openv/lib/libxbsa64.so
openv/lib/libxbsaMT64.so
openv/lib/libnbbeclass.so
openv/lib/libnbbe_util.so
openv/lib/libnbbestdutl.so
openv/lib/libnbbedscomn.so
openv/lib/libdmpclaim.so
openv/lib/libfi.so
openv/lib/libficmn_4_4.so
openv/lib/libfipdk_4_4.so
openv/lib/libfiprocessbackups.so
openv/lib/libfiutil.so
openv/lib/libscsitool.so
openv/lib/libdmpclaimST.so
openv/lib/libfiST.so
openv/lib/libficmn_4_4ST.so
openv/lib/libfipdk_4_4ST.so
openv/lib/libfiprocessbackupsST.so
openv/lib/libfiutilST.so
openv/lib/libscsitoolST.so
openv/lib/libnbmangle.so_new
openv/lib/libsprtool.so
openv/lib/libsprtoolST.so
openv/lib/libncf.so
openv/lib/libtfi.so
openv/lib/libnbservercom.so
openv/netbackup/
openv/netbackup/bin/
openv/netbackup/bin/bpbkar
openv/netbackup/bin/bpcd_new
openv/netbackup/bin/bpdynamicclient
openv/netbackup/bin/bpfilter
openv/netbackup/bin/bpbackup
openv/netbackup/bin/bprestore
openv/netbackup/bin/bplist
openv/netbackup/bin/bpclimagelist
openv/netbackup/bin/bpclntcmd
openv/netbackup/bin/bphdb
openv/netbackup/bin/bpmount
openv/netbackup/bin/bpfis
openv/netbackup/bin/bptpcinfo
openv/netbackup/bin/nbfs
openv/netbackup/bin/SPSRecoveryAsst
openv/netbackup/bin/nblu_registration
openv/netbackup/bin/merge_auth_templates
openv/netbackup/bin/bpjava-msvc
openv/netbackup/bin/bpjava-usvc
openv/netbackup/bin/bp
openv/netbackup/bin/mtfrd
openv/netbackup/bin/bpnbat
openv/netbackup/bin/bmrc
openv/netbackup/bin/bmrsavecfg
openv/netbackup/bin/bmrsetupclient
openv/netbackup/bin/vxlogcfg
openv/netbackup/bin/vxlogmgr
openv/netbackup/bin/vxlogview
openv/netbackup/bin/ndmpclient
openv/netbackup/bin/goodies/
openv/netbackup/bin/goodies/nbclient
openv/netbackup/bin/goodies/support/
openv/netbackup/bin/goodies/support/versioninfo
openv/netbackup/bin/bpps
openv/netbackup/bin/bp.kill_all
openv/netbackup/bin/bp.start_all
openv/netbackup/bin/nbftclnt
openv/netbackup/bin/private/
openv/netbackup/bin/private/nblogcfg
openv/netbackup/bin/private/nbloggen
openv/netbackup/bin/private/nblogmgr
openv/netbackup/bin/private/nblogview
openv/netbackup/bin/support/
openv/netbackup/bin/support/nbsu
openv/netbackup/bin/nbfirescan
openv/netbackup/bin/nbive
openv/netbackup/nblog.conf.template
openv/bin/
openv/bin/vauth_testd
openv/bin/vauth_util
openv/bin/vauth_test
openv/bin/vnetd_new
openv/bin/vopie_util
openv/bin/vopied
openv/var/
openv/var/auth/
openv/var/auth/template.methods.txt
openv/var/auth/template.methods_allow.txt
openv/var/auth/template.methods_deny.txt
openv/var/auth/template.names_allow.txt
openv/var/auth/template.names_deny.txt
openv/var/vnetd/
openv/var/vnetd/inetd_bpcd.txt
openv/var/vnetd/inetd_bpjava-msvc.txt
openv/var/vnetd/inetd_vopied.txt
openv/msg/
openv/msg/.conf
openv/resources/
openv/resources/vxul_root.res
openv/resources/SPSV2RecoveryAsst_root.res
openv/resources/aggs_root.res
openv/resources/bmrc_root.res
openv/resources/bmrcommon_root.res
openv/resources/bmrd_root.res
openv/resources/bmrlaunch_root.res
openv/resources/bmrmedia_root.res
openv/resources/bmrpkg_root.res
openv/resources/bmrrestore_root.res
openv/resources/bmrsavecfg_root.res
openv/resources/bmrsetup_root.res
openv/resources/bmrsrt_root.res
openv/resources/ftservices_root.res
openv/resources/libraries_root.res
openv/resources/libdevicefi_root.res
openv/resources/libemcclariionfi_root.res
openv/resources/libemcsymfi_root.res
openv/resources/libfi_root.res
openv/resources/libhpevafi_root.res
openv/resources/libibmtsfi_root.res
openv/resources/libvxfsfi_root.res
openv/resources/libvxvmfi_root.res
openv/resources/libgfspfi_root.res
openv/resources/liblnxlvm2fi_root.res
openv/resources/libnetappfi_root.res
openv/resources/librawprtfi_root.res
openv/resources/nbecmsg_root.res
Reloading xinetd configuration
Recargando configuración: [ OK ]
Installing NB-Java.

The following automatic startup and shutdown scripts (respectively)
have been installed. They will cause the NetBackup client daemons
to be automatically shut down and restarted each time the system boots.

/etc/rc.d/rc2.d/S95nbclient
/etc/rc.d/rc3.d/S95nbclient
/etc/rc.d/rc5.d/S95nbclient
/etc/rc.d/rc0.d/K01nbclient
/etc/rc.d/rc1.d/K01nbclient
/etc/rc.d/rc6.d/K01nbclient


LiveUpdate is not installed, skipping registration step...


Client install complete.
nagios1-sena-bck install complete

viernes, 19 de febrero de 2010

Suspender schedule automatico Veritas Netbackup

Desactivar schedule automatico:
#nbpemreq -suspend_scheduling

Activar schedule automatico:
#nbpemreq -resume_scheduling

miércoles, 27 de enero de 2010

Expandir Zpool - Staging01

1) Actualmente en la maquina se encuentra el siguiente zpool:
root@masterserver # zpool status staging01
pool: staging01
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
staging01 ONLINE 0 0 0
c5t203400A0B829E548d1 ONLINE 0 0 0

//errors: No known data errors

root@masterserver # zfs list
NAME USED AVAIL REFER MOUNTPOINT
staging01 393G 95.7G 28.5K /staging01
staging01/disk01 172G 95.7G 172G /staging01/disk01
staging01/disk02 219G 95.7G 219G /staging01/disk02
staging01/disk03 1.82G 95.7G 1.82G /staging01/disk03

Este es actualmente de 500GB

2) Para expandirlo debemos de dejar el nuevo dispositivo libre con una sola particion:
root@masterserver # format
Searching for disks...done

c5t203400A0B829E548d0: configured with capacity of 499.98GB


AVAILABLE DISK SELECTIONS:
0. c0t0d0
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
1. c5t203400A0B829E548d0
/pci@1f,700000/pci@0,2/SUNW,qlc@1/fp@0,0/ssd@w203400a0b829e548,0
2. c5t203400A0B829E548d1
/pci@1f,700000/pci@0,2/SUNW,qlc@1/fp@0,0/ssd@w203400a0b829e548,1
Specify disk (enter its number): 1
selecting c5t203400A0B829E548d0
[disk formatted]
Disk not labeled. Label it now? y


FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
quit
format> p


PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
! - execute , then return
quit
partition> p
Current partition table (default):
Total disk cylinders available: 63998 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 15 128.00MB (16/0/0) 262144
1 swap wu 16 - 31 128.00MB (16/0/0) 262144
2 backup wu 0 - 63997 499.98GB (63998/0/0) 1048543232
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 32 - 63997 499.73GB (63966/0/0) 1048018944
7 unassigned wm 0 0 (0/0/0) 0

partition> q

### COMO NOS DAMOS CUENTA EN EL NUEVO VOLUMEN VEMOS QUE HAY UNA PARTICION 0, 1, Y 6. VAMOS A LIMPIARLAS Y A DEJAR SOLAMENTE LA 2 "Backup":



FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
quit
format> disk

AVAILABLE DISK SELECTIONS:
0. c0t0d0
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
1. c5t203400A0B829E548d0
/pci@1f,700000/pci@0,2/SUNW,qlc@1/fp@0,0/ssd@w203400a0b829e548,0
2. c5t203400A0B829E548d1
/pci@1f,700000/pci@0,2/SUNW,qlc@1/fp@0,0/ssd@w203400a0b829e548,1
Specify disk (enter its number)[2]: 1
selecting c5t203400A0B829E548d0
[disk formatted]
format> p


PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
! - execute , then return
quit
partition> p
Current partition table (default):
Total disk cylinders available: 63998 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 15 128.00MB (16/0/0) 262144
1 swap wu 16 - 31 128.00MB (16/0/0) 262144
2 backup wu 0 - 63997 499.98GB (63998/0/0) 1048543232
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 32 - 63997 499.73GB (63966/0/0) 1048018944
7 unassigned wm 0 0 (0/0/0) 0

partition> 6
Part Tag Flag Cylinders Size Blocks
6 usr wm 32 - 63997 499.73GB (63966/0/0) 1048018944

Enter partition id tag[usr]:
Enter partition permission flags[wm]:
Enter new starting cyl[32]:
Enter partition size[1048018944b, 63966c, 63997e, 511728.00mb, 499.73gb]: 0
partition> 0
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 15 128.00MB (16/0/0) 262144

Enter partition id tag[root]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]:
Enter partition size[262144b, 16c, 15e, 128.00mb, 0.12gb]: 0
partition> 1
Part Tag Flag Cylinders Size Blocks
1 swap wu 16 - 31 128.00MB (16/0/0) 262144

Enter partition id tag[swap]:
Enter partition permission flags[wu]:
Enter new starting cyl[16]:
Enter partition size[262144b, 16c, 31e, 128.00mb, 0.12gb]: 0
partition> p
Current partition table (unnamed):
Total disk cylinders available: 63998 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wu 0 0 (0/0/0) 0
2 backup wu 0 - 63997 499.98GB (63998/0/0) 1048543232
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0

### GUARDAMOS LOS CAMBIOS Y SALIMOS:

partition> label
Ready to label disk, continue? y

partition> q


FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
quit
format> q


3) Ahora ya que dejamos libre el nuevo volumen vamos a adicionarlo en el zpool "staging01", el nuevo volumen tiene por wwn c5t203400A0B829E548d0: Como el nombre del zpool es staging01, le decimos que a ese zpool vamos a adicionarle el dispositivo anteriormente mensionado:

root@bksrv01 # zpool add staging01 c5t203400A0B829E548d0

# VALIDAMOS QUE EL DISPOSITIVO APARESCA EN EL ZPOOL:

root@masterserver # zpool status staging01
pool: staging01
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
staging01 ONLINE 0 0 0
c5t203400A0B829E548d1 ONLINE 0 0 0
c5t203400A0B829E548d0 ONLINE 0 0 0

errors: No known data errors

## VERIFICAMOS QUE REALMENTE SE VEA LA ESPACION A NIVEL DEL STAGING:

root@masterserver # df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 17G 8.9G 7.5G 55% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 907M 1.5M 906M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
17G 8.9G 7.5G 55% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
17G 8.9G 7.5G 55% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c0t0d0s3 9.8G 2.5G 7.2G 26% /var
swap 906M 104K 906M 1% /tmp
swap 906M 48K 906M 1% /var/run
/dev/dsk/c0t0d0s4 39G 36G 3.1G 93% /opt
staging01 977G 28K 584G 1% /staging01
staging01/disk01 977G 172G 584G 23% /staging01/disk01
staging01/disk02 977G 219G 584G 28% /staging01/disk02
staging01/disk03 977G 1.8G 584G 1% /staging01/disk03

miércoles, 6 de enero de 2010

Error instalando NB 6.5 sobre RedHat 4 x86

Cuando se esta realizando la instalacion del cliente de veritas netbackup sobre una maquina RedHat 4 (Kernel 2.6) presenta problemas ya que la maquina instala todos los paquetes + binarios pero no instala los demonios de veritas sobre el xinetd. Cuando sucede esto hay que copiar estos archivos (vopied,vnetd,bpjava-msvc,bpcd) de otra maquina asi sea de 64bits y pegarlos en /etc/xinetd.d/, y despues se reinicia el servicio /etc/inet.d/xinedt restart. Ademas hay que crear el archivo de configuracion de NB sobre el cliente. Para esto creamos el siguiente archivo:

#vi /usr/openv/netbackup/bp.conf
SERVER = bksrv01
CLIENT_NAME = omega-bck

OJO: Ademas de agregar estos dos hostname sobre el archivo hosts del cliente.

Alli ya se puede lanzar el JnbSA. Y listo.


NOTA: Cuando una instalacion se un cliente sobre linux o solaris funciona bien, el mismo debe mostrar la version del sistema operativo sobre el cual se esta instalando, si muestra un menu para que el admin escoja la version de sistema operativo este tendra el error que aqui se explica.