Host-based backup of VMware vSphere VMs.
Post Reply
habibalby
Veteran
Posts: 391
Liked: 32 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Application Group - Other Server Roles

Post by habibalby »

Hi,
I'm implementing SureBackup and part of this configuration sure the Application Group which runs the SureBackup. I can see only few roles are available within the Application Group such as the Domain Controller Roles, SQL and Web Servers. What if I have different roles such as VDI brokers, File Servers, Profile Servers, Linux Servers... Is it the only way to check the validity of the backup of those VMs is Scripting...?

What is the script to check the file server validity?
What is the script to check the VDI broker validity?
What is the script to check other Linux DB/MYSQL ?

Appreciate your feedback...

Regards,
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Application Group - Other Server Roles

Post by foggy »

Hussain, if you need to verify some specific capabilities of those servers that are not covered in VM verification settings (VM heartbeat, ping, startup time), then you need to involve scripting. Thanks.
habibalby
Veteran
Posts: 391
Liked: 32 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Re: Application Group - Other Server Roles

Post by habibalby »

Thanks Alexander for your reply, this is what I'm trying to achieve.
List all services in a csv file and loop through the csv file and send an email to check the result. but the issue is, how the mail services will send an email since the VMs are in isolated network... ?

Code: Select all

$SVC = Get-Service -Name $Path
$Path = Get-Content C:\Scripts\Services.csv
If ($SVC.Status -eq "Running") {
Foreach ($Service in $SVC) {
If $SVC.Status = Running
Can you help with this script ?

Thanks,
habibalby
Veteran
Posts: 391
Liked: 32 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Re: Application Group - Other Server Roles

Post by habibalby »

This script will do the job, but I'm wondering how I can find a way to have an SMTP server where the VMs inside this Virtual Lab (Application Group) can rely on to send the Service Status...

Code: Select all

$Path = Get-Content C:\Scripts\Services.csv
$SVC = Get-Service -Name $Path | where {$_.Status -eq "Running"} | out-file "C:\Scripts\servicesStatus.txt"
Send-MailMessage -Subject "Service Status" -From MailID@Domain.Com -To MailID@Domain.Com -SmtpServer SMTPServer -Attachments C:\Scripts\servicesStatus.txt
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Application Group - Other Server Roles

Post by PTide »

how the mail services will send an email since the VMs are in isolated network... ?
You can configure static routes in order to make your SMTP server work from within isolated environment. Please note, that you'll need to do some manual Proxy Appliance firewall tuning, you can find info how to login into proxy here.
habibalby
Veteran
Posts: 391
Liked: 32 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Re: Application Group - Other Server Roles

Post by habibalby »

Hi Pavel,
That means within each Application Group, I have to have the SMTP server in order to use it and send-mailmessage using that server, isn't...?

thanks,
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Application Group - Other Server Roles

Post by PTide »

With proper Virtual Proxy firewall configured you can use any smtp server of your choice even your production one, if any.
habibalby
Veteran
Posts: 391
Liked: 32 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Re: Application Group - Other Server Roles

Post by habibalby »

Thanks Pavel,, let me see how this can be configured to use the production SMTP server for any virtual lab. Will give it a shot.
Regards,
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Application Group - Other Server Roles

Post by PTide »

You can configure port forwarding on your Virtual Proxy Appliance firewall. Appliance uses Debian, so iptables is the way to go - lots of info howto configure that can be found on Web.
habibalby
Veteran
Posts: 391
Liked: 32 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Re: Application Group - Other Server Roles

Post by habibalby »

Hi Guys,
I can't see much documentation on how this can be configured..
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Application Group - Other Server Roles

Post by PTide »

Hi,

Here is one example. Also please take a look at this article.

Thank you.
peabitty
Novice
Posts: 3
Liked: 2 times
Joined: Mar 03, 2014 10:01 pm
Full Name: Matt Peabody
Contact:

Re: Application Group - Other Server Roles

Post by peabitty » 2 people like this post

We have been doing something that might help out here, depending on how much you want to verify. I don't know if this is supported yet from Veeam.
We go into this folder: C:\Program Files\Veeam\Backup and Replication\Backup\SbRoles. In there are XML files that make up the SB roles for each server. You can view those roles and see the scripts test for open ports to verify all the services dependent on those ports are up. From here you could copy the XML, rename it, and change the ID portion of the XML. Then change the port in the "Arguments" part of the XML. That way you can test for services like file servers (port 445), HTTPS web servers (443), and any others you may want. These also show up in the Veeam console, but it might need a restart of the services.
Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests