NetBackup™ for OpenStack Administrator's Guide
- Introduction
- Deploying NetBackup for OpenStack
- Requirements
- NetBackup for OpenStack network considerations
- Preparing the installation
- Spinning up the NetBackup for OpenStack virtual machine
- Installing NetBackup for OpenStack Components
- Installing on RHOSP
- Prepare for deployment
- Updating the overcloud roles data file to include NetBackup for OpenStack services
- Additional Steps on NetBackup for OpenStack Appliance
- Installing on Ansible OpenStack Ussuri
- Installing on Kolla
- Pushing NetBackup for OpenStack images to the local registry
- Installing on RHOSP
- Configuring NetBackup for OpenStack
- Post Installation Health-Check
- Uninstalling NetBackup for OpenStack
- Uninstalling from RHOSP
- Uninstalling from Ansible OpenStack
- Uninstalling from Kolla Openstack
- Uninstalling from RHOSP
- Upgrading NetBackup for OpenStack
- Configuring NetBackup OpenStack Appliance
- Configuring NetBackup primary server
- NetBackup for OpenStack protections
- Performing snapshots, backups, and restores of OpenStack
- About restores
- Required restore.json file for CLI
- About schedules
- Performing Backup Administration tasks
- Disaster recovery
- Troubleshooting
- General Troubleshooting Tips
- Health check of NetBackup for OpenStack
- Important log files
Verify that file-level logging is configured for OpenStack components on Horizon container
NetBackup for OpenStack Horizon plug-in uses OpenStack's logging services to store the logs. It is recommended that you configure system logging for OpenStack components on Horizon container.
Ensure that you configure the following parts of the logging to generate structured log information to a file.
Sample configuration:
Formatters: Define the formatting of log information in the log file.
'verbose': { 'format': '%(asctime)s %(process)d %(levelname)s %(name)s %(message)s' },
Handlers: Add a file handler to write log information to the log file.
'file': { 'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': '/var/log/horizon/horizon.log', 'formatter': 'verbose', },
Loggers: Update each OpenStack component in use with the file handler information to the log file.
For example, OpenStack dashboard, Horizon, Nova client, Cinder client, Keystone client, Glance client, Neutron client, OpenStack authorization, Django, and so on.
'horizon': { 'handlers': ['file'], 'level': 'DEBUG', 'propagate': False, }
It is recommended that you enable log rotation to restrict the volume of the log data to avoid overflowing the record store. For more information about logging and configuring log rotation, see Django documentation.