| | | Forum Newbie
       
Group: Forum Members Last Login: 2/3/2011 3:15:21 AM Posts: 6, Visits: 17 |
| | Hello together, As i installed Replications all .pwc files are running fine on the remote Clients from the defined replication-server. But when i use commands or prism scripts i dont now wher to set the variables %server% and %DistShare%. As this are Prism internal Variables i think i have to use them in a pts script, as desribed in Prism Help. Is this the correct syntax? /Run <\%DistShare%\XXX.EXE> or /Run \\%server%\%DistShare%\XXX.EXE and do i have to give the path to the PTClient.exe as it is installed as a service on the client and running? When i have to give the path is the syntax "%SystemDrive%\%programfiles%\NewBoundary\PTClient.exe" correct?? My Questions are cause i got error messages "Task File not found" or replicated task does not exist I think the developement of replicated tasks hasn`t a good description in the Help Files. The Scripting is a heavy Tool with great possibilities but i have the need for a good explanation. Thanks in advance rrast |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 2/12/2011 11:11:06 PM Posts: 742, Visits: 1,211 |
| If you are running an environment with Distribution Points, then you will need to use the %DistShare% variable when using scripts that are being pushed out to your distribution clients.
The variable %DistShare% points to the server's share location that you set up when setting up the distribution point, so you do not need to also add in the %server% variable before like in your example.
The syntax in a Prism script would look like this:
/Run %DistShare%\XXX.exe
You do not need to point to the Ptclient.exe on the local machines since they will already know to use that program to open up scripts.
New Boundary Technologies Support support@newboundary.com |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 2/3/2011 3:15:21 AM Posts: 6, Visits: 17 |
| | May be i have an error in reasoning. My Packages and File Folders are stored on the PrismServer here in house. The Replication shares on the Servers somewhere in the world. The replicated files on the servers there in Folders done by Prism. When i use the %distshare% variable is it also used for the packages and tasks here in house? So i am using servers for the replication destination instead of some computers there. I think that prism, if a task is allocated to a computer connected to the replication destination, will look first in the the folder on the ShareServer and the variable gives the correct path to the files, i hope. Does prism look from wich IP-Range the computer comes and wich Server is the Replication for it and then replace the %distshare% with the correct \\server\path to files\ ? And is prism doing that also for the homeServer? Or have i to dclare a replication for the homeserver too cause we work with V-LAN ranges here? Is it possible that i my fault is that i did not use a replication for in haouse too? Thanks rrast |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 2/12/2011 11:11:06 PM Posts: 742, Visits: 1,211 |
| The %DistShare% variable does not default to the %server%\share area for your non distributed clients. You will need to make a seperate script for your distributed clients, and a seperate script for your non distributed clients.
One of the reasons you were running into those task file not found errors could have been because the %distShare% was resolving incorrectly on the non-distributed clients.
New Boundary Technologies Support support@newboundary.com |
| |
|
|