Home

Service Protector User`s Manual - Core Technologies Consulting, LLC

image

Contents

1. Service Protector User s Manual Version 4 5 a 5 6 7 8 MOI on e T Key Features amp Benefits 0 ecccccccceceeeeeeeeeeeeeceeeeeeeeeeeeeeeeseaaeees System Requirements scion ices oeec eee cceaicee Using Service Protector ccccceeeeeceseeceeeeeeeeeeeeeeeneeeeeeeeeeeeeenees 4 1 The Main Window cccccccceececeeeeeceeeeeeeeeeeeeeeeeneeeeeeeeeeeeeees 4 2 The Menu ia seat cc ve pcdcateanacscaneatccactegiccaieceiceveageaeaunnee 4 3 The Toolbar oe sscecs criss ec opsccestereceisecceresntuneedttessgcesnendemeeedsce 4 4 The Task Tray ICOM xscsccvessie cee ccakece ests teeetalaciestsees ta etaatelcdee 4 5 Adding a Protector sc ieateetatdatehceiiadedende tedaembadedansdacoheebdatohannies 4 5 1 The General Tab cccccccceceeeeecececeeeeeeeeeeeeeeeenneeeeeeees 45 2 The Monitor TAO scccececsvexronoxstsescecsuicsceusieesenuceieruenseacteensutee 4 5 3 The Email Tab eeeesoeeennneeeeeeeseeeenrnnnrrneeerrrennnnnrnserrrnee 4 5 4 WMG Extras Tab eeeeeeseeeeeeeeseseseernrrnresserrrrrnnnnreseserrnne 4 6 Editing Protector Settings cccccceceeeeeeeeeeeeeeeeeeeeeeeeeeeeees 4 7 Starting a PROLS GION enc eecne aiscscerre acess peeraeaeeuetsoanevamennsneiian 4 8 Stopping a PROV CUO scssi smrce 4 9 Removing a Protector cceceeccccccceceeeeeeeeeeeeceeeeeeeeeeeeentees 4 10 Reporting on a Service s Activities ccceeeceesseeeeeeeeeeeees 4 11
2. Kiosk in the lobby Send a test message Note Important events are always recorded in the Windows Event Log accessible from the Tools menu Version 4 5 To The target email address es Separate multiple addresses with a space or comma Whenever the service stops has to be restarted Check to send an email when the service being monitored stops prematurely crashes Copyright 2010 2014 Core Technologies Consulting LLC Page 17 of 34 Service Protector User s Manual Version 4 5 Whenever a message box is dismissed Check to send an email whenever Service Protector dismisses a message box on behalf of the service being monitored The full text of the message box will be included in the email Every day at midnight reporting the service s activities Check to senda nightly email detailing the service s activities over the previous day A sample report is shown in section 4 12 Every Sunday at midnight reporting the service s activities Check to senda weekly email detailing the service s activities over the previous week A sample report is shown in section 4 12 Include this additional information in the email Optionally specify some text that will be included in each email message sent The text will appear in the body in a line labeled Additional If you expect many emails from various similar installations you are encouraged to enter an identifier of some kind her
3. Service Protector can periodically run a program a Sanity check utility to periodically check if the service being monitored is functioning normally The utility should exit with a return code of e 0 when the check succeeds e 1 when the check fails and the service should be stopped and restarted as you have configured e 10 when the check fails and the computer should be rebooted e 100 when the check fails and your service should be stopped and not restarted e any other value when the check fails due to an error independent of the service being monitored such as an error internal to the utility or to simply indicate failure without causing a restart In the last case the service is not restarted but a message is written to the event log and an email is sent if so configured Note that if the sanity check utility fails to complete in 120 seconds the service will be restarted The popular ConnectToSocketSanityCheck program with full source code is available in the SanityCheck sub directory Given a host and port on the command line it returns 0 if a socket could be opened 1 if the socket could not be opened and 1 if there was an internal error initializing the sockets API It can be used to check if a TCP IP application is accepting connections 7 1 Special Command Line Variables Service Protector is able to pass your Sanity check program one or more special values Compose your command line with th
4. from the Protector menu This will bring up the Edit View Protector dialog i Edit View Protector Configure service protection settings Edit View Protector settings Click the Save button to commit your changes General Monitor i Email Extras Service to protect Cisco AnyConnect YPN Agent Immediately C Not immediately but On the next hour On the next hour or half hour After 15 minutefs At 9 27 54 PM 7 Stop trying after 5 Al attemptsin 1 al minute s E Run this command prior to restarting the service aire The Edit View Protector dialog is identical to the Add Protector dialog described in section 4 5 with the only difference being that the service being protected cannot be changed Please see section 4 5 for a description of the Add Protector dialog Copyright 2010 2014 Core Technologies Consulting LLC Page 23 of 34 Service Protector User s Manual Version 4 5 Click on the Save gt gt or Save amp Restart gt gt button to commit your changes Note that if your Protector is running it will be briefly stopped while changes are saved and then restarted in a few seconds The service being protected will not be stopped Copyright 2010 2014 Core Technologies Consulting LLC Page 24 of 34 Service Protector User s Manual Version 4 5 4 7 Starting a Protector Start a Protector by highlighting its
5. second s x Run Enter the full command line for running the sanity check utility quoting each component that contains spaces For example C Sanity Check Connect To HTTP Port exe 10 10 10 1 80 Every Specify the time between each execution of the sanity check utility Monitor the service and stop at the following times Check to stop the service or reboot the machine at one or more specific times Use the buttons to the right to add change or remove the times to stop the service Note that the service will be restarted as per the schedule indicated on the General tab Copyright 2010 2014 Core Technologies Consulting LLC Page 16 of 34 Service Protector User s Manual 4 5 3 The Email Tab The Email tab describes the email alert settings r Add Protector Configure service protection settings N Add a new Protector Click the Save button record your settings General Monitor Email Extras Send an email to admin mycompany com Using Server smtp mycompany com SSL Authe Configure From admin mycompany com Service Prot 7 Whenever the service stops has to be restarted 7 Whenever a message box is dismissed 7 Every day at midnight reporting the day s service failures 7 Every Sunday at midnight reporting the week s service failures Include this additional information in the email max 30 characters
6. 99 Memory Avg Max 3 4MB 3 5MB amp 07 57 25 PM The service has been using on average 97 of the CPU s for longer than 2 minutes It will be terminated Copyright 2010 2014 Core Technologies Consulting LLC Page 26 of 34 Service Protector User s Manual Version 4 5 4 11 Exporting a Protector to a File XML Service Protector allows you to export your Protector s settings to a XML file by either 1 selecting Export from the Protector menu and subsequently specifying an XML file to be created or 2 dragging and dropping from the list of Protectors to Windows Explorer or the desktop etc to create a new XML file in the specified location The XML file created can be taken to another machine and imported there to re create the Protector on that machine 4 12 Exporting all Protectors to a Directory All Protectors can be exported at once by selecting Export all from the Protector menu You will be prompted for a directory and an XML file will be created there for each Protector Each file name created will resemble lt service name gt _ serviceprotector xml For example if you have a service called Firewall then the exported file will be named Firewall_ serviceprotector xml The XML files created can be taken to another machine and imported there to re create the Protectors on that machine 4 13 Importing a Protector from a File XML Service Pro
7. Exporting a Protector to a File XML cece 4 12 Exporting all Protectors to a Directory ccceeeeeeteee 4 13 Importing a Protector from a File XML eeeeeeeeeees 4 14 Adding a Copy of a Protector cceeeeeeeeceeeeeeeeeeeeeeeees Licensing amp Registration 0 eee eeeceeeeeee eee eeeeeeeeeeeeeeeeeeeeeeeeenetee Troubleshooting and Reporting Problems eeseeeeeeeeeeeees Appendix l The Sanity Check Utility ccc eeeeeeeeeeeeeetteeeeeees 7 1 Special Command Line Variables c ceeceeeeeeeeeeeeees 7 2 Checking a Web Server with http ping eeeeeeeeees 7 3 Other Sanity Check Utilities eee ceeeeeeeeeeeeeeeeeeeeeees Appendix Il Working from the Command Line 00eeee 8 1 Importing a Protector cecccceceeeeeeeeeeeeeneeeeeeeeeeeeeeeeenaeees 8 2 Exporting a Protector coe scsiccstinasesnnceeneventassanadeawerenteemenadaenste 8 3 Starting amp Stopping a Protector eeeeeeeeeeeeeeeeeeeeeteeeeeeees Copyright 2010 2014 Core Technologies Consulting LLC Page 1 of 34 Service Protector User s Manual 1 Introduction Version 4 5 Service Protector monitors your mission critical Windows Services and keeps them running 24 7 This manual describes how to use the Service Protector Graphical User Interface GUI which is responsible for adding and editing your service s protection s
8. mode as the standard debug assert dialogs are handled and their full textual content captured in the Windows Event Log and email Forcibly terminate the service s executable if the service is stuck Starting If your service can get stuck forever in the Starting state check this box to have Service Protector terminate it after waiting a while Specify the amount of time to wait Forcibly terminate the service s executable if the service is stuck Stopping If your service can get stuck forever in the Stopping state check this box to have Service Protector terminate it after waiting a while Specify the amount of time to wait When the service stops run this program batch file Check to specify a program that will be run whenever Service Protector has detected that the service has stopped Note that this program will be invoked under all circumstances independently of how the service stops normally or abnormally and that Service Protector will wait for it to complete except sometimes when the protection is being stopped Once all required information has been specified to your satisfaction click the Save gt gt button to add your new Protector Copyright 2010 2014 Core Technologies Consulting LLC Page 22 of 34 Service Protector User s Manual Version 4 5 4 6 Editing Protector Settings Edit a Protector s settings by either double clicking on its entry or highlighting its entry and choosing Edit View
9. the program or when a message is added to the event log If you find the program useful we encourage you to license it The small licensing fee charged will fund continued development of Service Protector and will entitle you to expedited support from Core Technologies Consulting LLC the author of the software Please see http www CoreTechnologies com products ServiceProtector for the latest licensing and registration information The software can be purchased there as well Visa MasterCard PayPal Amazon accepted Pricing is as follows subject to change please check our web site for the current 52 49 a 25 discount Copyright 2010 2014 Core Technologies Consulting LLC Page 29 of 34 Service Protector User s Manual Version 4 5 6 Troubleshooting and Reporting Problems If you encounter a problem while using Service Protector please send email to support CoreTechnologies com Be sure to include the following information e Your Operating System e The version of Service Protector in use e Detailed steps for reproducing any software bugs issues Feel free to send requests for enhancements to the same address or fill in our Feedback Form http www coretechnologies com products ServiceProtector ServiceProtectorFee dbackForm html Copyright 2010 2014 Core Technologies Consulting LLC Page 30 of 34 Service Protector User s Manual Version 4 5 7 Appendix I The Sanity Check Utility
10. 008 R2 2008 2003 x86 and x64 versions e 6 MB free hard drive space for installation files The Service Protector components that monitor your service are designed to be extremely frugal with machine resources They almost always consume less than 1 of the CPU less than 20 MB of RAM and don t fall victim to the Memory Growth characteristic of many applications today Copyright 2010 2014 Core Technologies Consulting LLC Page 4 of 34 Service Protector User s Manual Version 4 5 4 Using Service Protector 4 1 The Main Window f Service Protector File View Protector Tools Help ae EB Service a 000 Service State Cisco AnyConnect VPN Agent Bahai L A Protected J g RY Windows Firewall Running 7 Protected For Help press FL When started Service Protector displays a list of the services it is protecting The list will be empty when Service Protector is run for the first time The above screenshot shows two services being protected one per line See section 4 5 for adding a service to be protected Each entry in the list is called a Protector A Protector protects a single service that is each service being protected is managed by a Protector Hovering over the first column in the list the service s name will pop up a convenient tooltip summarizing the Protector s settings Copyright 2010 2014 Core Technologies Consulting LLC Page 5 of 34 Service Protector User s M
11. LLC Page 15 of 34 Service Protector User s Manual Version 4 5 repeatedly over a 30 second time period and only take action if the memory threshold is consistently exceeded Monitor the service and stop it whenever it hogs the CPU for more than Check to have Service Protector stop the service if it uses too much of the CPU for longer that the specified time in minutes The service is designated a CPU hog if it consumes more than the specified percent of a single CPU as seen in the Windows Task Manager over the given duration Monitor the service and stop it whenever it hangs Check to have Service Protector automatically stop the service whenever Windows classifies it as Not responding as seen in the Windows Task Manager Enter the time in minutes that you wish to wait before restarting a service that remains non responsive Activating this option will also allow Service Protector to detect zombie processes which show up as running in the Task Manager but do not actively respond to the operating system Monitor the service and stop it whenever it fails a sanity check Check to periodically run your own custom utility to ensure that the service monitored is behaving normally See Appendix for details on the Sanity Check Utility Click the button to open the window to configure the sanity check program r Configure Sanity Check Run c check_server bat enia J Every 30
12. anual Version 4 5 J Service Protector File View Protector Tools WERE Help BD General Service Name Windows Firewall Restart Immediately if the service stops Stop restarting After 5 attempts in 1 minute Extras Misc Dismiss application crashed message boxes click to dismiss Note that clicking on that icon image will cause the tooltip to remain on screen instead of quickly going away Copyright 2010 2014 Core Technologies Consulting LLC Page 6 of 34 Service Protector User s Manual 4 2 The Menu Service Protector s menu contains the following entries File Exit Exit Service Protector View Toolbar Toggle viewing of the button toolbar Status Bar Toggle viewing of the status bar Large Icons View the list of Protectors as large icons Small Icons View the list of Protectors as small icons List View the list of Protectors as a list of icons Details View the list of Protectors as a report with columns Always On Top Keep Service Protector on top of other windows Hide When Hide Service Protector when the minimize button Minimized is clicked Refresh Re load the list of Protectors Auto refresh Every Automatically re load the list of Protectors every 5 5 seconds seconds Auto refresh Every Automatically re load the list of Protectors every 10 seconds 10 seconds Auto r
13. anworkstation To stop a Protector simply use STOP instead of START NET STOP ServiceProtector lt Service Name gt Copyright 2010 2014 Core Technologies Consulting LLC Page 34 of 34
14. ck programs that can be easily downloaded and used free of charge Please visit our web site to see what is available http www coretechnologies com products AlwaysUp Plugins If you don t find what you need there please send us an email describing in detail what your Sanity Check should do and we will try our best to create one for you Copyright 2010 2014 Core Technologies Consulting LLC Page 32 of 34 Service Protector User s Manual Version 4 5 8 Appendix Il Working from the Command Line Service Protector consists of two main executables ServiceProtector exe is a conventional GUI application used to manage all Protectors while ServiceProtectorAgent exe is a command line program that runs behind the scenes to protect each of your services This section discusses how to use Service Protector from the DOS command prompt Note On Windows 7 2008 and Vista be sure to run the commands from an elevated DOS prompt Both ServiceProtectorAgent exe and the NET command discussed below require administrative permissions to function properly 8 1 Importing a Protector To import and install a Protector described in an XML file run ServiceProtectorAgent exe import lt XML File Name gt where lt XML File Name gt is the full path to an XML file created by exporting a Protector A return code of 0 signals success anything else indicates failure 8 2 Exporting a Protector To export all the settings from a given Pro
15. e one that will help you to identify the source of each message you receive Please specify at most 30 characters Send a test message Clicking this button will generate a test email to the given target address es using the settings specified Configure Clicking this button will summon the Configure Email Settings dialog where details on the mail server and more can be specified Copyright 2010 2014 Core Technologies Consulting LLC Page 18 of 34 Service Protector User s Manual Version 4 5 Configure Email Settings Please specify the email address and name that you would like to appear in the From field A gt Address admin mycompany com Name 5 Service Protector optional Please specify the details of your SMTP mail server a Name IP smtp mycompany com Port 465 gt Default is 25 or 465 for SSL J This server requires encryption SSL TLS v V This server requires authentication AUTH LOGIN ad Login admin mycompany com Password eeeessese Please specify the format of the message i masa m Plain text suitable for mobile devices re HTML almost always the better choice Address The email address that will be displayed in the From field of the email messages sent by Service Protector Name The name that will be displayed in the From field of the email messages sent by Service Protector This value is optional Name IP En
16. e appropriate string and Service Protector will make the substitution before invoking your program Replacement String Replaced With SERVICEPROTECTOR_PID The program identifier PID of your running service This can be seen in the Task Manager SERVICEPROTECTOR_SERVICENAME The name of the service being protected the short name For example to have Service Protector pass your sanity check program the service s program identifier PID then your command line might resemble this C myserver my_check exe SERVICE PROTECTOR_PID Copyright 2010 2014 Core Technologies Consulting LLC Page 31 of 34 Service Protector User s Manual Version 4 5 If your service is running with PID 563 then your Sanity program will be invoked like this C myserver my_check exe 563 7 2 Checking a Web Server with http ping Our free http ping utility can also be used to ensure that your web server is serving pages This sanity check script will use http ping to try to read a given page from your server and will signal Service Protector to restart your service if the operation fails http www coretechnologies com products Service Protector check web server sanity check bat Please edit the script to specify the address of your own web server page before using it Find out more about http ping here http www coretechnologies com products http ping 7 3 Other Sanity Check Utilities We have created a few Sanity Che
17. efresh Every Automatically re load the list of Protectors every 30 seconds 30 seconds Auto refresh Don t automatically re load the list of Protectors Disabled Protector Add Add a new Protector Add Copy Add a new Protector but copy all settings from an existing Protector Import Adds a new Protector from a file Export Save the selected Protector to a file in XML Export all Save each Protector to a separate file in XML Edit View Edit View the settings of the selected Protector Start Start the selected Protector if it is not running Stop Stop the selected Protector if it is running Restart Restart the selected Protector if it is running Start all Start all Protectors Stop all active Stop all Protectors running active Restart all active Restart all Protectors running active Remove Remove the selected Protector Note does not remove the service Report Activity Today Generate and launches a HTML report on the service s activities for today Report Activity Past Week Generate and launches a HTML report on the service s activities over the past week Copyright 2010 2014 Core Technologies Consulting LLC Version 4 5 Page 7 of 34 Service Protector User s Manual Tools Help Report Activity Past 30 Days Generate and launches a HTML report on the service s activities over the past 30 days Protected Service Start Start the service being
18. entry in the list and clicking the Start toolbar button or by selecting Start from the Protector menu This functionality will not be available if the selected Protector is already active running 4 8 Stopping a Protector Stop a Protector by highlighting its entry in the list and clicking the Stop toolbar button or by selecting Stop from the Protector menu This functionality will not be available if the selected Protector is not active running 4 9 Removing a Protector Remove a Protector by highlighting its entry in the list and clicking the Remove toolbar button or by selecting Remove from the Protector menu You will be asked to confirm the removal Note that a Protector cannot be removed while it is active running Copyright 2010 2014 Core Technologies Consulting LLC Page 25 of 34 Service Protector User s Manual Version 4 5 4 10 Reporting on a Service s Activities As it monitors your service Service Protector writes relevant information to the Application section of the Windows Event Log including e CPU statistics average peak e Memory statistics average peak e Service restart events e Threshold exceeded events CPU amp memory etc Service Protector will summarize this activity in a single web page if you select Report Activity from the Protector menu and choose whether to see today s or the past week s activity The repo
19. ettings Note that once you have configured and started your service the GUI is not necessary to monitor your running service Find out more about Service Protector at its web site http www CoreTechnologies com products ServiceProtector F Service Protector Working Yi AnyConnect VPN Agent indows Firewall Trae Protector Windows Firewall has been starte e Running Running F Protected Edit View Protector Configure service protection settings Edit View Protector settings Click the Save button to commit your changes General Monitor Emai Extras Service to protect Cisco AnyConnect VPN Agent a F When the service stops restart it Immediately E Not immediately but On the next hour On the next hour or half hour After 15 minute s At 3 00 00 AM F Stop trying after 5 A attemptsin 1 S minute s X Run this command prior to restarting the service zs e cleanup bat Save gt gt Cancel Copyright 2010 2014 Core Technologies Consulting LLC Page 2 of 34 Service Protector User s Manual Version 4 5 2 Key Features amp Benefits e Monitors your service and restarts it whenever it fails e Able to manage virtually any service with minimal configuration e The intuitive GUI makes it easy to protect your service b
20. ice http www coretechnologies com products ServiceProtector HowToProtectVideo Copyright 2010 2014 Core Technologies Consulting LLC Page 12 of 34 Service Protector User s Manual Version 4 5 4 5 1 The General Tab The basic settings can be specified on the General tab Add Protector Configure service protection settings Add a new Protector Click the Save button record your settings General Monitor Email Extras Service to protect Windows Firewall F When the service stops restart it Immediately gt Not immediately but On the next hour On the next hour or half hour After 15 minute s At 2 37 19 PM Lal minute s Y 7 Stop trying after 5 A attemptsin 1 7 Run this command prior to restarting the service c cleanup bat 35 Cancel Save gt gt Service to protect Select the service that you would like to protect When the service stops restart it Check to have Service Protector restart the service whenever it stops running If not checked Service Protector will never resuscitate your service if it stops Copyright 2010 2014 Core Technologies Consulting LLC Page 13 of 34 Service Protector User s Manual Version 4 5 Restart it immediately Check to have Service Protector immediately restart the service whenever it stops running Most users will want this option to ensure that their service is always r
21. n to finish before restarting your service Copyright 2010 2014 Core Technologies Consulting LLC Page 14 of 34 Service Protector User s Manual 4 5 2 The Monitor Tab Version 4 5 The Monitor tab groups many of the settings that describe how Service Protector is to monitor and manage the service hdd Protector General Monitor Email Extras OS panels SI cca Configure service protection settings Add 4 new Protector Click the Save button record your settings Monitor the service and stop it Z Whenever its memory usage exceeds CPU threshold 95 cS Whenever it hangs for longer than J Whenever it fails a sanity check S At the following times Whenever it hogs the CPU for more than Run c check server bat Every 30 seconds 250 MB 5 minute s 3 minute s eases Ever Sunday 3 AM freboot Daily 5 PM Remove General tab will be performed Note After the service is stopped the actions specified on the Back Cancel l Save gt gt Monitor the service and stop it whenever its memory usage exceeds Check to have Service Protector monitor the service s memory use as seen in the Windows Task Manager and stop it when it exceeds the threshold value supplied in Megabytes MB Note that Service Protector will check the service Copyright 2010 2014 Core Technologies Consulting
22. play a sub menu for controlling lt Protector2 gt About Display program information Exit Exit Service Protector A Protector or its protected service can be started stopped or reported on from its sub menu 0 Hide Start Stop Cisco AnyConnect VPN Agent gt Report Today f i About Service Protector Report Week 4j Exit Copyright 2010 2014 Core Technologies Consulting LLC Page 10 of 34 Service Protector User s Manual Version 4 5 Start Start the selected application if it is not running Stop Stop the selected application if it is running Report today Generate and launches a HTML report on the application s activities for today Report week Generate and launches a HTML report on the application s activities over the past week Report Past 30 Days Generate and launches a HTML report on the service s activities over the past 30 days Copyright 2010 2014 Core Technologies Consulting LLC Page 11 of 34 Service Protector User s Manual Version 4 5 4 5 Adding a Protector To monitor and protect a service click on the Add toolbar button or select Add from the Protector menu This will summon the Add Protector dialog which consists of four tabs General Monitor Email and Extras Please see our web site for a short demonstration video showing how to protect the Windows Firewall serv
23. protected Note does not start the Protector Protected Service Stop Stop the service being protected Note does not stop the Protector Local Security Settings Policy Open the application for editing security settings for the current machine Desktop Security Settings Open the application for editing desktop security settings for the current machine Event Viewer Open the Windows Event Viewer application for examining the Event Logs Services Open the Services Control Panel application Computer Open the Computer Management Control Panel Management application Task Manager Open the Task Manager Switch to Session 0 Switches to the isolated Session 0 desktop Note that this option is only available on Windows Vista or later User s manual PDF Open this user s manual Registration Display the registration dialog for purchasing and registering Service Protector not available once registered Service Protector Home Page Web Open the Service Protector home page in your browser Your computer will need to be connected to the Internet for this to work Provide your Open the feedback web page in your browser feedback Web Please let us know what you think of Service Protector Your computer will need to be connected to the Internet for this to work Check for Updates Visit the program s web site and check if a new
24. rt will be opened in your web browser and can be saved in HTML format from the browser A sample report is below J Service Protector Agent Report for Web Server Date amp Time Thursday March 25 2010 12 00 32 AM Eastern Standard Time Computer kiosk pc 192 83 201 153 Additional XP VM Summary Wednesday 3 24 2010 Number of times run 43 Number of restarts 40 Memory Average Peak 3 5 49 0 MB CPU Average Peak 4 99 Time running 23 4 hours Availability 98 Note Today s statistics may not include all information if the service is currently running Details Wednesday 3 24 2010 Time Description 10 34 59 PM The service has been restarted run 7 10 34 55 PM Service Statistics 2010 03 24 19 57 35 2010 03 24 22 34 50 2 6 hours CPU Avg Max 0 2 Memory Avg Max 3 4MB 7 0MB 4 10 34 55 PM Service Protector Agent has detected that the service has stopped EN 10 34 45 PM A message box entitled Microsoft Visual C Runtime Library has been dismissed The message box contained the following text Runtime Error Program C Apps SPSimulator ServiceProtectorSimulator exe This application has requested the Runtime to terminate it in an unusual way Please contact the application s support team for more information 07 57 30 PM The service has been restarted run 6 07 57 26 PM Service Statistics 2010 03 24 19 10 05 2010 03 24 19 57 24 47 3 minutes CPU Avg Max 6
25. s Add Protector ae H Configure service protection settings Add a new Protector Click the Save button record your settings General Monitor Email Extras When stopping the service wait up to minute s for it to close gracefully before forcibly terminating it J Dismiss Application crashed and debugger windows Forcibly terminate the service s executable if the service is stuck F Starting for longer than 60 seconds F Stopping for longer than 60 seconds When the service stops run this program batch file Bact Cancel Save gt gt When stopping the service wait for it to close gracefully before terminating it By default Service Protector will wait for 1 minute for the service to stop gracefully before it terminates the underlying process You should increase the time here if it can take longer for your service to shutdown properly Copyright 2010 2014 Core Technologies Consulting LLC Page 21 of 34 Service Protector User s Manual Version 4 5 Dismiss cancel Application crashed and debugger windows Check to have Service Protector automatically dismiss cancel message boxes that the service being monitored or Windows may pop up while running This handles the dreaded Application Error dialog which informs of a crash but still leaves the process running in a vegetative state This option is particularly useful for developers running their services in debug
26. tector allows you to import a previously exported XML file by either 1 selecting Import from the Protector menu and selecting the XML file or 2 dragging and dropping from Windows Explorer or the desktop etc to the list of Protectors in Service Protector Importing a file will summon the Add Protector window described in section 4 5 where you can confirm settings and supply passwords if necessary prior to actually creating the Protector Copyright 2010 2014 Core Technologies Consulting LLC Page 27 of 34 Service Protector User s Manual Version 4 5 4 14 Adding a Copy of a Protector To make a copy of a Protector select it in the list and choose Add Copy from the Protector menu This will launch the Add Protector window described in section 4 5 with all settings copied from the selected Protector You will have to choose the service to protect before saving Copyright 2010 2014 Core Technologies Consulting LLC Page 28 of 34 Service Protector User s Manual Version 4 5 5 Licensing amp Registration Service Protector is free to evaluate for the first 30 days After the trial period a license must be purchased to continue usage Prior to licensing Service Protector will 1 Show a Registration dialog when it is started Follow the instructions there to purchase a license and register the application 2 Emit registration reminders whenever an email is sent from
27. tector to an XML file run ServiceProtectorAgent exe export lt Service Name gt lt XML File Name gt where lt Service Name gt is the name of the service being protected Note not the display name as seen in the Windows Services Control Panel application and lt XML File Name is the full path to the XML file to be created A return code of 0 signals success anything else indicates failure Note If your protector is configured to send email and you have provided an account for your mail server your password will not appear in the exported XML file This is for security purposes Instead you will see the text ENTER A PASSWORD You will have to replace this placeholder value with the real password if you intend to import this file into Service Protector Copyright 2010 2014 Core Technologies Consulting LLC Page 33 of 34 Service Protector User s Manual Version 4 5 8 3 Starting amp Stopping a Protector Service Protector creates a Windows Service for each Protector and protection can be stopped and started using the Windows NET command To start a Protector run NET START ServiceProtector lt Service Name gt where lt Service Name gt is the name of the service being protected Note not the display name as seen in the Windows Services Control Panel application For example if you are protecting a service named lanmanworkstation you could start it by running NET START ServiceProtector lanm
28. ter the name or IP address of your mail server The server must be able to accept and route standard SMTP traffic Please consult a system administrator if in doubt Port The numeric port on which the mail server is available Note that the default is 25 for regular SMTP servers and 465 for servers using SSL please specify one if these if in doubt This server requires encryption Check this box if the mail server uses SSL TLS or STARTTLS Select the appropriate protocol from the accompanying dropdown Copyright 2010 2014 Core Technologies Consulting LLC Page 19 of 34 Service Protector User s Manual Version 4 5 This server requires authentication Check if the server requires authentication and select the authentication method The choices are CRAM MD5 AUTH LOGIN AUTH PLAIN and AUTH NTLM A login and a password will be required for all but AUTH NTLM Login The user name login for the mail server Password The password for the mail server HTML Format Select this option to have your emails composed in rich HTML format the default Plain Text Format Select this option to have Service Protector send email in simple text with no markup This is an appropriate choice for mobile devices which can not effectively render HTML Copyright 2010 2014 Core Technologies Consulting LLC Page 20 of 34 Service Protector User s Manual Version 4 5 4 5 4 The Extras Tab This tab contains a few extra setting
29. unning 24x7 Restart it on the next hour Choose this option to have your service restarted on the next hour whenever it stops running For example if it stops at 4 23 am it would be restarted at 5 am This option can be useful for services that are run once an hour on the hour Restart it on the next hour or half hour Choose this option to have your service restarted on the next hour or half hour For example if it stops at 4 23 am it would be restarted at 4 30 am This option can be useful for services that should be run every 30 minutes Restart it after Choose this option to have your service restarted after waiting a fixed amount of time which you must specify in seconds minutes hours or days For example if set to 15 minutes and the service stops at 4 23 am Service Protector would run it again at 4 38 am Restart it at Choose this option to have your service restarted at a specific time This may be useful for service that must be run once a day at a fixed time Stop trying after Activate this option to prevent your service from being constantly restarted if it is failing to start properly Specify the maximum number of attempts to tolerate over a given time frame in minutes Run this command prior to restarting the service Specify a batch file or application to be run if there is cleanup work to be done before Service Protector restarts your service Note that Service Protector will wait for the batch file applicatio
30. ut no GUI is necessary once your service protection has been configured e Able to detect and restart services that hang hog the CPU or consume too much memory e Able to restart your service or reboot the computer at a scheduled time e e mails you with details of crashes restarts and other problems e Supports the integration of your own custom sanity check utilities executed regularly to test if your service is functioning normally or not e Automatically dismisses common Application error dialog boxes that prevent crashed services from fully exiting e Automatically dismisses Debug dialog boxes and logs the dialog box text for subsequent review by developers thus facilitating the deployment of services in Debug mode Reports all activities to the Windows Event Log Works in all virtual environments VMware Virtual PC etc Very efficient demands minimal CPU amp memory resources No programming required But perhaps most important of all Service Protector was designed and implemented by senior software engineers with over 20 years of real world experience developing robust mission critical applications Our software is of the highest quality and we stand by it without reservation Copyright 2010 2014 Core Technologies Consulting LLC Page 3 of 34 Service Protector User s Manual Version 4 5 3 System Requirements e A Pentium compatible PC e Windows 8 1 8 7 Vista XP or Windows Server 2012 2
31. version is available About Service Protector Display program information Copyright 2010 2014 Core Technologies Consulting LLC Version 4 5 Page 8 of 34 Service Protector User s Manual Version 4 5 4 3 The Toolbar For convenience the most common functionality can be accessed from the toolbar The buttons are as follows Add a Protector Edit View the selected Protector s settings Start the selected Protector aa a Stop the selected Protector Report on the selected Protector in your web browser x Remove the selected Protector i Display program information Copyright 2010 2014 Core Technologies Consulting LLC Page 9 of 34 Service Protector User s Manual Version 4 5 4 4 The Task Tray Icon When running Service Protector will display its tray icon in the notification area of the Windows taskbar pictured in the red rectangle Service Protector 2 Protectors running z p z v f a klo Bo 3 Sch Several operations can be performed from this tray icon Double clicking the icon will hide or show the Service Protector main window A right click displays the menu Hide Windows Firewall gt Cisco AnyConnect VPN Agent O i About Service Protector Hide or Show Hide or Show the Service Protector main window lt Protector1 gt Display a sub menu for controlling lt Protector1 gt lt Protector2 gt etc Dis

Download Pdf Manuals

image

Related Search

Related Contents

  Terratec SoundSystem Aureon Dual USB  (PDF) 取扱説明書  dossier enseignant - Musée départemental des Antiquités de Rouen  環境教育に活用できる学校づくり実践事例集 第3章 原理を  Dahua Technology SD6923-H surveillance camera  CABLAGE Airbags et prétensionneurs de ceintures de sécurité 88      GTV-WHDMI A.indd  

Copyright © All rights reserved.
Failed to retrieve file