PowerShell script exchange
Post Reply
kelvinkoh
Novice
Posts: 5
Liked: never
Joined: Aug 20, 2022 3:55 pm
Full Name: kelvin koh
Contact:

how to get Repository Gateway Info for EMC DD Repository

Post by kelvinkoh »

HI

I want to use power script to get the Gateway IP or Hostname configured in the EMC DD repository, i m able to get most information except Gateway Hostname/IP

thank you,
HannesK
Product Manager
Posts: 14839
Liked: 3085 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by HannesK »

Hello,
and welcome to the forums.

What code do you use? get the info with

Code: Select all

$repo = Get-VBRBackupRepository -Name "DataDomain"
$repo.GetHost()
Best regards,
Hannes
kelvinkoh
Novice
Posts: 5
Liked: never
Joined: Aug 20, 2022 3:55 pm
Full Name: kelvin koh
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by kelvinkoh »

HI,

i use the following code and the result is the same with the code you provided.

(Get-VBRBackupRepository -Name "xxx").host

the output return
Info:
parentID:
Id:
Uid:
Name:
Reference:
Description:
IsUnavailable:
Type:
ApiVersion:
PhhysicalId:
ProxyServicesCreds:

but i dont see gateway server info.
HannesK
Product Manager
Posts: 14839
Liked: 3085 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by HannesK »

"Name" is the gateway server (DNS name or IP address).

Do you have dedicated gateway, or automatic selection? If automatic selection, then the mount server is the gateway server.
kelvinkoh
Novice
Posts: 5
Liked: never
Joined: Aug 20, 2022 3:55 pm
Full Name: kelvin koh
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by kelvinkoh »

HI,

i have dedicated gateway selection for each repository as recommended from DD document ( dedicated proxy > gateway > repository). i m able to get the mouth server info, wonder why there is no info for the gateway server.
HannesK
Product Manager
Posts: 14839
Liked: 3085 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by HannesK »

Hello,
I see the gateway with dedicated gateway selection. "fileserver-01" is my gateway server. The mount server is not shown. I can only suggest to check the output with support, why it's different than my output.

Code: Select all

(Get-VBRBackupRepository -Name "DataDomain").Host


Info               : fileserver-01 (Microsoft Windows server)
ParentId           : 00000000-0000-0000-0000-000000000000
Id                 : 6505fe88-194c-46aa-aeda-c74a22d323e8
Uid                : 6505fe88194c46aaaedac74a22d323e8
Name               : fileserver-01
Reference          : 
Description        : Created by HK-VBR-02\Administrator at 12.05.2020 09:58.
IsUnavailable      : False
Type               : Windows
ApiVersion         : Unknown
PhysHostId         : 6cb5d5cd-6984-40df-8a15-76d002f59b8a
ProxyServicesCreds : Veeam.Backup.Common.CCredentials


Best regards,
Hannes
kelvinkoh
Novice
Posts: 5
Liked: never
Joined: Aug 20, 2022 3:55 pm
Full Name: kelvin koh
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by kelvinkoh »

Hi

mount server you need to get from difference way. by the way the Name's Field is actually a gateway server?
HannesK
Product Manager
Posts: 14839
Liked: 3085 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: how to get Repository Gateway Info for EMC DD Repository

Post by HannesK »

by the way the Name's Field is actually a gateway server?
yes. Just try it out and change it ;-)
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests