Comprehensive data protection for all workloads
Post Reply
brupnick
Expert
Posts: 196
Liked: 13 times
Joined: Feb 05, 2011 5:09 pm
Full Name: Brian Rupnick
Location: New York, USA
Contact:

Guest File Indexing - Possible Without RPC?

Post by brupnick »

Good morning-

I want to start implementing guest file indexing, but we have firewalls that will need to be opened between all of our domains to allow this to happen. Also, the fact that RPC requires 16,000 dynamic ports doesn't sit will with our firewall administrators (and rightfully so). There's an entry in the Veeam KB that links to a Microsoft article (http://support.microsoft.com/kb/154596) which describes how to modify the registry so that I can establish the dynamic RPC ports, but this requires making a registry change on every server in my environment (this could probably be done through GPO, but let's forget that for one minute).

My question is this: Is it possible to do guest file system indexing in VBR without using RPC? If not, has anyone limited the dynamic RPC ports as per that article with any success? How many ports did you specify and how many VMs were being indexed?
Gostev
Chief Product Officer
Posts: 31459
Liked: 6648 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by Gostev »

With VMware, it is possible without any network connectivity to guest. With Hyper-V, network connectivity and RPC is required.
brupnick
Expert
Posts: 196
Liked: 13 times
Joined: Feb 05, 2011 5:09 pm
Full Name: Brian Rupnick
Location: New York, USA
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by brupnick »

Seeing as how I'm using VMware, that's great! How is this done?
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by foggy »

Via guest interaction API. In case where network connection (via RPC) is not available, API is injected into guest through the ESXi host with the help of VMware Tools.
brupnick
Expert
Posts: 196
Liked: 13 times
Joined: Feb 05, 2011 5:09 pm
Full Name: Brian Rupnick
Location: New York, USA
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by brupnick »

So what do I need to do to for this to work? I ask because I created a test job that has one VM, SERVER1, that's in the same domain as my VBR server (no firewall) and one VM, SERVER2, that's in a separate domain (behind a firewall). Indexing of SERVER1 works as expected, but SERVER2 fails with a warning status and a message that reads:

Code: Select all

Failed to index guest file system. Details: RPC function call failed. Function name: [IsSnapshotInProgress]. Target machine: [SERVER2 IP ADDRESS]. RPC error:The RPC server is unavailable. Code: 1722
tsightler
VP, Product Management
Posts: 6009
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by tsightler »

It should require no special configuration but sometimes I've seen it fail with strange issues. Logs should tell all.
chadtandy
Enthusiast
Posts: 36
Liked: never
Joined: Feb 09, 2010 8:26 pm
Full Name: Chad
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by chadtandy »

brupnick wrote:So what do I need to do to for this to work? I ask because I created a test job that has one VM, SERVER1, that's in the same domain as my VBR server (no firewall) and one VM, SERVER2, that's in a separate domain (behind a firewall). Indexing of SERVER1 works as expected, but SERVER2 fails with a warning status and a message that reads:

Code: Select all

Failed to index guest file system. Details: RPC function call failed. Function name: [IsSnapshotInProgress]. Target machine: [SERVER2 IP ADDRESS]. RPC error:The RPC server is unavailable. Code: 1722
We received those errors also when initially setting Veeam up, it was described to me that Veeam tries RPC first and then goes to the guest API connection, so if it errors out you get the RPC error. In our case it was permissions for the server not set correctly, but the RPC error sent us on a wild goose chase first.

-Chad
brupnick
Expert
Posts: 196
Liked: 13 times
Joined: Feb 05, 2011 5:09 pm
Full Name: Brian Rupnick
Location: New York, USA
Contact:

Re: Guest File Indexing - Possible Without RPC?

Post by brupnick » 1 person likes this post

It turns out that everyone was correct. My RPC calls were failing (as expected) and the system was failing over to VIX after all (thanks Gostev, foggy, and tsightler). As Chad mentioned, the error is somewhat misleading in that both RPC and VIX were failing, but only RPC was mentioned in the errors. My issue was that, although I thought I had granted all the permissions noted here --> http://forums.veeam.com/viewtopic.php?f ... 78&start=0, I missed Virtual machine --> Interaction --> Acquire guest control ticket privilege. Once I added this to my custom VBR permission set, the indexing worked as expected.

I have updated my development jobs so that they will try to index tonight and based on my testing results, I'm optimistic that I won't have any issues. Hopefully this will work just like my tests and I can avoid opening any ports for RPC.

Thank you everyone for your help!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Paul.Loewenkamp and 261 guests