NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Configurations
- Prerequisites
- Prerequisites for Kubernetes cluster configuration
- Prerequisites for Cloud Scale configuration
- Recommendations and Limitations
- Configurations
- Configuration of key parameters in Cloud Scale deployments
- Prerequisites
- Section II. Deployment
- Section III. Monitoring and Management
- Monitoring NetBackup
- Monitoring Snapshot Manager
- Monitoring fluentbit
- Monitoring MSDP Scaleout
- Managing NetBackup
- Managing the Load Balancer service
- Managing PostrgreSQL DBaaS
- Managing logging
- Performing catalog backup and recovery
- Section IV. Maintenance
- PostgreSQL DBaaS Maintenance
- Patching mechanism for primary, media servers, fluentbit pods, and postgres pods
- Upgrading
- Cloud Scale Disaster Recovery
- Uninstalling
- Troubleshooting
- Troubleshooting AKS and EKS issues
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting AKS and EKS issues
- Appendix A. CR template
- Appendix B. MSDP Scaleout
- MSDP Scaleout configuration
- Managing MSDP Scaleout
- MSDP Scaleout maintenance
Viewing NetBackup logs
To view NetBackup logs you can exec into the log-viewer pod and view the logs or extract them first and view them after they have been extracted. For more information on extracting the logs, see the following section:
See Extracting NetBackup logs.
To view NetBackup logs
- First find the log-viewer pod: $ kubectl get pod -n netbackup | grep log-viewer
nb-log-viewer-0 1/1 Running 0 7d
- Exec into the log-viewer pod using the pod name from the previous command:
$ kubectl exec -it -n netbackup nb-log-viewer-0 -- /bin/bash
- Move into the fluentbit log location:
$ cd /usr/openv/fluentbit/logs
- Folders are labeled by date:
$ ls
2024-02-02 2024-02-03
- Move into the folder of the date you are looking at and the logs are grouped by namespace:$ cd 2024-02-03/
$ ls
netbackup netbackup-operator-system kube-system trust-manager
- Move into the folder of the namespace you are looking at and the logs are there labeled by pod name:
$ cd netbackup/
$ ls
<netbackup namespace>-nbatd-0 <netbackup namespace>-policyjob-0 <netbackup namespace>-primary-0 nb-fluentbit-daemonset-2l4sh nb-fluentbit-daemonset-7ndsg nb-fluentbit-daemonset-qlv4m <netbackup namespace>-nbwsapp-0 <netbackup namespace>-policyjobmgr-0 nb-fluentbit-collector-7dfc4d95b8-mzrkr nb-fluentbit-daemonset-6nj66 nb-fluentbit-daemonset-9pslq nb-fluentbit-daemonset-wpwp4
The log-viewer pod has
vi
built into it so you can use that to view the logs in the container itself. - From NetBackup version 11.0 and later, the flexsnap datamover logs can be viewed from the following fluenbit log locations:
Flexsnap datamover STDOUT pod logs:
cd /usr/openv/fluentbit/logs/<date>/<env_namespace>/flexsnap-datamover-<id>/flexsnap-datamover-<id>
Datamover services logs:
cd /usr/openv/fluentbit/logs/<date>/<env_namespace>/cloudpoint/openv/dm/datamover.<id>