-
- Veteran
- Posts: 392
- Liked: 33 times
- Joined: Jul 18, 2011 9:30 am
- Full Name: Hussain Al Sayed
- Location: Bahrain
- Contact:
Application Group - Other Server Roles
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,
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,
-
- Veeam Software
- Posts: 21138
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Application Group - Other Server Roles
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.
-
- Veteran
- Posts: 392
- Liked: 33 times
- Joined: Jul 18, 2011 9:30 am
- Full Name: Hussain Al Sayed
- Location: Bahrain
- Contact:
Re: Application Group - Other Server Roles
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... ?
Can you help with this script ?
Thanks,
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
Thanks,
-
- Veteran
- Posts: 392
- Liked: 33 times
- Joined: Jul 18, 2011 9:30 am
- Full Name: Hussain Al Sayed
- Location: Bahrain
- Contact:
Re: Application Group - Other Server Roles
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
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Application Group - Other Server Roles
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.how the mail services will send an email since the VMs are in isolated network... ?
-
- Veteran
- Posts: 392
- Liked: 33 times
- Joined: Jul 18, 2011 9:30 am
- Full Name: Hussain Al Sayed
- Location: Bahrain
- Contact:
Re: Application Group - Other Server Roles
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,
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,
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Application Group - Other Server Roles
With proper Virtual Proxy firewall configured you can use any smtp server of your choice even your production one, if any.
-
- Veteran
- Posts: 392
- Liked: 33 times
- Joined: Jul 18, 2011 9:30 am
- Full Name: Hussain Al Sayed
- Location: Bahrain
- Contact:
Re: Application Group - Other Server Roles
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,
Regards,
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Application Group - Other Server Roles
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.
-
- Veteran
- Posts: 392
- Liked: 33 times
- Joined: Jul 18, 2011 9:30 am
- Full Name: Hussain Al Sayed
- Location: Bahrain
- Contact:
Re: Application Group - Other Server Roles
Hi Guys,
I can't see much documentation on how this can be configured..
I can't see much documentation on how this can be configured..
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
-
- Novice
- Posts: 3
- Liked: 2 times
- Joined: Mar 03, 2014 10:01 pm
- Full Name: Matt Peabody
- Contact:
Re: Application Group - Other Server Roles
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.
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.
Who is online
Users browsing this forum: Semrush [Bot] and 57 guests