All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
I have been using the following script for years on 2008 R2 machines, but I just cannot get 2012 R2 machines to launch any 64bit command, whether powershell or cmd. Can you advise ?
SET EL=
for /F "tokens=6 delims= " %%A IN ('"%WinDir%\Sysnative\dfsrdiag.exe backlog /rmem:File02 /rgname:Replicationgroup1 /rfname:Foldername /smem:file01"') DO SET EL=%%A & GOTO finish
@echo Should Never Happen
:FINISH
IF %EL%==is SET EL=0
@echo SCRIPTRES:Host is alive:%EL%
EXIT /B %EL%
I'm an idiot... hah. I am running it on a non DFS machine. It's been a long day. But... without having an agent installed - is it possible to run this on another machine ?
Run script on another system without RMA agent?
If you install some service that will start script, then yes. HostMonitor can start service on remote system, it will execute script...
Hey Alex!
I may try pstools first.
This whole thing would go away if you would compile some 64 bit agents, your know, then we could use powershell.
It's a tick-box - why don't you ?
Not sure how 64-bit RMA will help.
Existing 32-bit RMA can start 64bit powershell when you need.
It's a tick-box - why don't you ?
Tick box? A lot of code should be checked to make sure everything will work correctly. E.g. pointers will require 8 bytes instead of 4.
Sure, we can done this but so far we do not see advantages.