Web based Windows service management question

  • Thread starter Thread starter Manuel
  • Start date Start date
M

Manuel

Hi .net gurus,

I need suggestion on the differents possibilities

THE NEED
------------
Web page that is able to stop/start different services on local AND
remote server.
Real life explanation : Those service are dedicated online game server
controled by
windows services. One for each


THE CONTEXT
------------
The page will be on only one server. The server will have access to an
MS-Access db that contain 3 tables.
1. USER_LIST : (username, password to acces the stop/start
page, full name, etc)
2. SERVICE_LIST : (description, servicename, serverIp, serverPort,
etc)
3. USER_SERVICE : Tables that contain the rights : who can access
what


NOTES
------------
1. Im using the ServiceController class to retreive and set the
services status
2. Login page and authetification is already made on the main
server.
3. Currently work on main local server
4. Use the XML attribute <authentification
impersonate=true></authetificate>
5. Using win2k dev pc with VS.Net 2002 while productions servers
will
be on Win 2000/2003 servers.


SOLUTION
------------
Create "Someting" that will be installed on each server we want
access to and
use the namespace nedded to interact between the main server web
page an the "Something"

"Something" could be
A) Windows service and socket namespace (socket, tcplistener,
tcpclient, etc;)
B) XML Web service
C) Remoting architecture

COMMENTS
------------
1. We need to make sure that access to other server have a decent
security
2. I want it to be the fastest possible. The main reason is that I
will retreive
info on multiple servers before presenting an available list to
the user.
Each reaload of the main we page will fetch all status
according to the
content of the USER_SERVICE table
3. An other alternative would be to use the ServiceController
class and connecting
to a remote machine when using the constructor. I tried and
never found a way
to make it working.
4. The asp.net web page is done with vb.net while the solution to
be installed on remote
server will be implemented in C#


------------
Mainly im asking what are the pro & cons of each solutions. I would
really appreciate
the community opinion on this. Im a long time VB6 devlopper and fairly
new to .net


TIA

Manuel Dion
(e-mail address removed)


PS: English is my second language so if there is error
in my english, remember I tried my best!
 
Back
Top