Discussions specific to the VMware vSphere hypervisor
Post Reply
MartinL
Novice
Posts: 5
Liked: never
Joined: Dec 22, 2016 9:59 am
Full Name: Martin Larsen
Contact:

Pre-freeze/post-thaw in Linux guest with Domino

Post by MartinL » Feb 28, 2017 8:52 am

We are running backups on 3 Linux servers with Domino.

All servers run Domino 9.0.1 and we use Daniel Nashed's start-stop script
https://www.nashcom.de/nshweb/pages/startscript.htm

2 of them is running SLES11 SP4 and here simple scripts running with notes user works:

Code: Select all

#!/bin/sh
/etc/init.d/rc_domino stop
and

Code: Select all

#!/bin/sh
/etc/init.d/rc_domino start
But the last server is SLES 12 SP2 and are another story. Using init.d as notes user requires further authentication as root.
Alternatively Domino can be started/stopped by "systemctl start/stop domino.service".
But no matter what combination in a script i try, Veeam fails executing the script.

Running the script as root i have tried:
Script finished execution with unexpected exit code: 126

Code: Select all

#!/bin/sh
systemctl stop domino.service
Script finished execution with unexpected exit code: 2

Code: Select all

#!/bin/sh
exec systemctl stop domino.service

So the question really just boils down to if anyone have some experience in starting/stopping services using a script in combination with Veeam B&R?

zuldan
Enthusiast
Posts: 45
Liked: 5 times
Joined: Feb 15, 2017 9:51 am
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by zuldan » Feb 28, 2017 10:05 am

Hi MartinL, I don't have the answer to your question but out of curiosity are you using the DAOS feature in Domino?

DGrinev
Veeam Software
Posts: 1741
Liked: 221 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by DGrinev » Feb 28, 2017 12:26 pm

Hi Martin and welcome to the community.

How did you try to execute scripts through VMWare quiescence or Veeam?
This would help in further troubleshooting process, as it does seem like a permission issue.

Thanks!

MartinL
Novice
Posts: 5
Liked: never
Joined: Dec 22, 2016 9:59 am
Full Name: Martin Larsen
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by MartinL » Feb 28, 2017 1:05 pm

@zuldan
We are using DAOS on the primary and most critical Domino server. It's running SLES 11, so one of the servers working.

@DGrinev
Thanks for the welcome.

Currently i'm trying to execute them in Veeam under Guest Processing.

DGrinev
Veeam Software
Posts: 1741
Liked: 221 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by DGrinev » Feb 28, 2017 3:52 pm 1 person likes this post

Martin,

Please can you try to execute scripts under VMWare quiescence, this will help us in isolating the root cause of the issue.
There is existing thread about how to use VMWare tools pre-freeze post-thaw scripts.

Thanks!

zuldan
Enthusiast
Posts: 45
Liked: 5 times
Joined: Feb 15, 2017 9:51 am
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by zuldan » Feb 28, 2017 7:21 pm

MartinL as you are aware, email attachments are stored in the DAOS database. Since Veeam does not support the Domino backup/restore API, when you restore a mailbox it will most likely not have any attachments. We are not using Veeam to backup Domino because of this problem so I'm interested to know how you are getting around the DAOS issue?

MartinL
Novice
Posts: 5
Liked: never
Joined: Dec 22, 2016 9:59 am
Full Name: Martin Larsen
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by MartinL » Mar 01, 2017 7:33 am

@DGrinev
Thanks. I will try that in the next backup window.

@zuldan
We have a 30 day Deferred Deletion Interval, so in most cases all NLO files are there.
If some files are pruned you can get a list of missing files on the server:

Code: Select all

tell daosmgr listnlo -o missingnlo.txt database_file_name.nsf
Then get the missing NLO files in missingnlo.txt from earlier backups. If possible, recovered NLO files should be placed in their original subfolder.

After that re-synchronize the DAOS catalog.

MartinL
Novice
Posts: 5
Liked: never
Joined: Dec 22, 2016 9:59 am
Full Name: Martin Larsen
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by MartinL » Mar 02, 2017 8:26 am

Using VMWare quiescence works. No errors and a complete backup.

Using the simple script:

Code: Select all

#!/bin/sh
systemctl stop domino.service

DGrinev
Veeam Software
Posts: 1741
Liked: 221 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by DGrinev » Mar 02, 2017 12:02 pm

Hi,

You can continue to utilize VMware quiescence with the scripts since it is working flawlessly.
Otherwise, you should troubleshoot permissions issue of the account in Guest Processing menu, as it seems to be the root cause of the issue.

Thanks!

MartinL
Novice
Posts: 5
Liked: never
Joined: Dec 22, 2016 9:59 am
Full Name: Martin Larsen
Contact:

Re: Pre-freeze/post-thaw in Linux guest with Domino

Post by MartinL » Mar 02, 2017 12:13 pm

Hi DGrinev

I'll just stick to VMware quiescence since it works. Thanks for the help.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 15 guests