Novell Home

Pull-down Menu for Troubleshooting Web Access Logins

Novell Cool Solutions: Tip
By Kenneth Partridge

Digg This - Slashdot This

Posted: 21 Feb 2006
 

Problem

In our 40,000+ user GroupWise environment, we use five NetWare servers running Apache and Tomcat. They are in conjunction with one SLES and two NetWare servers running GWINTER agents to provide core GroupWise web access services. Our web servers are presented via round robin on Cisco content switches, each with a unique preferred order of GWINTER agents. This, however, gives us 15 possible combinations of web access logins to troubleshoot when a problem may crop up.

Solution

We have expanded our GroupWise Monitor page to include links to all of the HTML based administration of the MTAs, POAs, etc. To assist in troubleshooting Web Access logins, we produced and posted this Javascript example to present an easy access pull down menu for quick links to specified Web Server - GWINTER combinations.

Note: This script requires that security settings for IE allow javascript scripting from your web server be turned on. Replace blanked text with appropriate IP addresses, modify descriptions, place in the HTML document, and enjoy.

Example

Place this in the <head> section:

<script language="JavaScript">
<!--//
function webacclogin(){
if (document.webaccform.webacclinks.options[document.webaccform.webacclinks.selectedIndex].value != "none")
  {
  window.open(document.webaccform.webacclinks.options[document.webaccform.webacclinks.selectedIndex].value)
  document.webaccform.webacclinks.options[0].selected = true
  }
}
//-->
</script>

Place in the <body> section:

   <form name=webaccform>
       <p class=MsoNormal>
       <SELECT NAME="webacclinks" onChange="webacclogin()" size="1">
       <OPTION SELECTED VALUE="none">Login Web Server-GWINTER
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB1 (DMZ) - WA1
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB1 (DMZ) - WA2
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB1 (DMZ) - WA3
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB2 (DMZ) - WA1
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB2 (DMZ) - WA2    
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB2 (DMZ) - WA3
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB5 (DMZ) - WA1
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB5 (DMZ) - WA2    
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB5 (DMZ) - WA3
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB3 (INT) - WA1
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB3 (INT) - WA2    
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB3 (INT) - WA3
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB4 (INT) - WA1
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB4 (INT) - WA2    
       <OPTION VALUE="https://ADDRESS OF WEB APP SERVER/servlet/webacc?GWAP.ip=IP ADDRESS OF GWINTER SERVER&GWAP.port=7205">        WB4 (INT) - WA3
       </SELECT>
     </form>


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell