Gladinet Cloud Enterprise Multiple Zone Support

When you use Gladinet Cloud Enterprise to setup your own file sync and share solution,  sometimes you have files coming from multiple sites that you do not wish to have replication into one site. However, you have users from multiple sites that mostly use the files coming from their own site instead of doing cross-site access.

For the multiple site with replication solution, that is the File Server Agent solution, which we covered in the past. Now today’s article is about multiple sites without replication. So you want users in NY accessing the files from New York and you want users from LA accessing the files from Las Angeles.

Here is the video about the setup.

For more information, please visit www.gladinet.com and go to the enterprise section.

Appendix: The PowerShell Scripts

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> Import-Module .\GCEAutomation.dll

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $login = Get-GceLogin admin@local dd

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $login


Cookie                 : yBSXUdUzdayWcQz0vuRzMrl4UT7uT4JzeCf9toH7RMUBlu08LO2NgzGRz0I3UCcyY2wB5/uJUhVzT0dxqRn79E0108SQyGUPNkGUagQwIM
                         dGs3UZ
NSEndPoint             : http://la.gladinet.com/namespace/n.svc/
LSEndPoint             : http://localhost:8080/localstor/n.svc/
RelayServer            : la.gladinet.com:8888
Hours                  : 4
User                   : user.SingleUser
PortalServer           : http://la.gladinet.com/portal/
BrandingProductName    :
KeepCmdChannel         : False
SupportSetLastModified : True
WCVersion              :
ForceVersioned         : False
Success                : True
Reason                 :
Context                :
Context1               :

 


PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1 = Get-GceUserInfoByEmail -Email nyuser1@gladinet.com -LoginToken $login

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1


User     : user.SingleUser
Success  : False
Reason   : Object reference not set to an instance of an object.
Context  :
Context1 :

 


PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $login.User.DomainId

Guid                                                                                                                                               
----                                                                                                                                               
bae1c402-cdfb-4fd9-865d-50b067d38be6                                                                                                               

 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $users = Get-GceTenantUsers -TenantGuid $login.User.DomainId
cmdlet Get-GceTenantUsers at command pipeline position 1
Supply values for the following parameters:
LoginToken:
PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $users = Get-GceTenantUsers -TenantGuid $login.User.DomainId -LoginToken $login.Cookie

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $users


UserList : {Default, ny, la}
Success  : True
Reason   :
Context  :
Context1 :

 


PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1 = Get-GceUserInfoByEmail -Email nyuser1@gladinet.com -LoginToken $login.Cookie

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1


User     : user.SingleUser
Success  : True
Reason   :
Context  :
Context1 :

 


PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1.User.UserGuid

Guid                                                                                                                                               
----                                                                                                                                               
0d7fd04b-fd8e-432a-b26d-c2107f383a41                                                                                                               

 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result = Set-GceUserAssignedZone -UserID $nyuser1.User.UserGuid -ZoneName NY -LoginToken $login.Cookie

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result

                              Success Reason                               Context                              Context1                           
                              ------- ------                               -------                              --------                           
                                 True                                                                                                              

 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1cfg = Get-GceLocalStorageConfig -DataAtRest $False -Password dd -StorageLocation c:\ny-user1 -UserName jerry -IsTeamUser $True

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $nyuser1cfg
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U3RvcmFnZURlc2NyaXB0b3I+PE5hbWU+SG9tZSBTdG9yYWdlPC9OYW1lPjxHdWlkPjQxZWQ2YzI2LWQ1ZjgtNDI0Zi1hMzEx
LWJiNGZmODgxNDBlNTwvR3VpZD48RW5kcG9pbnQ+aHR0cDovL2xvY2FsaG9zdDo4MDgwL2dsYWRmaWxlc3ZyL2Yuc3ZjLzwvRW5kcG9pbnQ+PFNlcnZpY2VUeXBlPjg8L1NlcnZpY2VUeXBlPjxR
dW90YT4wPC9RdW90YT48RXhwaXJlPjk5OTktMTItMzEgMjM6NTk6NTlaPC9FeHBpcmU+PE5hbWVBbGlhcyAvPjxVc2VyTmFtZT5qZXJyeTwvVXNlck5hbWU+PFNlY3JldEtleT5kZDwvU2VjcmV0
S2V5PjxCdWNrZXQgLz48QWNjZXNzUG9pbnQ+YzpcbnktdXNlcjE8L0FjY2Vzc1BvaW50PjxEYXRhQXRSZXN0RW5jcnlwdGlvbj5mYWxzZTwvRGF0YUF0UmVzdEVuY3J5cHRpb24+PC9TdG9yYWdl
RGVzY3JpcHRvcj4=

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result1 = Set-GceUserStorageConfig -StorageConfigure $nyuser1cfg -UserID $nyuser1.User.UserGuid -LoginToken $login.Cookie

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result1

                              Success Reason                               Context                              Context1                           
                              ------- ------                               -------                              --------                           
                                 True                                                                                                              

 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $lauser1 = Get-GceUserInfoByEmail -Email lauser1@gladinet.com -LoginToken $login.Cookie 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $lauser1


User     : user.SingleUser
Success  : True
Reason   :
Context  :
Context1 :

 


PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $lauser1.User.UserGuid

Guid                                                                                                                                               
----                                                                                                                                               
20f8b426-70f5-4c2d-98b0-7b727d403758                                                                                                               

 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result2 = Set-GceUserAssignedZone -UserID $lauser1.User.UserGuid -ZoneName LA -LoginToken $login.Cookie

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result2

                              Success Reason                               Context                              Context1                           
                              ------- ------                               -------                              --------                           
                                 True                                                                                                              

 

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $lauser1cfg = Get-GceLocalStorageConfig -DataAtRest $False -Password dd -StorageLocation c:\la-user1 -UserName jerry -IsTeamUser $True

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result4 = Set-GceUserStorageConfig -StorageConfigure $lauser1cfg -UserID $lauser1.User.UserGuid -LoginToken $login.Cookie

PS C:\Program Files (x86)\Gladinet Cloud Enterprise> $result4

                              Success Reason                               Context                              Context1                           
                              ------- ------                               -------                              --------                           
                                 True                                                                                                              

Comments

Popular posts from this blog

Access and Backup to HP Cloud Storage

7 Biggest Limitations of SharePoint Online And How to Fix Them

Optimizing 3D Rendering and AutoCAD Performance in Remote Work Environments