Page 1 of 1 1
Topic Options
#31405 - 2002-10-25 04:40 PM Reboot servers
LVF Offline
Fresh Scripter

Registered: 2002-10-25
Posts: 10
Hi there,
I like to reboot our server by a kix script. Now this is not a problem but i also want to check if they come up smooth, but also for example if the logon service is running.
If i cannot ping a server or the logon server isn't running then exit the script.
Is there anyone who can help?

Top
#31406 - 2002-10-25 04:42 PM Re: Reboot servers
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Search the BBS for 'check service', this will give you a list of UDFs that check for the availability of services. Search also for WSHPing() which is a ping UDF.
_________________________
There are two types of vessels, submarines and targets.

Top
#31407 - 2002-10-25 04:43 PM Re: Reboot servers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
server or servers?
locally or remotely?

you know shutdown.exe?
_________________________
!

download KiXnet

Top
#31408 - 2002-10-31 04:17 PM Re: Reboot servers
LVF Offline
Fresh Scripter

Registered: 2002-10-25
Posts: 10
Can anyone help me to understand the UDF's
For example how can i check if the server is respond to a ping with WSHPing(). The server name is LVFAP1 and it's IP adress is 192.26.111.2

Top
#31409 - 2002-10-31 04:19 PM Re: Reboot servers
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See How to use UDFs and read the UDF headers.
_________________________
There are two types of vessels, submarines and targets.

Top
#31410 - 2002-10-31 04:19 PM Re: Reboot servers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
haven't used wshping, but basic usage for udf can be found in faq.

also, what parameters the udf needs and what it returns is descriped in the udf-topic

{edit}
jens is using checker.

[ 31. October 2002, 16:20: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1114 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.055 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org