Вы находитесь на странице: 1из 12

Instalación de Clientes en

Netbackup

Procedimiento instalación de clientes Netbackup

Consideraciones previas

∙Agregar el equipo a la misma red del master server

·Probar comunicación con ping entre el equipo cliente y el master server

Se agrega en el archivo /etc/hosts de ambos equipos la línea referente al nombre del equipo a
conectarse con su dirección ip (ejemplo)

#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
130.1.1.98 masterserver masterserver.telcel.com loghost
10.209.33.98 masterserver-e1000g0
130.1.1.210 cliente

Establecer una relación de confianza entre el master server y el equipo cliente


(ejemplo)

Se accesa con el usuario root en el equipo cliente

root@cliente # 

root@cliente # cd .ssh
root@cliente # ls
authorized keys known_hosts

Si no existe el directorio .ssh se crea

root@cliente # pwd
/
root@cliente # mkdir .ssh

Se genera una llave publica

root@cliente # ssh-keygen -t rsa


Generating public/private rsa key pair.
Enter file in which to save the key (//.ssh/id_rsa):(enter)
Enter passphrase (empty for no passphrase):(enter)
Enter same passphrase again: (enter)
Your identification has been saved in //.ssh/id_rsa.
Your public key has been saved in //.ssh/id_rsa.pub.
The key fingerprint is:
75:e0:02:fa:b1:cf:93:91:c8:4b:02:f7:4a:f1:1f:99 root@cliente
Se revisa la creación de la llave

root@cliente # ls
authorized_keys id_rsa id_rsa.pub known_hosts 

root@cliente # more id_rsa.pub


ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEA6lIZxSK6eLHuapMlbuLtYM9lScy4CAI7voRMitYbbyZSJMbBFL+xoF+XGvES
aVthtjWNQx6wlzYtMdWPu6QkoN62b3
3AaEKeUIlD6Gl/cTi8CeP1x6N0Q6Kq6o9qaZWCvn2/pBHAWx9NOKoHxwM+kblOEHBTaZ5ct0USAWnGiJnAUu72fO
4sBnmuf6sJhxP/3QTVD0YWS1MRQ7oUinl/5tRg
ClJnhwXC37uLNz8AHTNX3MCbw8E7VbOjr1dDfcZF2KpzWTm5nUm4nnF1MzBoeJUXyNV6NEKKQMKI/r2aetJqwRQ/
q/dAjp4NWRUPT0Cax/gJz6ickfHu/VvP9r26HQ
== root@cliente

Se copia la llave generada al master server ejemplo

root@cliente # scp id_rsa.pub masterserver:/tmp


The authenticity of host 'porns3 (130.1.1.98)' can't be established.
RSA key fingerprint is c1:0c:ee:3b:b1:60:e5:be:bc:97:68:e6:53:f2:ec:13.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'porns3' (RSA) to the list of known hosts. Password:
(introducimos password de root)

id_rsa.pub 0% 0 0.0KB/s --:-- ETA


id_rsa.pub 100% 395 0.4KB/s 00:00

Entramos al master server como el usuario root y generamos la llave publica como en los pasos
anteriores

Si no existe el directorio .ssh se crea

root@cliente # pwd
/
root@cliente # mkdir .ssh

Se genera una llave publica

root@masterserver # cd .ssh
root@masterserver # ls
known_hosts

root@masterserver # ssh-keygen -t rsa


Generating public/private rsa key pair.
Enter file in which to save the key (//.ssh/id_rsa):(enter)
Enter passphrase (empty for no passphrase):(enter)
Enter same passphrase again:(enter)
Your identification has been saved in //.ssh/id_rsa.
Your public key has been saved in //.ssh/id_rsa.pub.
The key fingerprint is:
44:8b:8b:71:77:89:45:9d:88:d3:51:5e:1a:ed:f5:ac root@masterserver
root@masterserver # ls
id_rsa id_rsa.pub known_host

Se copia la llave generada al equipo cliente 

root@masterserver # scp id_rsa.pub cliente:/tmp

root@cliente's password:

id_rsa.pub 0% | | 0 --:-- ETA


id_rsa.pub 100%|****************************| 221 00:00
Se agrega el contenido de la llave copiada del cliente al archivo /.ssh/authorized_keys

root@masterserver # cat /tmp/id_rsa.pub >> /.ssh/authorized_keys

Conectarse al servidor cliente y realizar el mismo paso de agregar el contenido de la llave copiada del
masterserver al archivo /.ssh/authorized_keys

root@cliente # cat /tmp/id_rsa.pub >> /.ssh/authorized_keys


root@cliente # ssh root@masterserver
Last login: Wed Jun 17 17:17:03 2009 from asapfo03 Sun Microsystems Inc. SunOS 5.10
Generic January 2005
You have mail.

Una vez realizado todo este proceso y creado las llaves correctamente en ambos equipos, la relación de
confianza queda establecida y se puede probar accesando de la siguiente forma: 

root@cliente # ssh root@masterserver


Last login: Wed Jun 17 17:17:03 2009 from cliente Sun Microsystems Inc. SunOS 5.10
Generic January 2005
You have mail.
Sourcing //.profile-EIS.....

DISPLAY=cliente:0.0

root@masterserver #

De igual forma se hace la prueba accesando al equipo cliente desde el master server 

root@masterserver # ssh root@cliente


Last login: Wed Jun 17 17:17:03 2009 from masterserver Sun Microsystems Inc. SunOS
5.10 Generic January 2005
You have mail.
Sourcing //.profile-EIS.....

DISPLAY=cliente:0.0

root@cliente #
Creación de políticas de Netbackup
Iniciar netbackup

root@masterserver # jnbSA &

Después de teclear el usuario y contraseña inicia la consola de Administración de netbackup

Seleccionar la sección de políticas (policies) que se encuentra en el menú izquierdo

 
Esta opción nos muestra todas la políticas existentes (All Policies) 

 
En este menú damos click con el botón derecho del mouse y nos aparecerá la opción de agregar nueva
política

Nos pedirá el nombre de la política que se creara y activamos la casilla del asistente de configuración

 
Aparece la pantalla de presentación del asistente y damos siguiente para continuar con la creación y
configuración de la política

 
Continuando nos pide el nombre y tipo de política a crear (en este caso es Standard)

 
Enseguida nos muestra la pantalla para agregar el cliente a respaldar

 
Usaremos la opción Add para agregar el nombre del equipo cliente que se respaldara (este nombre
debe ser el mismo al que está identificado en el archivo /etc/hosts/) y especificar el sistema operativo
y arquitectura del cliente.
 
Damos click en OK y este cliente se verá agregado en la lista de clientes de la política 

 
En esta parte podemos agregar los archivos o directorios que se van a respaldar

 
En siguiente pantalla del asistente indicamos el tipo de respaldo que se realizara

 
Indicamos la frecuencia y retención del respaldo

Inidicamos el periodo de tiempo en el que el respaldo puede realizarse (ventana de tiempo)

 
Se puede dar por concluida la creación de la política

 
En la consola de administración de netbackup podremos ver agregada la politica

Instalación del software cliente


Una vez realizada la relación de confianza entre los equipos masterserver-cliente se continua con los
siguientes pasos:

Desde el servidor masterserver accesando como root se instala el cliente (ejemplo)

root@masterserver #
root@masterserver # cd /usr/openv/netbackup/bin
root@masterserver # ls
add_media_server bpdbm_parent cluster
nbproxy
add_media_server_on_clients bpdbsbora DBBACKUP_CALLED
nbpushdata
admincmd bpdm dbbackup_notify
nbrb
BACKUP_CALLED bpdynamicclient diskfull_notify
nbrmms
BACKUP_EXIT_CALLED bpfilter driver
nbsl
backup_exit_notify bpfis fsanalyze
nbstserv
backup_notify bphdb goodies
nbsvcmon
bmrbd bpinst initbpdbm
ndmpclient
bmrc bpjava-msvc initbprd
oracle_link
bmrconfig bpjava-susvc install_bmr
PARENT_END_CALLED
bmrd bpjava-usvc install_bmrboot
parent_end_notify
bmrepadm bpjobd install_bp
PARENT_START_CALLED
bmrovradm bpjobd.lock install_client_files
parent_start_notify
bmrpans bp.kill_all jbpSA
private
bmrprep bplist jnbSA
rc.bmrbd
bmrs bpmount libobk.so.1
rc.bmrd
bmrsavecfg bpnbat libobk.so64.1
RESTORE_CALLED
bmrsetupboot bporaexp merge_auth_templates
restore_notify
bmrsetupclient bporaexp64 mkfifo
SESSION_CALLED
bmrsetupmaster bporaimp mkisofs
session_notify
bmrsrtadm bporaimp64 mtfrd
SESSION_START_CALLED
bp bpps nbdbms_start_stop
session_start_notify
bpadm bprd nbemm
SPSRecoveryAsst
bparchive BPRD_CALLED nbevtmgr
support
bpbackup bprd_child nbfdrv64
sync.lock
bpbkar bprd.d nbfirescan
tar
bpbrm bprd.lock nbfs
update_clients
bpbrmds bprd_parent nbfsd
update_dbclients
bpcd bprestore nbftadm
update_luagent
bpclimagelist bpsched.d nbftclnt
update_services
bpclntcmd bp.start_all nbftsrvr
userreq_notify
bpclusterkill bpsynth nbgp
version
bpclusterutil bptm nbive
vxlogcfg
bpcompatd bptpcinfo nbjm
vxlogmgr
bpcompatd.lock bpubsora nbkms
vxlogview
bpdbm catbackup.lock nblu_registration
bpdbm_child cat_convert nbmtrans
bpdbm.lock cleanup.lock nbpem

root@masterserver # ./install_client_files ssh cliente


cliente ...
Client client -- Solaris hardware running Solaris9
Installing NetBackup software on cliente

extract_java 0% | | 0 --:-- ETA


extract_java 100% |******************| 8374 00:00

JRE.tar.Z 0% | | 0 --:-- ETA


JRE.tar.Z 18% |******* | 6296 KB 00:04 ETA
JRE.tar.Z 35% |******* | 12472 KB 00:03 ETA
JRE.tar.Z 53% |******* | 18720 KB 00:02 ETA
JRE.tar.Z 72% |******* | 25040 KB 00:01 ETA
JRE.tar.Z 90% |******* | 31344 KB 00:00 ETA
JRE.tar.Z 100% |******* | 34688 KB 00:05
NB-Java.tar.Z 0% |**** | 0 --:-- ETA
NB-Java.tar.Z 6% |**** | 6312 KB 00:13 ETA
NB-Java.tar.Z 13% |**** | 12592 KB 00:12 ETA
NB-Java.tar.Z 20% |****** | 18912 KB 00:11 ETA
NB-Java.tar.Z 26% |***** | 25224 KB 00:10 ETA
NB-Java.tar.Z 33% |******* | 31496 KB 00:09 ETA
NB-Java.tar.Z 40% |******* | 37784 KB 00:08 ETA
NB-Java.tar.Z 46% |******* | 44056 KB 00:07 ETA
NB-Java.tar.Z 53% |******* | 50232 KB 00:06 ETA
NB-Java.tar.Z 60% |******* | 56536 KB 00:05 ETA
NB-Java.tar.Z 66% |****** | 62816 KB 00:04 ETA
NB-Java.tar.Z 73% |****** | 69104 KB 00:03 ETA
NB-Java.tar.Z 80% |********* | 75384 KB 00:02 ETA
NB-Java.tar.Z 86% |*************** | 81672 KB 00:01 ETA
NB-Java.tar.Z 93% |******** | 87960 KB 00:00 ETA
NB-Java.tar.Z 100% |********* | 94126 KB 00:14

.
.

x ., 0 bytes, 0 tape blocks
x ./help, 0 bytes, 0 tape blocks
x ./help/bp, 0 bytes, 0 tape blocks
x ./help/bp/Archive, 5649 bytes, 12 tape blocks
x ./help/bp/Backup, 5573 bytes, 11 tape blocks
x ./help/bp/Backup_Btrack, 5143 bytes, 11 tape blocks
x ./help/bp/Backup_Db2, 5085 bytes, 10 tape blocks
x ./help/bp/Backup_Infmx, 5113 bytes, 10 tape blocks
x ./help/bp/Backup_Oracle, 5109 bytes, 10 tape blocks
x ./help/bp/Backup_Sap, 5084 bytes, 10 tape blocks
x ./help/bp/Backup_Sybase, 5100 bytes, 10 tape blocks
x ./help/bp/Help, 1383 bytes, 3 tape blocks
x ./help/bp/Index, 486 bytes, 1 tape blocks
x ./help/bp/MBackup, 1362 bytes, 3 tape blocks
x ./help/bp/MRestore, 3050 bytes, 6 tape blocks
x ./help/bp/Main, 1203 bytes, 3 tape blocks
x ./help/bp/Restore_Btrack, 5196 bytes, 11 tape blocks
x ./help/bp/Restore_Db2, 5111 bytes, 10 tape blocks
x ./help/bp/Restore_Infmx, 5143 bytes, 11 tape blocks
x ./help/bp/Restore_Oracle, 5139 bytes, 11 tape blocks
x ./help/bp/Restore_Sap, 5114 bytes, 10 tape blocks
x ./help/bp/Restore_Sybase, 5139 bytes, 11 tape blocks
x ./help/bp/Restore_arch, 8795 bytes, 18 tape blocks
x ./help/bp/Restore_backup, 8908 bytes, 18 tape blocks
x ./help/bp/Restore_raw, 8500 bytes, 17 tape blocks
x ./help/bp/Restore_tir, 8952 bytes, 18 tape blocks
x ./help/bp/Tutorial, 15844 bytes, 31 tape blocks
x ./bp_servers, 33 bytes, 1 tape blocks
x ./bprd_service, 22 bytes, 1 tape blocks
x ./bpcd_service, 22 bytes, 1 tape blocks
x ./vnetd_service, 24 bytes, 1 tape blocks
x ./vopied_service, 26 bytes, 1 tape blocks
x ./bpjava_service, 36 bytes, 1 tape blocks
x ./bpcd_inetd.cnf, 63 bytes, 1 tape blocks
x ./vopied_inetd.cnf, 59 bytes, 1 tape blocks
x ./bpjava_inetd.cnf, 95 bytes, 1 tape blocks
x ./vnetd_inetd.cnf, 56 bytes, 1 tape blocks
x ./bp_client_name, 23 bytes, 1 tape blocks
x openv, 0 bytes, 0 tape blocks
x openv/lib, 0 bytes, 0 tape blocks
x openv/lib/libvxSigScheduleJNI2.so, 1696264 bytes, 3314 tape blocks
x openv/lib/libVmangle.so, 20384 bytes, 40 tape blocks
x openv/lib/libVnbatST.so_new, 263168 bytes, 514 tape blocks
x openv/lib/libVnbat.so, 728484 bytes, 1423 tape blocks
x openv/lib/libVnbatST64.so_new, 17840 bytes, 35 tape blocks
x openv/lib/libVnbat64.so, 17848 bytes, 35 tape blocks
x openv/lib/libnbmangleMT.so, 1614724 bytes, 3154 tape blocks
x openv/lib/libVcvcomb.so, 791264 bytes, 1546 tape blocks
x openv/lib/libVcvcombMT.so, 811324 bytes, 1585 tape blocks
x openv/lib/libVxSS_helper.so_new, 848540 bytes, 1658 tape blocks
x openv/lib/libVxSS_helperMT.so, 1292668 bytes, 2525 tape blocks
x openv/lib/libVcvcomb_noul.so, 750224 bytes, 1466 tape blocks
x openv/lib/libVcvcomb64.so, 907840 bytes, 1774 tape blocks
x openv/lib/libVcvcombMT64.so, 914904 bytes, 1787 tape blocks
x openv/lib/libVxSS_helper64.so_new, 663216 bytes, 1296 tape blocks
x openv/lib/libVxSS_helperMT64.so, 668624 bytes, 1306 tape blocks
x openv/lib/libVcvcomb64_noul.so, 906568 bytes, 1771 tape blocks
x openv/lib/libvnoauth.so_new, 124352 bytes, 243 tape blocks
.
.

Installing NB-Java.

Copying /etc/init.d/nbclient to /etc/init.d/nbclient.06-17-09.17:23:32


for future reference. Any local modifications to
/etc/init.d/nbclient should be re-evaluated.

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/rc2.d/S95nbclient
/etc/rc0.d/K01nbclient
/etc/rc1.d/K01nbclient

LiveUpdate is not installed, skipping registration step...

Client install complete.


cliente install complete
 

Validar comunicacion
Para validar que el cliente tenga comunicación con veritas netbackup damos click en la opción Host
Properties en el menú izquierdo de la consola de administración de netbackup y vemos el apartado de
clientes donde nos debe de mostrar nuestro cliente agregado

Вам также может понравиться