mmbackup feature request
Would it be possible to have the mmbackup output display the percentage output progress when backing up files? So at the top we you see something like this Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX] Then after it does the expiration you see during the backup lines like Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4) It would IMHO be helpful if it looked like Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4) Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors? Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0 JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Hi I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go. BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV. But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal: https://ideas.ibm.com Stephan On 9/6/23 11:02, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Stephan Graf Juelich Supercomputing Centre Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/ --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior --------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
I'm using this one liner to get the progress grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}' That can be compared to the files identified during the scan. On Wed, 6 Sept 2023, 21:29 Stephan Graf, <st.graf@fz-juelich.de> wrote:
Hi
I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go.
BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV.
But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal:
Stephan
On 9/6/23 11:02, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Stephan Graf Juelich Supercomputing Centre
Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
Just a follow up question, how do you backup multiple filesets? We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable. Is it any other ways that are much better? /Christian ons 6 sep. 2023 kl. 11:35 skrev Marcus Koenig <marcus@koenighome.de>:
I'm using this one liner to get the progress
grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}'
That can be compared to the files identified during the scan.
On Wed, 6 Sept 2023, 21:29 Stephan Graf, <st.graf@fz-juelich.de> wrote:
Hi
I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go.
BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV.
But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal:
Stephan
On 9/6/23 11:02, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given
that
the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Stephan Graf Juelich Supercomputing Centre
Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
We have written a python scheduler which is using the mmlsfileset command. By options we can decide how many filesets are backed up in parallel. Stephan On 9/6/23 11:44, Christian Petersson wrote:
Just a follow up question, how do you backup multiple filesets? We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable.
Is it any other ways that are much better?
/Christian
ons 6 sep. 2023 kl. 11:35 skrev Marcus Koenig <marcus@koenighome.de <mailto:marcus@koenighome.de>>:
I'm using this one liner to get the progress
grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}'
That can be compared to the files identified during the scan.
On Wed, 6 Sept 2023, 21:29 Stephan Graf, <st.graf@fz-juelich.de <mailto:st.graf@fz-juelich.de>> wrote:
Hi
I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go.
BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV.
But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal:
https://ideas.ibm.com <https://ideas.ibm.com>
Stephan
On 9/6/23 11:02, Jonathan Buzzard wrote: > > Would it be possible to have the mmbackup output display the percentage > output progress when backing up files? > > So at the top we you see something like this > > Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, > unsupported=0 for server [XXXX] > > Then after it does the expiration you see during the backup lines like > > Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, > 426018 expired, 4408 failed. (Backup job exit with 4) > > It would IMHO be helpful if it looked like > > Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) > backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4) > > Just based on the number of files. Though as I look at it now I am > curious about the discrepancy in the number of files expired, given that > the expiration stage allegedly concluded with no errors? > > Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 > policy errors, 0 files failed, 0 severe errors, returning rc=0. > Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest > TSM error 0 > > > > JAB. >
-- Stephan Graf Juelich Supercomputing Centre
Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de <mailto:st.graf@fz-juelich.de> WWW: http://www.fz-juelich.de/jsc/ <http://www.fz-juelich.de/jsc/> --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org <http://gpfsug.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org <http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org <http://gpfsug.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org <http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
-- Stephan Graf Juelich Supercomputing Centre Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/ --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior --------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
We use independent filesets so we can snapshot individually, and then a separate TSM node for each fileset. Finally we have a "canary" directory that's local to the node running the schedule that dsmc can backup as a virtual mount point that we use to track backup success/failure, since mmbackup-driven backups won't update the last backup time of the GPFS filesystem. All of the configuration is Puppet-managed, which sets up a separate dsmcad service for each fileset that connects to the TSM server using the fileset-specific node, which is associated with a schedule that runs the backup. Relevant details from one of our schedules: Node Name: GPFS-GS2-GS-VOL5 Schedule Name: DAILY_GPFS-GS2-GS-VOL5 Schedule Style: Classic Action: Incremental Options: -presched='/usr/local/sbin/backup-gpfs -s gpfs-gs2-gs-vol5' -dom=/mnt/canary.nobackup/gpfs-gs2-gs-vol5 Objects: Priority: 5 Next Execution: 13 Hours Duration: 5 Minutes Period: 1 Day Day of Week: Any The backup-gpfs script sets up the snapshot, backs up some metadata about the filesets so we can recover configuration easily (size, inode limit, junction, etc.), runs mmbackup, and will exit with success/failure depending on what the underlying commands return. It also logs mmbackup output to Splunk which makes log trawling a lot easier. If it runs into a problem, a trap removes the snapshot so we can run the backup again without manual intervention. If the /mnt/canary.nobackup/gpfs-gs2-gs-vol5 filespace associated with the GPFS-GS2-GS-VOL5 node gets more than a couple days behind, we'll notice that with our monitoring of the filespace last backup time (same as our non-GPFS filespaces) and we can go in and take a look. We use this methodology to backup five entire GPFS filesystems for our larger labs, along with a sixth that's divided into 76 filesets as a storage condo for our smaller labs. There's some quirks but scales better than trying to run mmbackup independently for everything. Hope that helps! On Wed, Sep 06, 2023 at 11:44:56AM +0200, Christian Petersson wrote:
Just a follow up question, how do you backup multiple filesets? We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable.
Is it any other ways that are much better?
/Christian
ons 6 sep. 2023 kl. 11:35 skrev Marcus Koenig <marcus@koenighome.de>:
I'm using this one liner to get the progress
grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}'
That can be compared to the files identified during the scan.
On Wed, 6 Sept 2023, 21:29 Stephan Graf, <st.graf@fz-juelich.de> wrote:
Hi
I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go.
BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV.
But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal:
https://urldefense.com/v3/__https://ideas.ibm.com__;!!K-Hz7m0Vt54!mV9vXvf6GY...
Stephan
On 9/6/23 11:02, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given
that
the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Stephan Graf Juelich Supercomputing Centre
Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: https://urldefense.com/v3/__http://www.fz-juelich.de/jsc/__;!!K-Hz7m0Vt54!mV...
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discus...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discus...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discus...
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department (UW Medicine), System Administrator -- Foege Building S046, (206)-685-7354 -- Pronouns: He/Him/His
We have about 760-ish independent filesets. As was mentioned before in a reply, this allows for individual fileset snapshotting, and running on different TSM servers. We maintain a puppet-managed list that we use to divide up the filesets, . automation helps us round-robin new filesets across the 4 backup servers as they are added to attempt to balance things somewhat. We maintain 7 days of snapshots on the filesystem we backup, and no snapshots or backups on our scratch space. We hand out the mmbackups to 4 individual TSM backup clients which do both our daily mmbackup, and NetApp snappdiff backups for our user home directories as well. Those feed to another 4 TSM servers doing the tape migrations. We’re sitting on about ~20P of disk at this time and we’re (very) roughly 50% occupied. One of our challenges recently was re-balancing all this for remote Disaster Recovery/Replication. We ended up using colocation groups of the filesets in Spectrum Protect/TSM. While scaling backup infrastructure can be hard, balancing hundreds of Wildly differing filesets can be just as challenging. I’m happy to talk about these kinds of things here, or offline. Drop me a line if you have additional questions. Ed Wahl Ohio Supercomputer Center From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Christian Petersson Sent: Wednesday, September 6, 2023 5:45 AM To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Subject: Re: [gpfsug-discuss] mmbackup feature request Just a follow up question, how do you backup multiple filesets? We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable. Is it any other ways that Just a follow up question, how do you backup multiple filesets? We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable. Is it any other ways that are much better? /Christian ons 6 sep. 2023 kl. 11:35 skrev Marcus Koenig <marcus@koenighome.de<mailto:marcus@koenighome.de>>: I'm using this one liner to get the progress grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}' That can be compared to the files identified during the scan. On Wed, 6 Sept 2023, 21:29 Stephan Graf, <st.graf@fz-juelich.de<mailto:st.graf@fz-juelich.de>> wrote: Hi I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go. BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV. But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal: https://ideas.ibm.com<https://urldefense.com/v3/__https:/ideas.ibm.com__;!!KGKeukY!03ECSdA7lzhWsifFSkK9t1YtNYvDB89pvj-eJrh4gWV9IYpYH61rCBiaASdvtsHkekKlW5pqQriFk_mv-wHIMIKyXsk$> Stephan On 9/6/23 11:02, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Stephan Graf Juelich Supercomputing Centre Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de<mailto:st.graf@fz-juelich.de> WWW: http://www.fz-juelich.de/jsc/<https://urldefense.com/v3/__http:/www.fz-juelich.de/jsc/__;!!KGKeukY!03ECSdA7lzhWsifFSkK9t1YtNYvDB89pvj-eJrh4gWV9IYpYH61rCBiaASdvtsHkekKlW5pqQriFk_mv-wHIoADZPpY$> --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org<https://urldefense.com/v3/__http:/gpfsug.org__;!!KGKeukY!03ECSdA7lzhWsifFSkK...> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org<https://urldefense.com/v3/__http:/gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!KGKeukY!03ECSdA7lzhWsifFSkK9t1YtNYvDB89pvj-eJrh4gWV9IYpYH61rCBiaASdvtsHkekKlW5pqQriFk_mv-wHI-cdFpMc$> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org<https://urldefense.com/v3/__http:/gpfsug.org__;!!KGKeukY!03ECSdA7lzhWsifFSkK...> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org<https://urldefense.com/v3/__http:/gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!KGKeukY!03ECSdA7lzhWsifFSkK9t1YtNYvDB89pvj-eJrh4gWV9IYpYH61rCBiaASdvtsHkekKlW5pqQriFk_mv-wHI-cdFpMc$>
I'll chime in with we don't use mmbackup at all... We use NetBackup accelerated backups to backup. It has worked well and we are able to do daily incrementals and weekend fulls with 100s of TBs in one filesystem and 100s of filesets. The biggest challenge we face is defining the numerous streams in NetBackup policy to keep things parallel. But we just do good record keeping in our change management. When we have to do a 'rescan' or BCP fail over it is a chore to reach equilibrium again. Our synthetic accelerated full backup runs at about 700GB/hr for our weekend fulls... so we finish well before most other smaller traditional fileserver clients. Best part is this is one place where we are nearly just a regular old commodity client with ridiculously impressive stats. Alec On Wed, Sep 6, 2023, 10:19 AM Wahl, Edward <ewahl@osc.edu> wrote:
We have about 760-ish independent filesets. As was mentioned before in a reply, this allows for individual fileset snapshotting, and running on different TSM servers. We maintain a puppet-managed list that we use to divide up the filesets, . automation helps us round-robin new filesets across the 4 backup servers as they are added to attempt to balance things somewhat. We maintain 7 days of snapshots on the filesystem we backup, and no snapshots or backups on our scratch space.
We hand out the mmbackups to 4 individual TSM backup clients which do both our daily mmbackup, and NetApp snappdiff backups for our user home directories as well. Those feed to another 4 TSM servers doing the tape migrations.
We’re sitting on about ~20P of disk at this time and we’re (very) roughly 50% occupied.
One of our challenges recently was re-balancing all this for remote Disaster Recovery/Replication. We ended up using colocation groups of the filesets in Spectrum Protect/TSM. While scaling backup infrastructure can be hard, balancing hundreds of Wildly differing filesets can be just as challenging.
I’m happy to talk about these kinds of things here, or offline. Drop me a line if you have additional questions.
Ed Wahl
Ohio Supercomputer Center
*From:* gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> *On Behalf Of *Christian Petersson *Sent:* Wednesday, September 6, 2023 5:45 AM *To:* gpfsug main discussion list <gpfsug-discuss@gpfsug.org> *Subject:* Re: [gpfsug-discuss] mmbackup feature request
Just a follow up question, how do you backup multiple filesets? We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable. Is it any other ways that
Just a follow up question, how do you backup multiple filesets?
We have a 50 filesets to backup, at the moment do we have a text file that contains all of them and we run a for loop. But that is not at all scalable.
Is it any other ways that are much better?
/Christian
ons 6 sep. 2023 kl. 11:35 skrev Marcus Koenig <marcus@koenighome.de>:
I'm using this one liner to get the progress
grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}'
That can be compared to the files identified during the scan.
On Wed, 6 Sept 2023, 21:29 Stephan Graf, <st.graf@fz-juelich.de> wrote:
Hi
I think it should be possible because mmbackup know, how many files are to be backed up, which have been already processed and how many are still to go.
BTW it would also be nice to have an option in mmbackup to generate machine readable log file like JSON or CSV.
But the right way to ask for a new feature or to look if there is already a request open is the IBM IDEA portal:
https://ideas.ibm.com <https://urldefense.com/v3/__https:/ideas.ibm.com__;!!KGKeukY!03ECSdA7lzhWsif...>
Stephan
On 9/6/23 11:02, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Stephan Graf Juelich Supercomputing Centre
Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/ <https://urldefense.com/v3/__http:/www.fz-juelich.de/jsc/__;!!KGKeukY!03ECSdA...>
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org <https://urldefense.com/v3/__http:/gpfsug.org__;!!KGKeukY!03ECSdA7lzhWsifFSkK...> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org <https://urldefense.com/v3/__http:/gpfsug.org/mailman/listinfo/gpfsug-discuss...>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org <https://urldefense.com/v3/__http:/gpfsug.org__;!!KGKeukY!03ECSdA7lzhWsifFSkK...> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org <https://urldefense.com/v3/__http:/gpfsug.org/mailman/listinfo/gpfsug-discuss...>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
We have a hacky way of doing this by getting the size of the update and expire lists, i.e.: wc -l /gpfs/fs1/.mmbackupCfg/updatedFiles/.list.1.node-name And also each index number of the chunked file lists that dsmc is processing, for instance: -filelist=/gpfs/fs1/.mmbackupCfg/mmbackupChanged.ix.13589.0424C05C.465.fs1 Which shows index 465. The final bit of information you need is the MaxFiles setting of mmbackup, which is calculated automatically by default but is visible in mmapplypolicy and tsapolicy command lines in /proc in the -B value (ours is 32768). Once you have all of that information, you can calculate the number of file lists that will be processed across all the backup nodes by dividing the length of the updatedFiles and expireFiles lists by the MaxFiles setting to get the total number of file lists that will be processed, and the number of file lists in by adding up the index numbers from all of your backup nodes. That said, if there were an easy-to-parse option in the logs, we would certainly use it. :) On Wed, Sep 06, 2023 at 10:02:17AM +0100, Jonathan Buzzard wrote:
Would it be possible to have the mmbackup output display the percentage output progress when backing up files?
So at the top we you see something like this
Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX]
Then after it does the expiration you see during the backup lines like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4)
It would IMHO be helpful if it looked like
Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)
Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors?
Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discus...
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department (UW Medicine), System Administrator -- Foege Building S046, (206)-685-7354 -- Pronouns: He/Him/His
You might be interested in looking at Ideas GPFS-I-975 and GPFS-I-259. -- Jonathan Fosburgh, MS, CAPM Principal Application Systems Analyst IT Engineering Storage Team The University of Texas MD Anderson Cancer Center (713) 745-9346 [Graphical user interface Description automatically generated with low confidence][A picture containing text, room, gambling house Description automatically generated][Graphical user interface Description automatically generated with medium confidence] From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Date: Wednesday, September 6, 2023 at 04:04 To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Subject: [EXTERNAL] [gpfsug-discuss] mmbackup feature request THIS EMAIL IS A PHISHING RISK Do you trust the sender? The email address is: gpfsug-discuss-bounces@gpfsug.org While this email has passed our filters, we need you to review with caution before taking any action. If the email looks at all suspicious, click the Report a Phish button. Would it be possible to have the mmbackup output display the percentage output progress when backing up files? So at the top we you see something like this Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX] Then after it does the expiration you see during the backup lines like Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4) It would IMHO be helpful if it looked like Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4) Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors? Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0 JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!PfbeBCCAmug!j_DKizkmTItFp2H_1xckC8hR7VkDw_ec7pvv0K1d3xe-_qXr1n5W8NpNKOwhxWMn62Z0a3v2zoA2hL13tIYXypi_grSBHAgTO1w$<https://urldefense.com/v3/__http:/gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!PfbeBCCAmug!j_DKizkmTItFp2H_1xckC8hR7VkDw_ec7pvv0K1d3xe-_qXr1n5W8NpNKOwhxWMn62Z0a3v2zoA2hL13tIYXypi_grSBHAgTO1w$> The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.
We have a python script that parses the mmbackup output log and outputs a number of bits of data, mostly the success/failure of the backup run, and date of last backup, so we can monitor how long it is since the last successful backup and alert us when its more than so many hours since the last backup. The Script can also pickup the % of progress though the backup, but I've not got around to getting it working quite yet. If people are interested I could look to checking it over and making it available. Peter Childs ITS Research Storage Queen Mary University of London ________________________________________ From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Fosburgh,Jonathan <jfosburg@mdanderson.org> Sent: 07 September 2023 11:44 AM To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] [EXTERNAL] mmbackup feature request CAUTION: This email originated from outside of QMUL. Do not click links or open attachments unless you recognise the sender and know the content is safe. You might be interested in looking at Ideas GPFS-I-975 and GPFS-I-259. -- Jonathan Fosburgh, MS, CAPM Principal Application Systems Analyst IT Engineering Storage Team The University of Texas MD Anderson Cancer Center (713) 745-9346 [Graphical user interface Description automatically generated with low confidence][A picture containing text, room, gambling house Description automatically generated][Graphical user interface Description automatically generated with medium confidence] From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Date: Wednesday, September 6, 2023 at 04:04 To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Subject: [EXTERNAL] [gpfsug-discuss] mmbackup feature request THIS EMAIL IS A PHISHING RISK Do you trust the sender? The email address is: gpfsug-discuss-bounces@gpfsug.org While this email has passed our filters, we need you to review with caution before taking any action. If the email looks at all suspicious, click the Report a Phish button. Would it be possible to have the mmbackup output display the percentage output progress when backing up files? So at the top we you see something like this Tue Sep 5 23:13:35 2023 mmbackup:changed=747204, expired=427702, unsupported=0 for server [XXXX] Then after it does the expiration you see during the backup lines like Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, 426018 expired, 4408 failed. (Backup job exit with 4) It would IMHO be helpful if it looked like Wed Sep 6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4) Just based on the number of files. Though as I look at it now I am curious about the discrepancy in the number of files expired, given that the expiration stage allegedly concluded with no errors? Tue Sep 5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning rc=0. Tue Sep 5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest TSM error 0 JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!PfbeBCCAmug!j_DKizkmTItFp2H_1xckC8hR7VkDw_ec7pvv0K1d3xe-_qXr1n5W8NpNKOwhxWMn62Z0a3v2zoA2hL13tIYXypi_grSBHAgTO1w$<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss_gpfsug.org__%3B!!PfbeBCCAmug!j_DKizkmTItFp2H_1xckC8hR7VkDw_ec7pvv0K1d3xe-_qXr1n5W8NpNKOwhxWMn62Z0a3v2zoA2hL13tIYXypi_grSBHAgTO1w%24&data=05%7C01%7C%7Cd86cb0b2773c4587af5f08dbaf90347d%7C569df091b01340e386eebd9cb9e25814%7C0%7C0%7C638296806133388970%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=64q80xO9d6JUZPUN0ADBWmyaiMeT3Yn8f2TbRJJId48%3D&reserved=0> The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.
participants (9)
-
Alec -
Christian Petersson -
Fosburgh,Jonathan -
Jonathan Buzzard -
Marcus Koenig -
Peter Childs -
Skylar Thompson -
Stephan Graf -
Wahl, Edward
