Using wildcards  Manually editing configuration options

Chapter 4: Using the Configuration File

Creating or editing a configuration file

Use the procedures in this section to create a new OpenSwitch configuration file or edit an existing one.

StepsSetting up the OpenSwitch configuration file

  1. To create a new OpenSwitch configuration file, go to %OPENSWITCH%\config on Windows or $OPENSWITCH/config on UNIX and copy the sample.cfg file by entering the following, where <cfg_file> is the name of your server configuration:

    cp sample.cfg <cfg_file>
    

    For example, OpenSwitch.cfg.

    Use a text editor to set the values in the configuration file you just created. Use the information in the tables in “Manually editing configuration options” for the definitions of the values to provide.

    NoteYou can also run the standalone configuration GUI to set the configuration parameters. See Chapter 3, “Configuring OpenSwitch” in the OpenSwitch Installation Guide.

  2. Save the file and close the text editor.

  3. Go to %OPENSWITCH% and create a logs directory:

    mkdir logs
    
  4. Start OpenSwitch. You cannot start OpenSwitch until you have configured the product.

StepsEditing an existing OpenSwitch configuration file

  1. Stop OpenSwitch if it is running.

  2. Go to go to %OPENSWITCH%\config on Windows or $OPENSWITCH/config on UNIX.

  3. In a text editor, open the OpenSwitch configuration file; for example, OpenSwitch.cfg.

  4. Modify the files as necessary using the remainder of this chapter for reference.

  5. Save the updated file and close the text editor.

  6. Restart OpenSwitch.





Copyright © 2005. Sybase Inc. All rights reserved. Manually editing configuration options

View this book as PDF