previous next

Chapter 4: Configuring RealProxy Features

All RealProxy settings are customized through the RealSystem Administrator. This chapter describes how to use RealSystem Administrator as well as the basic settings used by all RealProxys.

Customizing RealProxy Using RealSystem Administrator

RealSystem Administrator is the Web-based console for customizing RealProxy features. It can be run from any browser on your network. It is password-protected when first installed, and you can create additional user names and passwords for any other people who will be helping you administer your RealProxy.

When the RealProxy installation program completes, it asks if you want to run RealSystem Administrator. If you choose yes, RealProxy starts, and RealSystem Administrator displays.

To make changes to any feature, click on the appropriate category listed under Configure. Make the changes and click Apply. A confirmation page appears to let you know that the changes have been made. You may be required to restart RealServer; a message to that effect will appear if it is necessary.

If your Web browser is set to permit cookies, RealSystem Administrator "remembers" the page that was open in the right-hand frame the last time you used it or when you click the refresh button. In Netscape Navigator, RealSystem Administrator will reload with the main Welcome page when you resize the browser window unless cookies are enabled.

Note
RealProxy must be running before you can use RealSystem Administrator.

Starting RealSystem Administrator

You can view the configuration of your RealProxy from nearly any browser on your network. Compatible browsers are Netscape Navigator version 4.0 or higher and Microsoft Internet Explorer version 4.0 or higher.

To start RealSystem Administrator:

  1. Start RealProxy. (See Chapter 3, "Starting and Stopping RealProxy" for instructions).

  2. Click the browser shortcut created by the RealProxy installer, or use the following instructions:

    In a browser, type the following address:

    
    http://realproxy.example.com:AdminPort/admin/index.html
    

    where:

    realproxy is the name of the machine on which RealProxy is installed.

    example.com is the name of the domain in which RealProxy exists.

    Or, rather than typing the name and domain of the system on which RealProxy is installed, you can type the IP address.

    AdminPort is the port which RealSystem Administrator uses to connect to RealProxy. You are asked for a port number during setup. Use that port number here.

    The following URL will start RealSystem Administrator if it is typed in the browser on the same computer as RealProxy (be sure to substitute your port number for AdminPort):

    
    http://127.0.0.1:AdminPort/admin/index.html
    

    The following command also works on the same computer:

    
    http://localhost:AdminPort/admin/index.html
    

  3. You are prompted for your user name and password; these will match the values you entered during setup. Click OK.

    RealSystem Administrator appears.

RealSystem Administrator Welcome Page

Using RealSystem Administrator

Once you have started RealProxy and then RealSystem Administrator, you can change RealProxy features with the instructions below:

To customize RealProxy settings:

  1. In RealSystem Administrator's left-hand frame, click the appropriate category below Configure.

  2. Change the values in the page on the right.

  3. When you have finished changing values, click Apply.

    RealSystem Administrator makes the changes to the configuration file.

    For some changes, RealSystem Administrator may alert you that you need to restart RealProxy using the Restart Server button at the top of the screen.

Restricting Access to RealSystem Administrator

When you install RealProxy, RealSystem Administrator is configured to require user names and passwords for anyone who connects to RealSystem Administrator itself. You can add permission for additional users, so that other people in your organization can use RealSystem Administrator to customize RealProxy.

Additional Information
RealProxy uses a subset of the authentication features available to RealServer. For more information on authentication, refer to RealServer Administration Guide.

To add access for additional RealSystem Administrator users:

  1. In RealSystem Administrator, click Security. Click Realms.

  2. In the Authentication Realms list, select SecureAdmin.

  3. In the Realm User Management area, click Add a User to Realm.

    A new dialog box appears.

  4. Type the new user name in the Name box.

  5. In the Password box, assign a password.

  6. Retype the password in the Confirm Password box.

  7. Click OK. A message appears; click Close.

Repeat Step 2 through Step 7 for each person who will have administration privileges.

Tip
You can verify that the users were added successfully by clicking Browse Users in Realm. A new browser window appears, displaying the names of all the users.

Configuration File

Changes made with RealSystem Administrator are stored in the configuration file. There are a few specific features which can only be adjusted by editing the configuration file directly. These are highlighted in "Features Only Available Via Direct Editing".

The configuration file is a text file formatted with tags which are based on XML (Extensible Markup Language). This language introduces great flexibility to the configuration file format and allows third-parties to use this file and add to its functionality. Syntax of this file is given in Appendix A, "Configuration File Syntax".

Be sure that your configuration file is stored where only authorized users can make changes to it.

Tip
Keep a backup copy of the configuration file. You may need it if you make changes to this file that you later want to undo or if you accidentally delete the working copy.

Editing the Configuration File with a Text Editor

You can change the RealProxy settings by opening the configuration file with any text editor. You can also add variables that aren't included in the initial file, but are listed in this manual in Appendix B, "Configuration File Contents". In addition, third-party plug-ins may require their own parameters and variables. Use a text editor to add them to the configuration file.

To make changes to existing settings in this file is simple; this manual provides guidance. If, however, you plan to add new sections, you will need to understand the syntax of the entire file. The file is organized into sections. This is not strictly necessary, but helps with clarity. The structure of the configuration file is described in detail in Appendix A, "Configuration File Syntax".

The default name of the configuration file is rmserver.cfg, but if you have multiple servers you may want to rename the files so as to easily identify which server you're working with.

When you edit the configuration file manually, be sure to use correct syntax, because RealProxy looks for exact spellings and correct use of angle brackets. RealProxy does not display messages related to syntax errors; instead, it will ignore those settings it does not understand.

Note
Always restart RealProxy after changing any settings in the configuration file with a text editor.

RealSystem Administrator shows the configuration file settings of the RealProxy configuration file in use; use caution if you are switching between manually editing the file and using RealSystem Administrator to edit it.

Warning
Exit RealSystem Administrator before opening the configuration file with a text editor or unexpected changes may result.

Common Settings

Regardless of which features are in use, certain important settings apply to every RealProxy. They are described in this section.

Port Variables

Port settings tell RealProxy where to listen for requests.

If your RealProxy and Web server are on the same machine, you may need to modify the HTTP Port setting. See "Running Web Servers and RealProxy on the Same System" for additional information.

RealProxy uses the following settings to determine where to listen for requests sent via a particular protocol. You can view the settings from RealSystem Administrator by clicking General Setup>Ports.

There are other settings on this page, and they are described elsewhere in this guide. See Chapter 10, "Proxy Routing".

Configuring RealProxy Features

To customize RealProxy features, you'll need to modify settings with RealSystem Administrator or by editing the configuration file directly. But all of RealProxy's features are enabled by default; there is no need to set up any features.

Passthrough

Passthrough mode is always enabled. It can't be turned on or off.

Media Cache

The media cache is enabled by default. You do not need to make any changes to begin using the cache automatically.

The cache feature uses the following settings, which are pre-configured:

Changing the Size of the Cache

Once the cache has reached its maximum size, RealProxy removes the media which were requested the least often. This method is called Least Requested URL.

Tip
It's a good idea to make the cache size as large as you can, since the more you can cache, the more bandwidth you can conserve.

To change the size of the cache:

  1. In RealSystem Administrator, click Cache. Click Cache again.

  2. In the Maximum Cache Size list, type the largest size you want the cache to reach, in megabytes. (The default value is 1000 megabytes. The minimum value you can use is 11 megabytes.)

  3. Click Apply.

Pull Splitting

When a client requests a live stream, RealProxy checks to see if the transmitter RealServer is configured for pull splitting. RealProxy then gets the live stream using the highly efficient pull splitting connection.

Pull splitting is enabled by default.

RealServer uses the following settings to perform pull splitting (you can view them by clicking Splitting>Pull Splitter in RealSystem Administrator), and they are pre-configured:

Multicasting

Instructions on configuring RealProxy to perform multicasting are located in Chapter 11, "Multicasting Live Streams".


Copyright © 2000 RealNetworks
For information on RealNetworks' technical support, click here.
Comments on this document? Click here.
This file last updated on 12/07/00 at 16:37:35.
previous next