NetBackup™ Snapshot Manager for Data Center Administrator's Guide
- Introduction
- Preparing for NetBackup Snapshot Manager for Data Center installation
- Deploying NetBackup Snapshot Manager for Data Center using container images
- Upgrading NetBackup Snapshot Manager for Data Center
- Migrating and upgrading NetBackup Snapshot Manager for Data Center
- Uninstalling NetBackup Snapshot Manager for Data Center
- Snapshot Manager for Data Center catalog backup and recovery
- Configure NetBackup Snapshot Manager for Data Center
- Storage array replication
- Storage array plug-ins for Snapshot Manager for Data Center
- Azure NetApp Files plug-in
- Azure Files plug-in
- Dell EMC PowerMax and VMax array
- Dell EMC PowerFlex array
- Dell EMC PowerScale (Isilon)
- Dell EMC PowerStore SAN and NAS plug-in
- Dell EMC XtremIO SAN array
- Dell EMC Unity Array
- Fujitsu Eternus AF/DX SAN array
- Fujitsu Eternus AB/HB SAN array
- Fujitsu AX/HX Series plug-in
- HPE RMC plug-in
- HPE XP plug-in
- HPE Alletra 9000 SAN array
- HPE Alletra 6000 SAN array
- HPE GreenLake for Block Storage array
- Hitachi NAS array
- Hitachi SAN array
- IBM Storwize SAN V7000 plug-in
- IBM FlashSystem plug-in
- IBM SAN Volume Controller plug-in
- InfiniBox SAN array
- InfiniBox NAS array
- Lenovo DM 5000 series array
- NetApp storage array
- NetApp E-Series array
- Nutanix Files array
- Pure Storage FlashArray SAN
- Pure Storage FlashBlade plug-in configuration notes
- PowerMax eNAS array
- Qumulo NAS array
- VMware vSAN File Services plug-in
- Configuring storage lifecycle policies for snapshots and snapshot replication
- Operation types in a storage lifecycle policy
- Retention types for storage lifecycle policy operations
- NetBackup Snapshot Manager logging
- Troubleshooting
Viewing NetBackup Snapshot Manager logs
NetBackup Snapshot Manager provides a MongoDB client helper utility (flexsnap-log
) that is located within the flexsnap-coordinator
service. This utility allows you to access the MongoDB logs collection.
The general command syntax for using the flexsnap-log
utility is as follows:
# sudo docker exec flexsnap-coordinator flexsnap-log <options>
Table: Flexsnap-log command options
Command option | Description |
---|---|
<service> | The NetBackup Snapshot Manager service name. The command displays the logs of the specified service. |
- h | --help | Displays the command syntax and a description of the available options. |
-n <N> | --limit <N> | Displays the last "N" number of log messages. For example, to view the last 50 log messages, specify the following:
|
-t | --tail | Use this option to follow and monitor the log messages in real-time. |
-F <format> | --format <format> | Displays the log messages in the specified output format. For example, |
-v | --verbose | Displays the command output in a verbose mode. |
-j | --json | Displays the logs in a JavaScript Object Notation (JSON) format. |
-d <days> | --days <days> | Displays the logs for the last "DAYS" number of days. For example, to view the logs for the last seven days, specify the following:
|
-f <filename> | --file <filename> | Dumps the logs to the file specified in |
You can view the NetBackup Snapshot Manager logs using any of the following commands on the NetBackup Snapshot Manager host:
To obtain all the NetBackup Snapshot Manager service logs, run the following command:
# sudo docker exec flexsnap-coordinator flexsnap-log
To obtain logs of a specific NetBackup Snapshot Manager container service, run the following command:
# sudo docker exec flexsnap-coordinator flexsnap-log <flexsnap-service name>
To tail or follow log messages, run the following command:
# sudo docker exec flexsnap-coordinator flexsnap-log -t
To obtain the last "N" number of log messages, run the following command:
# sudo docker exec flexsnap-coordinator flexsnap-log -n <N>
You can also combine these options to achieve a specific output. For example, to obtain the last 10 log messages for the
flexsnap-agent
service, run the following command:# sudo docker exec flexsnap-coordinator flexsnap-log -n 10 flexsnap-agent
The command output displays messages similar to the following:
flexsnap-agent: flexsnap-agent-offhost[1] flexsnap.updates: INFO - find_files:netapp.zip flexsnap-agent: flexsnap-agent-offhost[1] flexsnap.updates: INFO - find_files:nutanix.zip flexsnap-agent: flexsnap-agent-offhost[1] flexsnap.updates: INFO - find_files:oracle.zip flexsnap-agent: flexsnap-agent-offhost[1] flexsnap.updates: INFO - find_files:purestg.zip flexsnap-agent: flexsnap-agent-offhost[1] flexsnap.updates: INFO - find_files:windows.zip flexsnap-agent: flexsnap-agent-offhost[1] INFO - Beginning registration with coordinator flexsnap-agent: flexsnap-agent-offhost[1] INFO - loaded plugin, sending configId status: {} flexsnap-agent: flexsnap-agent-offhost[1] INFO - Sending list of sources flexsnap-agent: flexsnap-agent-offhost[1] INFO Registration complete
The most recent NetBackup Snapshot Manager logs are also available in the flexsnap-fluentd
container logs. You can use standard Docker commands to obtain the logs.
Run the following command:
# sudo docker logs flexsnap-fluentd | grep flexsnap-agent | head -10
The command output displays messages similar to the following:
flexsnap-agent: {"container_name":"flexsnap-agent","source":"stdout","log": "Mar 04 09:10:20 f5d1ae1c4808 flexsnap-agent-offhost[1] MainThread agent: INFO - Not generating certificate. Join token not passed for role agent"} flexsnap-agent: {"container_name":"flexsnap-agent","source":"stdout","log": "Mar 04 09:10:20 f5d1ae1c4808 flexsnap-agent-offhost[1] MainThread flexsnap.ca: INFO - Loading /opt/VRTScloudpoint/keys/agent.6c5c9.cert.pem /opt/VRTScloudpoint/keys/cacert.pem"} flexsnap-agent: {"container_name":"flexsnap-agent","source":"stdout","log": "Mar 04 09:10:20 f5d1ae1c4808 flexsnap-agent-offhost[1] MainThread flexsnap.connectors.rabbitmq: INFO - Starting service"}
To view the flexsnap-fluentd container logs in real time, run the following command:
# sudo docker logs flexsnap-fluentd -f | grep <flexsnap-service-name>