|
This chapter describes how to start and stop Cisco Subscriber Edge Services Manager (SESM) applications. The chapter contains the following topics:
This section describes the startup scripts for SESM applications. Topics are:
Start the portal applications using the following startup scripts:
Platform | Startup Scripts |
---|---|
Solaris and Linux | jetty/bin/startNWSP.sh [-mode mode]
jetty/bin/startWAP.sh [-mode mode]
jetty/bin/startPDA.sh [-mode mode]
jetty/bin/startCAPTIVEPORTAL.sh [-mode mode]
jetty/bin/startMESSAGEPORTAL.sh [-mode mode]
|
Windows NT | jetty\bin\startNWSP.cmd [mode]
jetty\bin\startWAP.cmd [mode]
jetty\bin\startPDA.cmd [mode]
jetty\bin\startCAPTIVEPORTAL.cmd [mode]
jetty\bin\startMESSAGEPORTAL.cmd [mode]
|
If the mode argument is included on the command line, it overrides the default mode specified in the SESM MBean in the portal application configuration file. If you switch modes using the command line option, you must make sure that all other configuration attributes are aligned with the mode that you choose.
Valid values for mode are:
Start RDP using the following script:
Platform | Script |
---|---|
Solaris and Linux | rdp/bin/runrdp.sh
|
Windows NT | rdp\bin\runrdp.cmd
|
Start CDAT using the following script:
Platform | Script |
---|---|
Solaris and Linux | jetty/bin/startCDAT.sh
|
Windows NT | jetty\bin\startCDAT.cmd
|
When you start an SESM portal application or CDAT, you are executing two scripts:
All of the scripts are located in:
jetty
bin
You should create an application-specific startup script in this same bin
directory for customized SESM web applications.
The application-specific startup scripts set the following variables:
The generic startup script derives two other port numbers from the application port number:
application port + 100
8080 + 100 = 8180
application port - 80 + 443
8080 - 80 + 433 = 8443
The generic startup script does the following:
Table 9-1 describes the java system properties that are set by the generic startup script and how the assigned values are derived. The table describes the following lines, which are located at the end of the generic startup script:
$JAVA -Xmx64m -Xmx64m\
-classpath $CLASSPATH \
-Djetty.home=$JETTYDIR \
-Dapplication.home=$APPDIR \
-Dapplication.log=$LOGDIR \
-Dapplication.portno=$PORTNO \
-Dmanagement.portno=$MGMTPORTNO \
System Property and Variable Name | Explanation | Installed Values in the Start Script |
---|---|---|
jetty.home is the container's directory name. The startup script sets $JETTYDIR to the value | installDir
| |
application.home is the application's directory name. The startup script sets $APPDIR to applicationName under the installation directory. The applicationName parameter is passed from another script. (for example, startNWSP.sh). | installDir
or installDir
or installDir
| |
application.log is the location of all log files created for this application. | The startup script sets $LOGDIR differently according to the platform:
| |
application.portno is the port that the web server listens on for HTTP requests from subscribers. The startup script sets $PORTNO to the portNo parameter passed from another script (for example, startNWSP.sh). | Specified during installation. The default is 8080 for the SESM portal applications and 8081 for CDAT. | |
The startup script sets $MGMTPORTNO to $PORTNO + 100. |
To access an SESM portal application, such as the NWSP application, follow these procedures:
Step 1 Start the SESM portal application using its startup script.
Step 2 Start a web browser on a device (such as a desktop computer, a WAP phone, or a PDA) that has network access to the server on which the SESM portal application is running.
Step 3 Make sure the web browser has Javascript enabled.
Step 4 Go to the URL of the SESM portal application:
http:// host:port
The URL consists of the host and port number that you specified during the SESM portal application installation, or whatever is currently specified in the portal application's startup script. An example portal application URL is:
http://server1:80
Default values used during an SESM installation are:
http://localhost:8080
Note If the captive portal unauthenticated user redirect feature is implemented and correctly configured and the corresponding TCP redirect features are correctly configured on the SSG, subscribers are redirected to the captive portal application without entering an URL. |
Step 5 When the SESM portal application's logon page appears, log in using a valid user ID and password. A valid user ID and password is defined in user profiles as follows:
Note Refer to the Subscriber Edge Services Manager Solutions Guide for instructions on demonstrating the NWSP application running in Demo mode. |
This section describes how to stop SESM applications. It includes the following topics:
To stop SESM applications on Solaris and Linux, execute the stop scripts listed in Table 9-2. None of the scripts accept arguments.
Application | Stop Script Path Names (Solaris and Linux platforms only) |
---|---|
SESM portals and Jetty | jetty/bin/stopNWSP.sh
jetty/bin/stopWAP.sh
jetty/bin/stopPDA.sh
jetty/bin/stopcaptiveportal.sh
jetty/bin/stopmessageportal.sh
|
CDAT and Jetty | jetty/bin/stopCDAT.sh
|
RDP | rdp/bin/stoprdp.sh
|
To stop SESM applications and their J2EE containers on Windows NT platforms, you can:
The SESM installation program provides services scripts with the NWSP, CDAT, and RDP applications. The command syntax is the same for all of the services scripts:
-i
installs the application as a service so that it can be managed from the Services window -h
displays the command usage -r
removes the application from the Services windowTable 9-3 lists the names and locations of the scripts that add and remove services.
SESM Application | Services Script Location and Name | Default Service Name |
---|---|---|
RDP | rdp\bin\rdpsvc.cmd
| RDP Application
|
CDAT | jetty\bin\cdatsvc.cmd
| CDAT Web Application
|
SESM portals | jetty\bin\nwspsvc.cmd
jetty\bin\wapsvc.cmd
jetty\bin\pdasvc.cmd
jetty\bin\captiveportalsvc.cmd
jetty\bin\messageportalsvc.cmd
| NWSP Web Application
WAP Web Application
PDA Web Application
Captive Portal Web Application
Message Portal Web Application
|
This section includes the following topics:
requiredJVM = reservedMem + (maxConcurrentUsers * KBPerUser)
Where:
$JAVA -Xmx64m -Xmx64m
Table 9-4 shows verified memory requirements for the NWSP portal application. We verified these memory requirements using one SESM application instance. It is possible, given more memory, to support larger numbers of users.
SESM Mode | JVM Heap Size (MB) Specified in start script1 | Maximum Users2 | KB per user |
---|---|---|---|
RADIUS mode | 32 | 4550 | 4.73 |
64 | 12,800 | 4.18 | |
96 | 20,500 | 4.17 | |
128 | 29,100 | 4.04 | |
LDAP mode | 64 | 1800 | 29.73 |
96 | 3000 | 28.50 | |
128 | 5000 | 23.50 | |
256 | 11,000 | 22.32 |
1Includes 10.4 MB reserved memory 2In the verification tests, all users were subscribed to three services: one passthrough, one proxy, and one tunnel |
CPU utilization by an SESM portal application increases as the rate of new logons increases. Table 9-5 shows CPU utilization at specified logon rates for the NWSP portal. These rates are verified using consistent login rates, with all users subscribed to three services. The logon rates indicate successful logon and authentication of all users.
SESM Mode | Logon Rate Sustained until Maximum Users Reached1 | Maximum Users | CPU Utilization on Sun Sparc U5-10 400-MHz server |
---|---|---|---|
RADIUS mode | 20 logons per second | 12,800 | 20% |
40 logons per second | 40% | ||
60 logons per second | 60% | ||
80 logons per second | 80% | ||
100 logons per second | 100% | ||
LDAP mode | 10 logons per second | 11,000 | 60% |
1All users are subscribed to three services: one passthrough, one proxy, and one tunnel. |
The amount of memory RDP uses is roughly proportional to the number of users that are logged in within a fixed period of time. If you find that RDP is running out of memory, increase the amount of memory allocated to the program by editing the startup script.
As a rough guide, RDP requires 64 MB of memory when 5000 users are logged in within any 20 minute period. If the logon rate is likely to exceed this rate, you should increase the RDP memory allocation.
Posted: Mon Aug 26 08:27:03 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.