Application Group - Other Server Roles

VMware specific discussions

Application Group - Other Server Roles

Veeam Logoby habibalby » Tue Dec 22, 2015 8:46 am

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,
habibalby
Expert
 
Posts: 350
Liked: 23 times
Joined: Mon Jul 18, 2011 9:30 am
Location: Bahrain
Full Name: Hussain Al Sayed

Re: Application Group - Other Server Roles

Veeam Logoby foggy » Tue Dec 22, 2015 9:05 am

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.
foggy
Veeam Software
 
Posts: 14742
Liked: 1079 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Application Group - Other Server Roles

Veeam Logoby habibalby » Tue Dec 22, 2015 9:08 am

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
Expert
 
Posts: 350
Liked: 23 times
Joined: Mon Jul 18, 2011 9:30 am
Location: Bahrain
Full Name: Hussain Al Sayed

Re: Application Group - Other Server Roles

Veeam Logoby habibalby » Tue Dec 22, 2015 9:35 am

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
habibalby
Expert
 
Posts: 350
Liked: 23 times
Joined: Mon Jul 18, 2011 9:30 am
Location: Bahrain
Full Name: Hussain Al Sayed

Re: Application Group - Other Server Roles

Veeam Logoby PTide » Tue Dec 22, 2015 10:38 am

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.
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Application Group - Other Server Roles

Veeam Logoby habibalby » Tue Dec 22, 2015 10:50 am

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,
habibalby
Expert
 
Posts: 350
Liked: 23 times
Joined: Mon Jul 18, 2011 9:30 am
Location: Bahrain
Full Name: Hussain Al Sayed

Re: Application Group - Other Server Roles

Veeam Logoby PTide » Tue Dec 22, 2015 11:09 am

With proper Virtual Proxy firewall configured you can use any smtp server of your choice even your production one, if any.
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Application Group - Other Server Roles

Veeam Logoby habibalby » Tue Dec 22, 2015 11:10 am

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,
habibalby
Expert
 
Posts: 350
Liked: 23 times
Joined: Mon Jul 18, 2011 9:30 am
Location: Bahrain
Full Name: Hussain Al Sayed

Re: Application Group - Other Server Roles

Veeam Logoby PTide » Tue Dec 22, 2015 11:29 am

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.
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Application Group - Other Server Roles

Veeam Logoby habibalby » Thu Dec 24, 2015 7:37 am

Hi Guys,
I can't see much documentation on how this can be configured..
habibalby
Expert
 
Posts: 350
Liked: 23 times
Joined: Mon Jul 18, 2011 9:30 am
Location: Bahrain
Full Name: Hussain Al Sayed

Re: Application Group - Other Server Roles

Veeam Logoby PTide » Thu Dec 24, 2015 8:39 am

Hi,

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

Thank you.
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Application Group - Other Server Roles

Veeam Logoby peabitty » Mon Dec 28, 2015 3:31 pm 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.
peabitty
Service Provider
 
Posts: 3
Liked: 2 times
Joined: Mon Mar 03, 2014 10:01 pm
Full Name: Matt Peabody


Return to VMware vSphere



Who is online

Users browsing this forum: No registered users and 17 guests