Use the procedures in this section to create a new OpenSwitch configuration file or edit an existing one.
Setting up the OpenSwitch configuration file
To create a new OpenSwitch configuration file, go to %OPENSWITCH%\config in Windows or $OPENSWITCH/config in UNIX and copy the sample.cfg file by entering the following, where OpenSwitch_ServerName is the name of your server configuration file:
On UNIX:
cp sample.cfg OpenSwitch_ServerName.cfg
On Windows:
copy sample.cfg OpenSwitch_ServerName.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.
You can also run the standalone configuration GUI to
set the configuration parameters. See Chapter 3, “Configuring
OpenSwitch” in the OpenSwitch Installation Guide.
Save the file and close the text editor.
Go to $OPENSWITCH on UNIX or %OPENSWITCH% on Windows and create a logs directory:
Start OpenSwitch. You cannot start OpenSwitch until you have configured the product.
Editing an existing OpenSwitch configuration file
Stop OpenSwitch if it is running.
Go to go to %OPENSWITCH%\config on Windows or $OPENSWITCH/config on UNIX.
In a text editor, open the OpenSwitch configuration file which has the .cfg file name extension; for example, OpenSwitch_ServerName.cfg.
Modify the files as necessary using the remainder of this chapter for reference.
Save the updated file and close the text editor.
Restart OpenSwitch.