|
This chapter describes how to start and stop Cisco Subscriber Edge Services Manager (SESM) components. The chapter contains the following topics:
Start NWSP using the following script and optional command-line argument:
Platform | Script |
---|---|
Solaris | jetty/bin/startNWSP.sh [-mode mode]
|
Windows NT | jetty\bin\startNWSP.cmd [mode]
|
Valid values for mode are Demo, RADIUS, or DESS.
If the mode option is included on the command line, it overrides the default mode specified in the SSD MBean in the nwsp.xml file. If you switch modes using this option, you must make sure that all other configuration parameters are aligned with the mode that you choose. The mode option provides the capability to switch easily between a fully configured deployment (RADIUS or DESS mode) and the demonstration deployment (Demo mode).
Start RDP with the following script:
Platform | Script |
---|---|
Solaris | rdp/bin/runrdp.sh
|
Windows NT | rdp\bin\runrdp.cmd
|
Start CDAT with the following script:
Platform | Script |
---|---|
Solaris | jetty/bin/startCDAT.sh
|
Windows NT | jetty\bin\startCDAT.cmd
|
When you start the NWSP application or CDAT, you are executing two scripts:
Both 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 are startNWSP and startCDAT. These 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 5-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 \
-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 a subdirectory named jetty under the installation directory. | installDir
| |
application.home is the application's directory name. The startup script sets $APPDIR to a subdirectory named applicationName under the installation directory. The startup script infers the installation directory from the location of the start script itself. The applicationName parameter is passed from another script. (startNWSP.sh, for example). | installDir
| |
application.log is the location of all log files created for this application. The startup script sets $LOGDIR differently according to the platform:
| installDir
| |
application.portno is the port that the SESM web application (or CDAT) listens on for HTTP requests from subscribers. The startup script sets $PORTNO to the portNo parameter passed from another script (startNWSP.sh, for example). | Specified during installation. The default is 8080 for NWSP and 8081 for CDAT. | |
management.portno is the console port that displays the current values for all attributes in all of the MBean configuration files. | The startup script sets $MGMTPORTNO to $PORTNO + 100. |
This section describes how to stop SESM applications. It includes the following topics:
To stop SESM web applications and their J2EE containers on Solaris, execute the installed stop scripts. None of the scripts take arguments. Table 5-2 lists the script names and locations.
Application | Stop Script Location and Name on Solaris Platforms |
---|---|
NWSP and Jetty | jetty/bin/stopNWSP.sh |
CDAT and Jetty | jetty/bin/stopCDAT.sh |
RDP | rdp/bin/stoprdp.sh |
To stop SESM web 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 usage 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 window
Table 5-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 |
NWSP | jettybin\nwspsvc.cmd | NWSP Web Application |
The total java virtual memory requirements for an SESM web application depends on several factors:
Table 5-4 shows SESM memory requirements in various scenarios. The table includes two memory columns for each scenario.
For SESM Release 3.1(1), Cisco supports a maximum of 10,000 concurrently logged in subscribers in RADIUS mode, and 5,000 concurrently logged in subscribers in DESS mode. We have verified the memory requirements in Table 5-4 for one SESM application instance. It is possible, given more memory, to support larger numbers of users.
RADIUS Mode | DESS Mode | |||||||
---|---|---|---|---|---|---|---|---|
Three Services: 1 Passthrough 1 Proxy 1 Tunnel | 3 Services: 1 Passthrough (Auto) 1 Proxy 1 Tunnel | 3 Services 1 Passthrough 1 Proxy 1 Tunnel | 3 Services: 1 Passthrough (Auto 1 Proxy 1 Tunnel | |||||
Number of Subscribers Logged On1 | Memory Required for Logins (MB) | Memory Used After Logins (MB) | Memory Required for Logins (MB) | Memory Used After Logins (MB) | Memory Required for Logins (MB) | Memory Used After Logins (MB) | Memory Required for Logins (MB) | Memory Used After Logins (MB) |
2000 | 32 | 15.3 | 32 | 17.7 | 64 | 48 | 64 | 51 |
4000 | 48 | 28.6 | 64 | 30 | 112 | 100 | 112 | 97 |
6000 | 80 | 42.6 | 96 | 40 | 192 | 145 | 208 | 139 |
8000 | 96 | 52.2 | 112 | 57.3 |
|
|
|
|
10000 | 128 | 67.4 | 144 | 62 |
|
|
|
|
1The information in this table was obtained using the following login rates: RADIUS mode20 subscribers per second DESS Mode10 subscribers per second |
$JAVA -Xmx64m
The installed start script sets the java virtual memory to 64MB. Consider changing the default value in the following circumstances:
Posted: Wed Jul 24 12:20:06 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.