NetBackup IT Analytics System Administrator Guide
- Introduction
- Preparing for updates
- Backing up and restoring data
- Monitoring NetBackup IT Analytics
- Accessing NetBackup IT Analytics reports with the REST API
- Defining NetBackup estimated tape capacity
- Automating host group management
- Categorize host operating systems by platform and version
- Bulk load utilities
- Automate NetBackup utilities
- Scheduling utilities to run automatically
- Attribute management
- Importing generic backup data
- Backup job overrides
- Managing host data collection
- System configuration in the Portal
- Custom parameters
- Performance profile schedule customization
- LDAP and SSO authentication for Portal access
- Change Oracle database user passwords
- Integrate with CyberArk
- Tuning NetBackup IT Analytics
- Working with log files
- Portal and data collector log files - reduce logging
- Data collector log file naming conventions
- Portal log files
- Defining report metrics
- SNMP trap alerting
- SSL certificate configuration
- Configure virtual hosts for portal and / or data collection SSL
- Keystore on the portal server
- Portal properties: Format and portal customizations
- Data retention periods for SDK database objects
- Data aggregation
- Troubleshooting
- Appendix A. Kerberos based proxy user's authentication in Oracle
- Appendix B. Configure TLS-enabled Oracle database on NetBackup IT Analytics Portal and data receiver
- Appendix C. NetBackup IT Analytics for NetBackup on Kubernetes and appliances
Scheduling utilities to run automatically
The utilities can be run on a one-time basis, or scheduled to run every day to automatically keep your hosts and host groups up to date. Scheduling can be accomplished by creating an Oracle job. NetBackup IT Analytics already makes use of Oracle jobs to run many background tasks such as purging old data and rebuilding indices.
The sample SQL file in Example-Scheduling Utilities to Run Automatically sets up an Oracle job to run every day at 5:00 a.m. and call the moveOrCopyClients utility to move clients from one folder to another. This example can be used as a template for other automatic jobs you need to set up. Simply customize the text in bold for your particular requirements.
To see the Oracle jobs that are automatically configured as part of a new install, review the following files:
<database_home>/stored_procedures/setup_base_jobs.plb
<database_home>/stored_procedures/nbu/setup_nbu_jobs.sql
<database_home>/stored_procedures/nbu/setup_nbu_jobs.sql
<database_home>/stored_procedures/tsm/setup_leg_jobs.plb
Where database_home is /opt/aptare/database for Linux servers and C:\opt\oracle\database for Windows servers.
In order to execute the following sample SQL file, as user aptare on a Linux system or on a Windows system as an Administrator who is a member of the ORA_DBA group execute the following:
sqlplus portal/<portal_password>@//localhost:1521/scdb@setup_ora_job.sql
The following example uses two methods:
moveOracleClients | The name you want to assign to this job you are defining. |
MoveOrCopyClients | The utility you are calling along with the parameters you are passing. |
Note:
The parameters passed to the moveOrCopyClients method which must be quoted actually have two single quotes. The two single quotes is the standard Oracle syntax to incorporate a literal quote within an already quoted string.