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
- Configuring AD/LDAP
- Configuring single sign-on (SSO) using security assertion markup language (SAML)
- 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
- Troubleshooting
- Appendix A. Configure TLS-enabled Oracle database on NetBackup IT Analytics Portal and data receiver
Execute the script
To load host HBA port data
Note:
When running this script, pay attention to the value you supply for the isIncremental parameter. When you specify 'N' your existing host data is deleted. When you specify 'Y' your host data is added without removing existing records.
- Create a table in a spreadsheet, as shown in the above example. Save the table as a comma-separated file (for example, hostWWN.csv).
- Log on to the Portal Server as user aptare.
- At the command prompt, type: sqlplus <pwd>/<pwd>@//localhost:1521/scdb
- Execute the following at the SQL prompt:
SQL> Execute srm_load_pkg.loadHBAPortFile('< domainName>', '<isIncremental>', '<CSVfile>', '<logPathname>', '<logFilename>',[,'<source_name>']);
where:
'domainName'
NetBackup IT Analytics domain name (enclosed in single straight quotes)
'isIncremental'
'Y' or 'N' (enclosed in single straight quotes) to indicate if it is an incremental load.
If 'Y', an HBA port record will be created if none exists. If 'N', old HBA port records will be deleted first and then new records created. Take care when choosing this option, as it will remove existing host data from the database.
'CSVfile'
CSV file path and name (enclosed in single straight quotes)
'logPathname'
Log path name (enclosed in single straight quotes). The audit log file is created only if errors occur. Other status is logged in scon.log.
'logFilename'
Log file name (enclosed in single straight quotes). This audit log file is created only if errors occur. Other status is logged in scon.log.
'source_name'
source_name is an optional, case-insensitive string, up to 100 characters, representing the source of the host details; for example, CMDB might be relevant for a change management database. This source information is retained for historical purposes, to track how the host was added to the database. If nothing or NULL is provided for this parameter, HBA CSV Load will be inserted as the source into the reporting database.
Example:
Execute srm_load_pkg.loadHBAPortFile('corpHost1', 'Y', '/tmp/hba_port_data.txt','/tmp','hba_port_data.log','CMDB');
- IMPORTANT: If you created a new source_name, you need to insert it into the custom host source ranking table using the instructions provided in