Has anyone had experience with this good or bad? I don't have experience with MySQL backups, but we are unable to backup the binary logs. It seems the NMDA initiated process is looking for them in the wrong path. No useful suggestions so far from the EMC SR I have opened.
NW server: CentOS 6, NW 8.2.2
NW client:
Oracle Linux 6 OS
MySQL version 5.6, MEB version is 3.12
NMDA 8.2 and NW client 8.2
example errors in the report (this is from a full backup attempt):
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000066': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000067': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000068': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000069': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000070': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000071': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000072': No such file or directory
87651:nsrdasv: Cannot get status on path '/mysql56/data/devdb_vm-bin.000072': No such file or directory
92825:nsrdasv: Could not save the binary logs (error code 1).
I don't have experience with this, but isn't module just calling MEB and picking up data from there? My understanding of this (after reading it for 10 minutes) is that MEB will use backup_dir and NMDA will pick it up from there (on NMDA you control this via MYSQL_BACKUP_DIR). I could not see, at least in NMDA CFG file anything else to control different folders for data and log so I assume this is between MEB and MySQL itself.
Parallel backup options, if they depend on base NW package, are set on client level I believe (I never tested it to be honest). On the other hand, if this feature comes specifically by NMDA for MySQL, then some sort of configuration parameter should be there and documented in NMDA admin guide.
Did you already find a solution or got your SR answered? I'm experiencing a similar error trying to back up a MySQL instance using NW/NMDA 9.0.1.
The MEB part finishes successfully (and by the way, already includes the binlog files up to that point), after that, NMDA also tries to back up the logs (as MYSQL_LOG_OPTIONS = "INCLUDE_LOGS" in NW client config)
From the nsrdasv log:
#################################################
backup_logs: Entering.
...
mysql_api_is_binlog_enabled: Entering.
mysql_api_is_binlog_enabled: Exiting.
Flushing binary logs.
mysql_api_flush_logs: Entering.
mysql_api_flush_logs: Exiting.
mysql_api_get_bin_logs: Entering.
mysql_api_get_bin_logs: Exiting.
mysql_api_get_bin_log_path: Entering.
mysql_api_get_bin_log_path: Exiting.
validate_log_path: Exiting.
log base name: bin-log starting log: 5 ending log 14
backup_logs: Exiting with error: Could not save the binary logs (error code 1).
...
********** Start of List of logs to be backuped up: output **********
/var/lib/mysql/data/bin-log.000005
...
/var/lib/mysql/data/bin-log.000014
*********** End of List of logs to be backuped up: output ************
#################################################
The logs are in /var/lib/mysql/logs, not in /var/lib/mysql/data. So, NMDA uses some api to flush the logs and get the binlog paths, but then still generates a wrong input file for the save command, containing the data path?
ble1
6 Operator
•
14354 Posts
•
56186 Points
2869
0
Posted January 28th, 2016 12:00
I don't have experience with this, but isn't module just calling MEB and picking up data from there? My understanding of this (after reading it for 10 minutes) is that MEB will use backup_dir and NMDA will pick it up from there (on NMDA you control this via MYSQL_BACKUP_DIR). I could not see, at least in NMDA CFG file anything else to control different folders for data and log so I assume this is between MEB and MySQL itself.