Run an executable when a web address is called - windows-server-2008

I'm trying to find a way to run a dos executable when called by another server.
It's hard to explain sorry,
So I have a windows server 2008r2. On it is a dos exe that I need to run.
I also have a linux ubuntu server that hosts some SQL and web pages (apache).
Users update a table in the linux box, and when they do I need to run a dos exe on the windows box.
I don't want to use scheduled tasks on the windows box, because updates need to happen at the moment the data is changed in the linux box with little delay.
Any way anyone can think of that the linux box can 'call' the windows server to run the exe?
Thanks :)

Related

Open app as gui via powershell for a specific user

I have an app that needs to run as a GUI, I'm trying to automate it's launch at startup without the need to remote desktop to the windows server 2008 R2 and manually start it. I currently use a powershell script at startup to perform multiple tasks but have not found a way to launch this gui app in the foreground for the user. So for now I still need to remote in and manually kill / start it.
psexec.exe will help you here.
this guy can execute interactively in a remote execution. PowerShell in remoting cannot be used for interactive tasks.

"Single instance application": Multiple instances in Windows 2008 terminal server environment

I have a small VB.NET application to handles a custom URL protocol. It is set up in Visual Studio with the option to "Make single instance application". This has worked for hundreds of installations, but a recent customer is using Windows Terminal Server 2008, and it is launching multiple copies of the application. It does not seem to sense that it is already running for a specific user. BTW -
Multiple users can run it without problems in different sessions.
Is there some sort of setting on the Windows Terminal server that could cause this?
We have installed the application using install mode, and with the administrator ID.
Any ideas would be appreciated.

Can the Lotus Designer 8.5.3 FP6 client run on Windows Server 2012 Standard VM

The overall picture that I am trying to achieve is for me and three other people to connect remotely to a client's network and use Lotus Designer 8.5.3 FP6 to access the client's Domino servers. We will each have our own logons to the client's Citrix environment which runs a Windows 7 desktop, then using Remote Desktop concurrently connect to PC(s) within the client's network to run Lotus Designer from there. (Lotus Designer is not available on the Citrix desktop.)
The issue is that the client is wanting to avoid having four separate physical PCs set up waiting for us to log in. They have Windows Server 2012 Standard virtual machines available.
First question: Can the Lotus Designer client 8.5.3 FP6 run on Windows Server 2012 Standard VM? I know that it is not officially supported, but is there any reason why it wouldn't work?
If it can run, then the second question: Is it possible for all four people to use remote desktop to concurrently log in to one Windows Server 2012 Standard VM, which has a separate instance of Lotus Designer 8.5.3 FP6 installed per user? (and of course run the separate instances of Designer concurrently) Or would we need four separate Windows Server 2102 Standard VMs?
Thanks for any light that can be shed on these questions.
First of all: Designer 8.5.3FP6 will run on Windows Server 2012 although not officially supported.
To start the designer concurrently you need to "fake" a multiuser- installation:
Before installing create an extra drive, e.g. by using "subst".
You might need to do this twice, once for the user himself, once in an elevated prompt, so that installer can access it.
e.g. subst D: C:\NotesUserA
Then you install program and data directory into D:
After that you copy C:\NotesUserA\IBM\Notes to C:\NotesUserB\IBM\Notes, C:\NotesUserC\IBM\Notes, and so on.
In loginscript make sure, that for every user the right Folder is mapped as "D:".
That way it should be possible to start Notes concurrently in different sessions.

Jenkins on unix executing script on windows server

I have a CI environment set up that build my project. It creates a set of sql server files, that i want to to send to my windows server. For that im looking into using scp, by installing copssh.
scp -r /file_in_unix/ user#windows_hostname:/cygdrive/c/
I want to execute a batch file on the windows server, but dont know how to do this?
any ideas?
Quite fast workaround is just to connect your Windows machine to Jenkins as another node. Your current unix job can trigger this job after successful execution.

Which SQL server is running on a Linux Box?

I have a redhat linux server that I am trying to work out what is running on it. I have inherited it and am trying to move it to a different server.
I know there are several SQL databases running on it but I don't know what SQL package is controlling them.
Is there a way to find out?
You can use the Red Hat services command to get a list of daemons running. One of them should be the database server.
sudo service --status-all
And if that doesn't work (e.g. it's not being run as a service) you can always do
ps -ef|grep 'postgres|mysql|oracle|sql'