cc/td/doc/solution/sesm/sesm_313
hometocprevnextglossaryfeedbacksearchhelp

Table of Contents

Demo Quick Start

Demo Quick Start

This chapter describes procedures for installing and running the New World Service Provider (NWSP) application in Demo mode. The chapter includes the following topics:

Introduction

SESM Demo mode has two purposes:

To prepare for using the Demo mode, you can either:

The following sections describe the differences between these two approaches.

Installing in Demo Mode

The Demo mode installation is quick. It requires the entry of only a few parameters. In Demo mode, you can demonstrate the features of both RADIUS and LDAP deployments.

If you install in Demo mode, you should not expect to switch to LDAP or RADIUS modes at run time for the following reasons:

Switching to Demo Mode at Run Time

You can install and configure SESM to run in LDAP 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 and Linux

jetty/bin/startNWSP.sh -mode Demo

Windows NT

jetty\bin\startNWSP.cmd Demo

Installation Instructions for Demo Mode

To install SESM in Demo mode, follow these procedures:


Step 1   Log on as a privileged user:

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 4-1 shows the names of the compressed and executable files.


Table 4-1: Installation Image Filenames
Platform Compressed Filename Executable Installation Filename

Solaris

sesm-3.1.3-pkg-sol.tar

sesm_sol.bin

Linux

sesm-3.1.3-pkg-linux.tar

sesm_linux.bin

Windows NT

sesm-3.1.3-pkg-win32.zip

sesm_win.exe

Step 4   Execute the installation image as follows:

    solaris>sesm_sol.bin
    C:\>sesm_win.exe

Step 5   Follow the instructions on the installation windows to install the demo. Table 4-2 describes the parameters that you use to install the demo.



Table 4-2: Demo Installation and Configuration Parameters
Component Input Summary Explanation Value

General installation parameters

License type

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.

Installation directory

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:

  • On Solaris and Linux:

    /opt/cisco/sesm_3.1.3
  • On Windows NT:

    C:\Program Files\cisco\sesm_3.1.3

You must have write privileges to the installation directory.

Setup type

Click the Demo button.

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 SPE component.

NWSP web application configuration

Web Application Port Number

Specify the port on which the container (the J2EE web server) for the SESM portal applications will listen for HTTP requests from subscribers. The installation program updates the application startup scripts for NWSP, WAP, and PDA to use this value. If you want to run these applications simultaneously, you must edit the start scripts to ensure that each application uses a different port.

The displayed default value is port 8080.

Tip   Each web server running on the same machine must listen on its own unique port. If another web server or another instance of the SESM portal application is listening on 8080, change this value.

Browsers

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.

Running the SESM Demo

This section includes the following topics:

Starting the Demo

To start the demo, follow these procedures:


Step 1   Start the NWSP web application in Demo mode.

Platform SESM Installed Mode Demo Startup Command

Solaris and Linux

Demo mode

jetty/bin/startNWSP.sh

RADIUS or LDAP mode

jetty/bin/startNWSP.sh -mode Demo

Windows NT

Demo mode

jetty\bin\startNWSP.cmd

RADIUS or LDAP mode

jetty\bin\startNWSP.cmd Demo

Step 2   Open a web browser.

Step 3   Go to the NWSP URL, which is:

http:// host:port

Where:

host is the IP address or host name of the computer on which you installed the NWSP application. You can enter the value localhost, or the IP address 127.0.0.1, to indicate the local computer.

port is the NWSP port number that you specified during the installation.

For example:

    http://localhost:8080

The NWSP logon page appears.

Step 4   Log on using a user ID and password defined in the demo data file. Table 4-3 shows the user IDs and passwords in the installed demo data file.

Step 5   The NWSP home page appears. The service selection list shows subscribed services for the user ID you used on the logon page. Select a service to demonstrate service connection.


Stopping the SESM Demo

To stop the demo, follow the procedures described in the "Stopping Applications" section.

Demo Data File

This section describes the demo data file. It includes the following topics:

You might want to examine the demo data file to:

Demo Data Filename and Location

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 SESMDemoMode MBean in the nwsp.xml file.

File Contents and Format

The demo.txt file contains example subscriber profiles, service profiles, and service group profiles that support the SESM sample applications in Demo mode. The file is in Merit RADIUS flat file format and includes profiles that use the following types of attributes:

You can use the profiles in the demo.txt file as test data for an SESM deployment in RADIUS mode.

Logon Names and Passwords for a Demo

Table 4-3 shows the user IDs and passwords in the profiles in the installed demo data file.


Table 4-3: Logon Names and Passwords for a Demo
Demo Purpose User IDs Passwords

To demonstrate
RADIUS mode features

radiususer

Note   Other valid users are user1, user2, and so on, up to user44.

For all of the demo users, the password is:

cisco

To demonstrate
LDAP mode features

golduser subgolduser

Note   subgolduser is a subaccount to golduser.

Special Demo Profile Attributes for Demonstrating LDAP Features

Table 4-4 describes the subscriber profile attributes for demonstrating features that are available in LDAP 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 4-4 are for use in Demo mode only.


Note   The attributes in Table 4-4 are recognized only by an SESM portal running in Demo mode. They are not valid VSAs and they should not be added to the RADIUS dictionary. These attributes are not recognized by SSG.


Table 4-4: Special Attributes for Demonstrating LDAP Features in Demo Mode
Attribute Description

Account-Info

Subattributes that can be specified in the demo data file to demonstrate LDAP mode features are:

  • Epermission—Sets permissions to perform a task. The value for permission must be one of the following strings:

    • Service Selection—The permission to perform service selection is implied and does not have to be explicitly coded in the profile.

    • Self Manage—Use this string to demonstrate the LDAP mode feature that allows a subscriber to update their own X.500 user schema information, such as name, address, e-mail, and hobbies.

    • Subaccount Manage—Use this string to demonstrate the LDAP mode feature that allows a subscriber to create a subaccount. The Demo mode does not create an actual subaccount; the supporting subaccount profile must be defined in the demo.txt file. Define the subaccount profile and use the F attribute.

    • Service Subscription—Use this string to demonstrate the LDAP mode feature that allows a subscriber to subscribe to a new service and have immediate access to that service. If you use this string, you must also add a C or L attribute.

  • Vname;type;value—Use this attribute to specify the initial values that will appear in the fields on the My Account page in the NWSP application running in Demo mode. The Demo allows you to change these values. Use a separate attribute line for each field. The format for each line consists of:

    • name—Name of the field on the My Account page in the NWSP application. These are X.500 fields. You can add more fields to the demo if you alter the NWSP application to display more fields, as described in the Cisco Subscriber Edge Services Manager Web Developer Guide. See the Cisco Distributed Administrator Tool Guide for a list of the X.500 names.

    • type—Identifies the format of value, as follows:

    S or s—Indicates that value is a string.
    V or v—Indicates that value is a vector of strings in the following format, including the parentheses:
      {string1;string2;string3}
    • value—Indicates the value to be displayed in the field on the web page display.

For example:

    Account-Info = "Vhobbies;V;{science;news;travel}"


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Aug 26 08:42:49 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.