Question : Dell Equallogic script to replicate ONE-to-MANY (Cascading Replication)

Current Environment
 
SITE "A"
Microsoft Windows Server 2003 environment.
20 Servers all Virtualized using VmWare ESX Server
All Virtual machines are on multiple Volumes on a Dell Equallogic PS 5000 Series SAN
 
SITE "B" - DR Site
Remote Site that all users ( 30 users ) connect to Terminal Servers in SITE "A"
1 Physical Server ( Active Directory / DNS / DHCP / Backup Exec Tape Backup)
1 Dell Equallogic PS 5000 Series SAN.
 
SITE "C" - Backup DR Site
Remote Site that all users ( 5 users ) connect to Terminal Servers in SITE "A"
1 Physical Server ( Active Directory / DNS )
1 Dell Equallogic PS 5000 Series SAN
 
All Data throughout the organization resides in Site "A"
Dell SAN in Site "A" Replicates all volumes hourly to Dell SAN in SITE "B"
 
We now want to also replicate this data to Site "C"
 
Dell has informed us that this is called "cascading replication" and is not available at this time. They have also informed us that scripts can be written to perform this task. If we use Dell " professional services" to write the scripts they will have to charge us.  They also said many clients have written these scripts in the past.
 
Does anyone have a script that will accomplish this task ? or a similar script that can be modified ?
 
My understanding is the script will need to :
1. Bring a volume online in Site "B"
2. Replicate that volume to Site "C"
3. Take the volume back offline in Site "B"
 
I have a similar question already opened regarding backing up a replicated volume. This Replication job will occur either before or after the volume backup job completes.

Answer : Dell Equallogic script to replicate ONE-to-MANY (Cascading Replication)

Very simple.
If he is connecting from the owner's home we can safely assume it will either be from the same PC or a small set of known machines.
In that case, get the computer names.
Then change the logon script that runs for everyone in a TS (USRLOGON.CMD) and at the end add something like:

IF NOT %USERNAME% == "that_particular_username" Goto End
IF %CLIENTNAME% NEQ "Computer_Name" TSLOGOFF
:End

So resuming: check if the username matches the user you want to allow. If not, simply skip to the end (meaning do nothing). But if it matches it will go to the next line and check the %CLIENTNAME% (this passes the computer name the client is connecting from). If it does NOT match the one you want to allow, run a TSLOGOFF what will kick him out of the system.
Is this what you are looking for?

Cláudio Rodrigues
Citrix CTP
Random Solutions  
 
programming4us programming4us