Cisco Wireless Control System Configuration Guide, Release 3.2
Chapter 9 - Maintaining WCS

Table Of Contents

Maintaining WCS

Checking the Status of WCS

Checking the Status of WCS on Windows

Checking the Status of WCS on Linux

Stopping WCS

Stopping WCS on Windows

Stopping WCS on Linux

Backing Up the WCS Database

Scheduling Automatic Backups

Performing a Manual Backup

Backing Up the WCS Database (for Windows)

Backing Up the WCS Database (for Linux)

Restoring the WCS Database

Restoring the WCS Database (for Windows)

Restoring the WCS Database (for Linux)

Importing the Location Appliance into WCS

Uninstalling WCS

Uninstalling WCS on Windows

Uninstalling WCS on Linux

Upgrading WCS

Upgrading WCS on Windows

Upgrading WCS on Linux

Logging

Administer Logging Options


Maintaining WCS


This chapter provides routine procedures for maintaining WCS. It contains these sections:

Checking the Status of WCS

Stopping WCS

Backing Up the WCS Database

Restoring the WCS Database

Importing the Location Appliance into WCS

Upgrading WCS

Logging

Checking the Status of WCS

This section provides instructions for checking the status of WCS on either a Windows or Linux server.

Checking the Status of WCS on Windows

Follow these steps to check the status of WCS when it is installed as a Windows application or Windows service. You can check the status at any time.


Step 1 Log into the system as administrator.

Step 2 Perform one of the following:

From the Windows Start menu, click Programs > Wireless Control System> WCSStatus.

From the command prompt, navigate to the WCS installation directory (C:\Program Files\WCS32\bin) and enter WCSAdmin status.

The WCSAdmin window appears and displays messages indicating the status of WCS.

Step 3 Close the WCSAdmin window when the Close button becomes active.


Checking the Status of WCS on Linux

Follow these steps to check the status of WCS when it is installed as a Linux application or Linux service. You can check the status at any time.


Step 1 Log into the system as root.

Step 2 Using the Linux CLI, perform one of the following:

Navigate to the /opt/WCS32 directory (or the directory chosen during installation) and enter ./WCSStatus.

Navigate to the /opt/WCS32/bin directory and enter WCSAdmin status.

The CLI displays messages indicating the status of WCS.


Stopping WCS

This section provides instructions for stopping WCS on either a Windows or Linux server.

Stopping WCS on Windows

Follow these steps to stop WCS when it is installed as a Windows application or Windows service. You can stop WCS at any time.


Note If any users are logged in when you stop WCS, their WCS sessions stop functioning.



Step 1 Log into the system as administrator.

Step 2 Perform one of the following:

From the Windows Start menu, click Programs > Wireless Control System > StopWCS.

From the command prompt, navigate to the WCS installation directory (C:\Program Files\WCS32\bin) and enter WCSAdmin stop.

The WCSAdmin window appears and displays messages indicating that WCS is stopping.


Note If WCS is installed as a service, messages also appear to indicate that the Nms_Server service is stopping.


Step 3 Close the WCSAdmin window when the Close button becomes active.


Stopping WCS on Linux

Follow these steps to stop WCS when it is installed as a Linux application or Linux service. You can stop WCS at any time.


Note If any users are logged in when you stop WCS, their WCS sessions stop functioning.



Step 1 Log into the system as root.

Step 2 Using the Linux CLI, perform one of the following:

Navigate to the /opt/WCS32 directory (or the directory chosen during installation) and enter ./StopWCS.

Navigate to the /opt/WCS32/bin directory and enter WCSAdmin stop.

The CLI displays messages indicating that WCS is stopping.


Backing Up the WCS Database

This section provides instructions for backing up the WCS database. You can schedule regular backups through the WCS user interface or manually initiate a backup on either a Windows or Linux server.

Scheduling Automatic Backups

Follow these steps to schedule automatic backups of the WCS database.


Step 1 Log into the WCS user interface.

Step 2 Click Administration > Scheduled Tasks to display the Scheduled Tasks page.

Step 3 Click WCS Server Backup to display the Task > WCS Server Backup page.

Step 4 Check the Admin Status: Enabled check box.

Step 5 In the Max Backups to Keep field, enter the maximum number of backup files to be saved on the server.

Range: 7 to 50

Default: 7


Note To prevent the WCS platform from running out of disk space, the server automatically deletes old backup files when the number of files exceeds the value entered for this field.


Step 6 In the Interval (Days) field, enter a number representing the number of days between each backup. For example, 1 = a daily backup, 2 = a backup every other day, 7 = a weekly backup, and so on.

Range: 1 to 360

Default: 7

Step 7 In the Time of Day field, enter the time when you want the backup to start. It must be in this format: hh:mm AM/PM (for example: 03:00 AM).


Note Backing up a large database affects the performance of the WCS server. Therefore, Cisco recommends that you schedule backups to run when the WCS server is idle (for example, in the middle of the night).


Step 8 Click Submit to save your settings. The backup file is saved as a .zip file in the ftp-install-dir/ftp-server/root/WCSBackup directory using this format: dd-mmm-yy_ hh-mm-ss.zip
(for example, 11-Nov-05_10-30-00.zip).


Performing a Manual Backup

This section provides instructions for backing up the WCS database on either a Windows or Linux server.

Backing Up the WCS Database (for Windows)

Follow these steps to back up the WCS database on a Windows server.


Step 1 Log into the system as administrator.

Step 2 Create a backup directory for the WCS database with no spaces in the name, such as C:\WCS32_Backup.


Note Make sure that the directory name does not contain spaces. Spaces can generate errors.


Step 3 Perform one of the following:

Follow these steps from the Windows Start menu:

a. Click Programs > Wireless Control System> Backup. The Enter Information window appears.

b. Enter the full path of the backup directory that you created and a name for the backup file (such as C:\WCS32_Backup\Nov11) and click OK.

Follow these steps from the command prompt:

a. Navigate to the WCS installation directory (C:\Program Files\WCS32\bin).

b. Enter DBAdmin backup backup-filename, where backup-filename is the full path of the backup directory that you created plus a name for the backup file (such as C:\WCS32_Backup\Nov11).

The DBAdmin window appears and displays messages indicating the status of the backup.

Step 4 Close the DBAdmin window when the Close button becomes active.


Note In the example above, the backup file would appear in the C:\WCS32_Backup directory as Nov11.nmsbackup.



Backing Up the WCS Database (for Linux)

Follow these steps to back up the WCS database on a Linux server.


Step 1 Log into the system as root.

Step 2 Using the Linux CLI, navigate to the /opt/WCS32 directory (or any other directory).

Step 3 Create a backup directory for the WCS database with no spaces in the name (for example, mkdir WCS32_Backup).


Note Make sure that the directory name does not contain spaces. Spaces can generate errors.


Step 4 Perform one of the following:

Navigate to the /opt/WCS32 directory (or the directory chosen during installation) and enter ./Backup. Enter a name for the backup file when prompted (such as WCS32_Backup/Nov11).

Navigate to the /opt/WCS32/bin directory and enter DBAdmin backup backup-filename, where backup-filename is the full path of the backup directory that you created plus a name for the backup file (such as WCS32_Backup/Nov11).

The CLI displays messages indicating the status of the backup.


Note In the example above, the backup file would appear in the WCS32_Backup directory as Nov11.nmsbackup.



Restoring the WCS Database

This section provides instructions for restoring the WCS database on either a Windows or Linux server.

Restoring the WCS Database (for Windows)

Follow these steps to restore the WCS database from a backup file on a Windows server.


Step 1 Log into the system as administrator.

Step 2 Perform one of the following:

Follow these steps from the Windows Start menu:

a. Click Start > Programs > Wireless Control System> Restore. The DBAdmin and Enter Information window appears.

b. Enter the full path and filename of the backup file (such as C:\WCS32_Backup\
Nov11.nmsbackup) and click OK.

Follow these steps from the command prompt:

a. Navigate to the WCS installation directory (C:\Program Files\WCS32\bin).

b. Enter DBAdmin restore backup-filename, where backup-filename is the full path and filename of the backup file (for example, C:\WCS32_Backup\Nov11.nmsbackup).

Step 3 Click Yes if a message appears indicating that WCS is running and needs to be shut down.

Step 4 The DBAdmin window appears and displays messages indicating that WCS is shutting down (if applicable) and the WCS database is being restored. Close the DBAdmin window when the Close button becomes active.


Note If the restore process shuts down WCS, a restart is attempted after a successful restore.



Restoring the WCS Database (for Linux)

Follow these steps to restore the WCS database from a backup file on a Linux server.


Step 1 If possible, stop all WCS user interfaces to stabilize the database.

Step 2 Log into the system as root.

Step 3 Using the Linux CLI, perform one of the following:

Navigate to the /opt/WCS32 directory (or the directory chosen during installation) and enter
./Restore to start the restoration process. Enter the backup filename when prompted (such as WCS32_Backup/Nov11.nmsbackup).

Navigate to the /opt/WCS32/bin directory and enter DBAdmin restore backup-filename,
where backup-filename is the full path and filename of the backup file (such as WCS32_Backup/Nov11.nmsbackup).

Step 4 Click Yes if a message appears indicating that WCS is running and needs to be shut down.

Step 5 The DBAdmin window appears and displays messages indicating that WCS is shutting down (if applicable) and the WCS database is being restored. Close the DBAdmin window when the Close button becomes active.


Note If the restore process shuts down WCS, a restart is attempted after a successful restore.


The CLI displays messages indicating that the WCS database is being restored.


Importing the Location Appliance into WCS

To import a location appliance into WCS, follow the steps below.


Step 1 Navigate to Location > Location Servers. Choose Add Server from the drop-down menu and click Go.

Step 2 Enter any name for the appliance, its IP address, and a contact name on the Import window (see Figure 9-1). Keep the username, password, port, and HTTPS fields unaltered and click Save.

Figure 9-1 General Properties

Step 3 For each network diagram, synchronize the controllers and the devices that are responsible for tracking. After you import the new location appliance, a pop-up screen reminds you that WCS contains data that needs to be transported to the location appliance. Those controllers and network diagrams that are available to be synchronized are listed. Choose Go To Synchronize.

Step 4 Each network design must be assigned to communicate with the new location appliance. Click the Assign hyperlink to the right of each network design.

Step 5 Click the check box next to the new location appliance and click OK.

Step 6 Choose Synchronize (see Figure 9-3).

Figure 9-2 Synchronizing WCS and Location Servers

Step 7 If the network diagram is properly synchronized, two green arrows appear under the Sync. Status column for each diagram. After synchronizing with the network diagram, all floor maps and access point placements associated with that diagram are copied to the location appliance; therefore, when the location appliance is set to synchronize with the diagram's controllers, it can find them.

Step 8 To set up controller synchronization, choose Controllers from the Synchronize drop-down menu.

Step 9 Each controller managed by WCS appears in a drop-down menu. Assign each controller to a specific location appliance by choosing the name of the location appliance with which the controllers will synchronize and click Synchronize.

Step 10 After the location appliance is properly synchronized with controllers, green arrows appear next to each controller under the Sync. Status column.


Note You must properly synchronize network diagrams and controllers to have accurate device location. If the network diagrams change, resynchronize the location appliance. For correct operation of the location appliance, ensure that the necessary network diagrams and controllers are always properly synchronized.


Figure 9-3 Synchronizing Controllers

Uninstalling WCS

This section provides instructions for uninstalling WCS on either a Windows or Linux server. You can uninstall WCS at any time, even while WCS is running.

Uninstalling WCS on Windows

Follow these steps to uninstall WCS on a Windows server.


Step 1 Log into the system as administrator.

Step 2 From the Windows Start menu, click Programs > Wireless Control System> Uninstall WCS.

Step 3 When the Uninstall Wireless Control System window appears, click Uninstall.

Step 4 Follow the instructions on the screen to continue the uninstall process.

Step 5 When the WCS Uninstaller window indicates that the program is uninstalled, click Finish to close the window.


Note If any part of the C:\Program Files\WCS32 folder remains on the hard drive, manually delete the folder and all of its contents. If you fail to delete the previous WCS installation, this error message appears when you attempt to reinstall WCS: "Cisco WCS already installed. Please uninstall the older version before installing this version."



Uninstalling WCS on Linux

Follow these steps to uninstall WCS on a Linux server.


Step 1 Log into the system as root through an X terminal session.

Step 2 Using the Linux CLI, navigate to the /opt/WCS32 directory (or the directory chosen during installation).

Step 3 Enter ./UninstallWCS.

Step 4 Click Yes to continue the uninstall process.

Step 5 Click Finish when the uninstall process is complete.


Note If any part of the /opt/WCS32 directory remains on the hard drive, manually delete the directory and all of its contents. If you fail to delete the previous WCS installation, this error message appears when you attempt to reinstall WCS: "Cisco WCS already installed. Please uninstall the older version before installing this version."



Upgrading WCS

This section provides instructions for upgrading WCS on either a Windows or Linux server.

Upgrading WCS on Windows

Follow these steps to upgrade WCS on a Windows server.


Step 1 If possible, stop all WCS user interfaces to stabilize the database.

Step 2 Back up the WCS database by following the instructions in the "Backing Up the WCS Database (for Windows)" section.

Step 3 Uninstall the WCS application by following the instructions in the "Uninstalling WCS on Windows" section.

Step 4 Install the new version of WCS by following the instructions in the "Installing WCS for Windows" section.

Step 5 Restore the WCS database by following the instructions in the "Restoring the WCS Database (for Windows)" section.


Upgrading WCS on Linux

Follow these steps to upgrade WCS on a Linux server.


Step 1 If possible, stop all WCS user interfaces to stabilize the database.

Step 2 Back up the WCS database by following the instructions in the "Backing Up the WCS Database (for Linux)" section.

Step 3 Uninstall the WCS application by following the instructions in the "Uninstalling WCS on Linux" section.

Step 4 Install the new version of WCS by following the instructions in the "Installing WCS for Linux" section.

Step 5 Restore the WCS database by following the instructions in the "Restoring the WCS Database (for Linux)" section.


Logging

Use Administration > Logging to access the Administer Logging Options page. This logging function is only related to WCS logging and not syslog information. The logging for controller syslog information can be done on the Controller > Management > Syslog window.

Administer Logging Options

Use Administration > Logging to access this page.

This page allows you to edit the Cisco WLAN Solution logging options.

General - Message Level: Error, Information, or Trace

Modules: Provides check boxes to enable various administration modules (performance, status, object, configuration, monitor, fault analysis, SNMP mediation, and general)


Note Some functions should only be used for short periods of time while debugging issues so that the performance is not degraded. For example, trace mode and SNMP meditation should be enabled only if debugging because a lot of log information is generated.