|
This chapter describes procedures for installing and running the Cisco SESM sample applications in Demo mode. The sample applications are the New World Service Provider (NWSP) application and the sample captive portal application. The chapter includes the following topics:
The SESM Demo mode has two purposes:
To prepare for using the Demo mode, you can:
The following sections describe the differences between these two approaches.
The Demo mode installation is quick and easy and is described in this chapter for your convenience. It requires only a few parameters. In Demo mode, you can demonstrate the features of both RADIUS and DESS deployments.
If you install in Demo mode, you should not expect to switch to DESS or RADIUS modes at run time for the following reasons:
You can install and configure SESM to run in DESS or RADIUS mode, and then easily switch to run the application in Demo mode at run time. The switch from the other modes to Demo mode is supported as follows:
To switch to Demo mode at run time, use the following command:
Platform | Command |
Solaris | jetty/bin/startNWSP.sh -mode Demo
|
Windows NT | jetty\bin\startNWSP.cmd Demo
|
To install SESM in Demo mode, follow these procedures:
Make sure you have write privileges to the directory in which you intend to load the demo.
Step 2 Obtain the installation image from the product CD-ROM or from the Cisco web site. The installation image is a tar or zip file, depending on the platform on which you want to install the demo. See the "Obtaining the SESM Installation File and License Number" section for more information.
Step 3 Uncompress the tar or zip file to a temporary directory. The result includes an executable .bin or .exe file. Table 2-1 shows the names of the compressed and executable files.
Platform | Compressed File Name | Executable Installation File Name |
---|---|---|
Solaris | sesm_sol.tar | sesm_sol.bin |
Windows NT | sesm_win.zip | sesm_win.exe |
Step 4 Execute the installation image as follows:
solaris>sesm_sol.bin
C:\>sesm_sol.exe
Step 5 Follow the instructions on the installation windows to install the demo. See Table 2-2 for additional information.
Table 2-2 describes the parameters that you use to install the demo. The Value column provides a place for you to record the values you plan to use during installation.
Component | Input Summary | Explanation | Value |
---|---|---|---|
General installation parameters | Click the Evaluation button. You do not need a license number. |
| |
License agreement | Read the displayed license agreement to ensure that you agree with the terms of the license. You must accept the agreement to proceed with installation. |
| |
You can accept the displayed default installation directory, click Browse to find a location, or type the directory name in the box. The default installation directories are:
You must have write privileges to the installation directory. |
| ||
The difference between a demo installation and a typical installation is the values that the installation program inserts in the configuration files and the components that are installed. For example, a demo mode installation does not install the DESS component. |
| ||
NWSP web application configuration | Specify the port on which the demo application's web server will listen for HTTP requests. The installation program inserts this value into the application startup script. Note The port must be 80 if you plan to choose captive portal mode. The displayed default is port 8080. (Change this to 80 if you choose captive portal mode.) Note Each web server running on the same machine must listen on its own unique port. Change this value if another web server, or another instance of the NWSP application, is listening on 8080. |
| |
Choose this option to configure the demo application for captive portal mode. In demo mode, you can demonstrate the captive portal feature that captures the original URL supplied by the subscriber. To do this, use the IP address of the host machine as the initial URL. The captive portal feature redirects the request to the captive portal host name. |
| ||
Note The following section applies only if you choose the captive portal option in the previous section. | |||
Captive portal configuration (Optional) | Enter the host name or IP address for the host of the captive portal application. This installation program installs the captive portal application on the same machine with the NWSP application. |
| |
Enter the port number on which the captive portal application will listen. It must be 80. |
| ||
In captive portal mode, SESM sends packets to a welcome page for the captive portal application. Enter the URI of the captive portal application's welcome page. The URI for the sample captive portal application installed with the NWSP sample application is: /decorate/pages/home.jsp
This value is appended to the host and port entered above to create the URL to which SESM forwards redirected TCP packets. The URI indicates the home page of the captive portal application (that is, the page you want the subscriber to see first). It indicates the directory structure of the application's files within the J2EE container's directory. The URI is location-independent. You can deploy your SESM web application on several host machines, and, although the host and port changes for each host machine, the URI does not change. |
|
You can use the following browsers to demonstrate the NWSP application:
These browser limitations apply to the NWSP sample application and are mentioned to ensure predictable results during demonstrations. When you develop an SESM application for deployment, you should consider the end users of your deployed application, and design the application to accommodate the media that they commonly use.
This section includes the following topics:
To start the demo, follow these procedures:
Platform | SESM Installed Mode | Demo Startup Command |
---|---|---|
Solaris | Demo mode | jetty/bin/startNWSP.sh
|
RADIUS or DESS mode | jetty/bin/startNWSP.sh -mode Demo
| |
Windows NT | Demo mode | jetty\bin\startNWSP.cmd
|
RADIUS or DESS mode | jetty\bin\startNWSP.cmd Demo |
Step 2 Open a web browser.
Step 3 Go to the NWSP URL, which is:
Where:
localhost
, or the IP address 127.0.0.1, to indicate the local computer. For example:
http://localhost:8080
If you selected captive portal mode, the port must be 80, as follows:
http://localhost:80
Step 4 When the NWSP logon page appears, log on using the following values:
Demo Purpose | User ID | Password |
To demonstrate | radiususer Note Other valid users are user1, user2, and so on, up to user44. | cisco The password is cisco for all of the demo users. |
To demonstrate | dessuser1 dessuser2 Note The dessuser2 is a subaccount to dessuser1. | cisco cisco |
To stop the demo, follow the procedures described in the "Stopping Applications" section.
This section describes the demo data file. It includes the following topics:
You might want to examine the demo data file to:
The subscriber and service profile data that supports the NWSP application running in Demo mode is stored in a RADIUS Merit flat file. The file is located in:
nwsp
config
demo.txt
If you change the name or location of the demo.txt file, you must reflect this change in the demoDataFile attribute in the SSDDemoMode MBean in the nwsp.xml file.
The demo.txt file contains example user profiles, service profiles, and service group profiles that support the NWSP application in Demo mode. The format of the file is a Merit RADIUS flat file format, using the RADIUS standard attributes and vendor-specific attributes described in "Configuring RADIUS" and in the "Attributes for Demonstrating DESS Features" section.
The profiles in the demo.txt file can be used as test data for an SESM deployment in RADIUS mode. However, you might want to comment out the following profiles before using demo.txt for testing purposes.
These profiles contain attributes that are understood only by an SESM web application running in Demo mode. In RADIUS mode, these attributes are ignored by SSG and RADIUS. Although the NWSP application in RADIUS mode would store the attributes, it would not understand them, and the features that the attributes are intended to demonstrate would not work properly.
Table 2-3 describes the subscriber profile attributes for demonstrating features that are available in DESS mode but not in RADIUS mode. See "Configuring RADIUS" for a description of all other attributes in the demo data file. The attributes in Table 2-3 are for use in Demo mode only. They are not valid VSAs and they should not be added to the RADIUS dictionary. These attributes are not recognized by SSG.
Attribute | Description |
---|---|
Account-Info | Subattributes that can be specified in the demo data file to demonstrate DESS features are:
|
Posted: Wed Jul 24 12:23:23 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.