MedEvac Tool Version 2.11
Created Date: September 20, 2006
Updated Date: November 3, 2006
Description
The MedEvac tool is used to run checks against a Presentation Server farm to verify environment health.
This tool can be used to check the following components of a Presentation Server farm:
Prerequisites
How to use MedEvac 2.11
1. Selecting servers for testing:
a. You can manually enter a server name in the Servers field and click the Add… button.
b. You can also enumerate Terminal Servers in your Domain by specifying a Domain name in the Domain field and clicking the drop-down box under Servers.
c. You can also enumerate servers in your Presentation Server farm by specifying an XML broker in the XML Broker field, the XML Port in the XML Port field and clicking the drop-down box under Servers.
d. The server's IP addresses may also be used.
e. The server's fully qualified domain name (FQDN) may also be used.
2. Running the XML Least Loaded Server test:
a. Make sure all fields under Tests are filled out with the correct information.
b. Make sure a valid server has been added under the Servers field.
c. Select the XML Least Loaded Server check box.
d. Click the Test button.
3. Running the XML Ticketing test:
a. Make sure all fields under Tests are filled out with the correct information.
b. Make sure a valid server has been added under the Servers field.
c. Select the XML Ticketing check box.
d. Click the Test button.
4. Running the Terminal Services Test:
a. Make sure all fields under Tests are filled out with the correct information.
b. Make sure a valid server has been added under the Servers field.
c. Select the Terminal Services Test check box.
d. Click the Test button.
e. If you are currently logged on with a user that does not have proper rights to enumerate servers and sessions on the test servers, provide MedEvac with the correct credentials using the User Name, Domain, and Password fields.
5. Running the RPC test:
a. Make sure all fields under Tests are filled out with the correct information.
b. Make sure a valid server has been added under the Servers field.
c. Select the RPC Test check box.
d. Click the Test button.
e. If you are currently logged on with a user that does not have proper rights to read the test server’s registry remotely, provide MedEvac with the correct credentials using the User Name, Domain, and Password fields.
6. Running LLS RPC and Terminal Services test:
a. Make sure all fields under Tests are filled out with the correct information.
b. Make sure a valid server has been added under the Servers field.
c. Select the LLS RPC and Terminal Services Test check box.
d. Select the Terminal Services and/or RPC check box (es).
e. You can also select to run these tests on an interval by specifying:
i. A number in the Count: field, which is the amount of times the tests run.
ii. A number in the Delay: field, which is be the amount of time in seconds to wait between tests.
f. Click the Test button.
Test Details
Uninstalling MedEvac 2.11
No uninstallation is necessary; simply delete the executable from the machine.
Fixed in this Version
There was a problem with the XML tests that would cause the tests to return as failures when checking servers where the XML port was being shared with Internet Information Services (IIS). The server would not end the connection causing MedEvac to hang and eventually time out.
This problem was fixed by checking if we have reached the end of the transmission without waiting for the server to end the connection.
[Fixed in version 1.5]
MedEvac looked like it was hung while it was performing tests; a secondary thread has been added to prevent this behavior from occurring.
[Fixed in version 2.1]
When running in silent mode, MedEvac did not save a log if the Append Date to File Name option was not set in the configuration file passed to it. MedEvac now looks at both options independently when fixing this problem.
[Fixed in version 2.11]
If the ENTER key was pressed while running MedEvac with the user interface, MedEvac would exit. That is the default behavior for dialog-based applications. In this version the default behavior has been changed to start performing tests or adding servers to the list depending what field has focus.
[Fixed in version 2.11]
Added Features
You can now import and export the server lists created within MedEvac.
[Implemented in version 1.5]
Buttons for the import and save server list have been removed and placed in the Edit main menu.
[Implemented in version 2.0]
A new option in the servers' drop-down box now allows you to add all servers listed in the drop-down box.
[Implemented in version 2.0]
You can now browse for the Presentation Servers in a specific farm by specifying the XML Browser, the XML Port Number, and clicking the drop-down box for servers.
[Implemented in version 2.0]
You can now browse for the application name by specifying the XML Browser, the XML Port Number, and clicking on the drop-down box for the application name.
[Implemented in version 2.0]
The Log Window is now detached and resizable.
[Implemented in version 2.0]
Silent mode has been implemented, which allows for MedEvac to run in the background, save test results to a log file, and send emails in case of test failure.
The following procedure describes how to use this feature:
[Implemented in version 2.0]
Email alerts through Simple Mail Transfer Protocol (SMTP) have been implemented when running MedEvac in Silent Mode.
The following procedure describes how to use this feature:
1. MedEvac must run in Silent Mode using command line switches.
2. All fields pertaining to this feature must be filled out:
i. [SERVERNAME] - This variable is replaced with the server name in which the test was running on.
ii. [TESTNAME] - This variable is replaced with name of the test that failed.
iii. [ERRORNUMBER] - This variable is replaced with the error number returned by the failed test.
iv. [ERRORMSG] - This variable is replaced with the error message returned by the failed test.
[Implemented in version 2.0]
Log files are not overwritten with the Append date to log file option selected.
However, the log file is overwritten if you schedule MedEvac to run two or more times on the same day because it appends only the month, day and year to the file name.
[Implemented in version 2.0]
During the LLS (Least Loaded Server Tests) MedEvac now requests the address of the least-loaded server each time it runs the tests.
[Implemented in version 2.0]
Added a secondary thread in order to perform tests so MedEvac no longer looks like it is hung while performing tests.
[Implemented in version 2.1]
Added a progress bar to give the user an idea of how much work is left to finish all selected tests.
[Implemented in version 2.1]
Support
Support for MedEvac is limited but we still would like to hear from you so all questions, concerns, bugs and comments can be submitted to the "Comments" section on this page.
Disclaimer
These software applications are provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.
| Comment | Posted |
|---|---|
| I am also receiving an occasional "7007: A close operation is pending on the session" though everything seems to be working. My hunt for information has turned up the following: This is a Terminal Server error message. The corresponding error name is "ERROR_CTX_CLOSE_PENDING". This seems to imply that a connection was attempted to a session that was closing / logging off. I have a series of tests being performed with only a 1 second delay. I will increase the delay and see if that affects this error. | Feb 5, 2008 by Don.Petry@nscorp.com |
| I add a CR before the text and it is now working fine. | Apr 24, 2007 by cgregoi293 |
| I add a CR before the text and it is now working fine. | Apr 24, 2007 by cgregoi293 |
| Hi Christophe, What happens if you open the settings file using Medevac and paste this in the message field: My custom message, anything can be typed here. Test: [TESTNAME] Server: [SERVERNAME] Error: [ERRORNUMBER]: [ERRORMSG]. Citrix Systems, Inc. This message was automatically generated by the Medevac 2.0 system Also please do not use the percent sign '%' since we use it to delaminate fields in the ini file. |
Apr 20, 2007 by danielrom |
| Hi Christophe, What happens if you open the settings file using Medevac and paste this in the message field: My custom message, anything can be typed here. Test: [TESTNAME] Server: [SERVERNAME] Error: [ERRORNUMBER]: [ERRORMSG]. Citrix Systems, Inc. This message was automatically generated by the Medevac 2.0 system Also please do not use the percent sign '%' since we use it to delaminate fields in the ini file. |
Apr 20, 2007 by danielrom |
| Hi Christophe, What happens if you open the settings file using Medevac and paste this in the message field: My custom message, anything can be typed here. Test: [TESTNAME] Server: [SERVERNAME] Error: [ERRORNUMBER]: [ERRORMSG]. Citrix Systems, Inc. This message was automatically generated by the Medevac 2.0 system Also please do not use the percent sign '%' since we use it to delaminate fields in the ini file. |
Apr 20, 2007 by danielrom |
| I created a silent task. It work well except the generated message. This message contains only "Citrix Systems, Inc. This message was automatically generated by the Medevac 2.0 system". No indication of the server, error, .... | Apr 20, 2007 by cgregoi293 |
| I created a silent task. It work well except the generated message. This message contains only "Citrix Systems, Inc. This message was automatically generated by the Medevac 2.0 system". No indication of the server, error, .... | Apr 20, 2007 by cgregoi293 |
| Medevac development.... Can you please provide incite on the following errors generated? XML/Least Loaded Server Test on server has failed with error 10879520. XML/Ticketing Test on server has failed with error 10061: No connection could be made because the target machine actively refused it. XML/Least Loaded Server Test on server has failed with error 0: The operation completed successfully. Terminal Services Test on server has failed with error 7007: A close operation is pending on the session. Terminal Services Test on server has failed with error 1722: The RPC server is unavailable. Terminal Services Test on server has failed with error 7022: The specified session cannot be found. Terminal Services Test on server has failed with error 1726: The remote procedure call failed. RPC Test on server has failed with error 53: The network path was not found | Mar 20, 2007 by Anonymous |
| Medevac development.... Can you please provide incite on the following errors generated? XML/Least Loaded Server Test on server has failed with error 10879520. XML/Ticketing Test on server has failed with error 10061: No connection could be made because the target machine actively refused it. XML/Least Loaded Server Test on server has failed with error 0: The operation completed successfully. Terminal Services Test on server has failed with error 7007: A close operation is pending on the session. Terminal Services Test on server has failed with error 1722: The RPC server is unavailable. Terminal Services Test on server has failed with error 7022: The specified session cannot be found. Terminal Services Test on server has failed with error 1726: The remote procedure call failed. RPC Test on server has failed with error 53: The network path was not found | Mar 20, 2007 by Anonymous |