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 VM
- Installing NetBackup for OpenStack Components
- Installing on RHOSP
- Prepare for deployment
- Updating the overcloud roles data file to include NetBackup for OpenStack services
- Verifying the deployment
- Additional Steps on NetBackup for OpenStack Appliance
- Installing on Ansible OpenStack Ussuri
- Installing on Kolla Ussuri
- 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
- Install nbosjm CLI client
- Configuring NetBackup OpenStack Appliance
- Configuring NetBackup Master Server
- NetBackup for OpenStack policies
- Performing backups and restores of OpenStack
- About restores
- Required restore.json for CLI
- Configuring and starting a file search in Horizon
- Performing Backup Administration tasks
- NBOS Backup Admin Area
- Policy Attributes
- Policy Quotas
- Managing Trusts
- Policy import and migration
- Disaster Recovery
- Example runbook for disaster recovery using NFS
- Disaster recovery of a single policy
- Copy the policy directories to the configured NFS Volume
- Make the Mount-Paths available
- Reassign the policy
- Restore the policy
- Clean up
- Disaster recovery of a complete cloud
- Reconfigure the Target NetBackup for OpenStack installation
- Make the Mount-Paths available
- Reassign the policy
- Restore the policy
- Reconfigure the Target NetBackup for OpenStack installation back to the original one
- Clean up
- Troubleshooting
- General Troubleshooting Tips
- Health check of NetBackup for OpenStack
- Important log files
About log rotation in NetBackup for OpenStack
Use log rotation to ease administration of the systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. You can handle each log file daily, weekly, monthly, or when it grows too large.
logrotate is a Linux utility, which runs as a scheduled cron job. It reads the information from the configuration files. You can configure log rotation by updating these configuration files.
On RHOSP platform, after configuration changes for log rotation, you must redeploy the complete setup for changes to take effect.
Empty VxMS log files are cleaned up automatically after 8 days.
Table: Log rotation default options for Kolla and Ansible describes the default options that are used to configure log rotation on Kolla and Ansible.
Table: Log rotation default options for Kolla and Ansible
Component | Log rotation default options |
---|---|
NBOSJM | Configuration file: /var/log/nbosjm/*.log { missingok notifempty copytruncate size 25M rotate 30 compress dateformat -%Y%m%d-%H } /var/NetBackupOpenStack-mounts/*/*/*.log { su root nova missingok compress delaycompress notifempty copytruncate size 25M rotate 30 dateformat -%Y%m%d-%H } /var/NetBackupOpenStack-mounts/*/*.log { su root nova missingok compress delaycompress notifempty copytruncate size 25M rotate 30 dateformat -%Y%m%d-%H } |
NBOSDMAPI | Configuration file: /var/log/kolla/nbosdmapi/nbosdmapi.log { daily missingok notifempty copytruncate size=25M rotate 30 maxage 30 compress dateformat -%Y%m%d-%H } |
VxMS and NBOSDM | Configuration file: /var/log/kolla/nbosdm/nbosdm.log { daily missingok notifempty copytruncate size=25M rotate 30 maxage 30 compress dateformat -%Y%m%d-%H } /usr/openv/netbackup/logs/vxms/*.log { daily missingok notifempty copytruncate size=1M rotate 5 postrotate find -daystart -mtime +30 -delete find -daystart -mtime +7 -size 0 -delete endscript compress dateformat -%Y%m%d-%H } |
Table: Log rotation default options for RHOSP describes the default options that are used to configure log rotation on RHOSP.
Table: Log rotation default options for RHOSP
Component | Log rotation default options |
---|---|
NBOSJM | Configuration file: /var/log/nbosjm/*.log { missingok notifempty copytruncate size 25M rotate 30 compress dateformat -%Y%m%d-%H } /var/NetBackupOpenStack-mounts/*/*/*.log { su root nova missingok compress delaycompress notifempty copytruncate size 25M rotate 30 dateformat -%Y%m%d-%H } /var/NetBackupOpenStack-mounts/*/*.log { su root nova missingok compress delaycompress notifempty copytruncate size 25M rotate 30 dateformat -%Y%m%d-%H } |
NBOSDM and NBOSDMAPI | Refer to the following file on the director node: |
VxMS | Configuration file: /etc/logrotate.d/vxms /var/log/vxms/*.log { daily missingok notifempty copytruncate size=1M rotate 5 postrotate find -daystart -mtime +30 -delete find -daystart -mtime +7 -size 0 -delete endscript compress dateformat -%Y%m%d-%H } |