NETBACKUP Process flow Created by William Jansen van

NETBACKUP Process flow Created by William Jansen van Nieuwenhuizen

Master Server Backup Policy Management Config Database File Database BPDBM BPRD NBPROXY NBPEM NBPROXY NBJM EMM Database NBEMM NBRB Netbackup Backup And Restore GUI Backup Plus––EMM Netbackup Policy Job Resource Request Database Manager Execution Broker Daemon Manager On Onthe master servers, that isthe defined nbpem Net. Backup nbjm request service asservice the daemon database EMMserver, EMM accepts uses responds server, nbproxy manager job requests nbemm the toto nbrb client program get manages from service the and administrative policy that nbpem accepts devices, manages list and resource media, from the requests bpdbm, and media requests configuration, storage creates for commands from the unitthe following: nbjm, error, configuration, policy-client such acquires and as file bplabel databases. physical and tasks, and performs determines tpreq. resources nbjm ■ Restores when Started acquires from resource nbemm, jobs By: job selection. are bprd resources and due (also manages to Replaces run, by from and logical nbrb, vmd starts as and resources. the due runs device jobs. the allocator. jobs once resources ■ Backups /usr/openv/netbackup/bin/initbpdbm are Started available. By: (scheduled Started when and. Net. Backup user-directed) starts. on UNIX) ■ Archives Started Stopped By: Started /usr/openv/netbackup/bin/nbemmm /usr/openv/netbackup/bin/bpdbm /usr/openv/netbackup/bin/nbrb /usr/openv/netbackup/bin/nbpem when Net. Backup starts. -terminate ■ List that command Stopped Debug -terminate Log: By: on is. On backed /usr/openv/netbackup/bin/nbjm UNIX the server, and up or by archived stopping /usr/openv/logs files the Net. Backup (UNIX) -terminate or Database ■ Manual Manager install_pathlogs Debug Log: service immediate On the on (Windows). server, Windows. backups /usr/openv/logs (started through (UNIX) theor Net. Backup administration Debug See install_pathlogs Unified “Unified Log: Logging bpdbm logging” interface (Windows). legacymanual log directory backupon option) the server. Started See “Unified By: Initiate logging” Request Daemon option on the Special Actions menu in bpadm (also the /usr/openv/netbackup/bin/initbprd command). Stopped By: Terminate Request Daemon option on the Special Actions menu in bpadm. Debug Log: bprd legacy log directory on the server. Shar Mem ed ory Disk Tape Client Disk Created by William Jansen van Nieuwenhuizen

Master Server Backup Policy Management Config Database File Database BPDBM BPRD NBPROXY NBPEM NBPROXY NBJM EMM Database NBEMM Backup Plus – Client Daemon Service On Windows clients, BPCDW 32. EXE is the executable file that starts the Net. Backup client daemon. Started By: When Windows starts if the daemon is in the Startup group. Otherwise, by double clicking on its icon. Stopped By: On Windows, you can stop it through the Services application in the Control Panel. Debug Log: BPCD legacy log directory on the client. NBRB Media Server NBRMMS Netbackup Backup And Restore GUI Netbackup Client. Manager Daemon Manager Process and Monitor service Backup Plus––Remote Backup Tape Media and. Device Restore Management Manager Startup Process Remote UNIX Manager clients, bpcd and is Monitor the Net. Backup Service (nbrmms) client is Manager theand conduit On master Media and device media management servers, the bptm processes Backup/Restore manages aredaemon both automatically disk andlets tape initiated during through which start EMM programs on remote and configures hosts (can storage be UNIX on media managesand backup Net. Backup the startup. restore. client and To Itdiscovers isstart bptm used these or when bpdm processes the process. storage manually, Itunit also type uses runclients isbp. start_all error either (UNIX) servers. other In servers). addition For to example, configuration the server management, canother connect nbrmms to UNIX status disk or bpup orfrom Media (Windows). the Manager. client ltid and automatically This from program bptm or manages starts bpdm to the determine daemons transfer of and the programs as clients provides without all. The access requiring toclient media /. rhosts server entries resources ondevice. the forremote monitoring host. and final images necessary. status between of backup daemons the or restore should and the be operations. storage running after initial startup. The event program notifications. isrobotic used nbjm startsasbpbrm and when bpbrm Started In the case By: of For each when backup daemons, or restore, such nbjm bpbrm tl 8 d and starts tlhd, anan the instance associated robot communicates Started By: Started with when thethat client. Net. Backup starts, orstorage by. Thereunit. of must bpbrm bptm also on on bethe configured server with for has thethe daemon appropriate storage to unit. run. are also additional (For ato /usr/openv/netbackup/bin/nbrmms description of the Net. Backup client daemon on PC clients, Stopped ways start By: Completion and stop daemons. of operation. see BPCDW 32. EXE(for Stopped By: bptm Stopped when windows) below. ) stops, or by Debug Log: bpbrm legacy log. Net. Backup directory on on theserver. Started By: inetd. /usr/openv/netbackup/bin/nbrmms -terminate Stopped Debug Log: By: On Completion the server, of/usr/openv/logs operation. (UNIX) or Debug Log: bpcd legacy install_pathlogs (Windows). log directory on both client and server. See “Unified logging” BPCD BPTM BPBRM Shar Mem ed ory Disk LTID Tape Client Disk Created by William Jansen van Nieuwenhuizen

Master Server Backup Client Backup Policy Management Config Database File Database BPDBM BPRD NBPROXY NBPEM NBPROXY Netbackup Backup And Restore GUI INET Daemon Client Backup/Archive Daemon Manager Backup Plus – Filesystem Snapshot Provider Often UNIX called clients, clients a super-server, the bpcd Backup/Archive is the inetd listens Manager client on designated daemon generates and ports the letsused On clients, bpfis creates and. Net. Backup deletes snapshots. Note that bpfis is by internet services Net. Backup backup images. such start as FTP, programs POP 3, on and remote telnet. hosts When (can a TCP be UNIX packetclients or UDP packet part of the Snapshot Client add-on product. arrives or otherwith servers). bpbrm a particular For onexample, the destination serverthe with server port thenumber, storage can connect unit. inetdtolaunches UNIX the Started By: bpbrm. appropriate clients without requiring program /. rhosts to handle entries theonconnection. the remote. For host. services that are Stopped By: server Completion of operation. not expected The program bpbkar is toused run legacy with when high log nbjm directory loads, starts this on method the and client. uses when memory bpbrm more Debug Log: bpfis legacy log directory onbpbrm the client or alternate efficiently, sincewith communicates the specific client. servers run only when needed. Furthermore, no client. Backup, Archive or as inetd hooks network. By: Started code inetd. is required in the application-specific daemons, Restore from GUI the sockets Stopped By: directly Completion to stdin, of operation. stdout and stderr of the spawned process. Debug Log: bpcd legacy log directory on both client and server. NBJM EMM Database Backup Plus – Client Daemon Service On Windows clients, BPCDW 32. EXE is the executable file that starts the Net. Backup client daemon. Started By: When Windows starts if the daemon is in the Startup group. Otherwise, by double clicking on its icon. Stopped By: On Windows, you can stop it through the Services application in the Control Panel. Debug Log: BPCD legacy log directory on the client. NBEMM NBRB Media Server NBRMMS BPCD BPBRM BPTM BPFIS BPBRM BPINETD Shar Mem ed ory BPCD BPBKAR Disk LTID Tape Client Disk Created by William Jansen van Nieuwenhuizen

Master Server Backup Client Backup Policy Management Config Database File Database BPDBM Netbackup Backup And Restore GUI BPRD NBPROXY NBPEM Backup, Archive or Restore from GUI NBPROXY NBJM EMM Database NBEMM NBRB Media Server NBRMMS BPCD BPBRM BPTM BPFIS BPBRM BPINETD Shar Mem ed ory BPCD BPBKAR Disk LTID Tape Client Disk Created by William Jansen van Nieuwenhuizen

Logging Log locations • All unified logs are written to the /usr/openv/logs directory (UNIX) and the install_pathNet. Backuplogs folder (Windows). Unlike legacy logging, you do not need to create logging subdirectories. Log files for originator IDs are written to a subdirectory with the name specified in the log configuration file. Changing log file locations • The unified logging files can consume a lot of disk space. You can direct them to a different location, if needed.

Unified Logging file name format Unified logging uses a standardized naming format for log files, as follows: • product. ID-originator. ID-host. ID-date-rotation. log The following shows the meaning of each of the variables in the log file name: • product ID - Identifies the product. The Net. Backup product ID is 51216. • originator. ID - Identifies the log writing entity, such as a process, service, script, or other software. • host. ID - Identifies the host that created the log file. Unless the file was moved, this ID is the host where the log resides. • date - Shows when the log was written, in YYMMDD format. • rotation - A numbered instance of a log file for a given originator. This numbering is used for log file rotation.

EXAMPLE

Vxlogview Command Use this command to view the logs that unified logging creates. These logs are stored in subdirectories in /usr/openv/logs on UNIX or install_pathlogs on Windows. Unlike the files that are written in legacy logging, you cannot view unified logging files with a text editor. The unified logging files are in binary format, and some of the information is contained in an associated resource file. Only the vxlogview command can assemble and display the log information correctly. You can use vxlogview to view Net. Backup log files as well as PBX log files. To view PBX logs using the vxlogview command, do the following: • Ensure that you are an authorized user. For UNIX and Linux, you must have root privileges. For Windows, you must have Administrator privileges. • Specify the PBX product ID by entering -p 50936 as a parameter on the vxlogview command line.

Log View Examples – Part I

Log View Examples – Part I
- Slides: 11