CMS R15x Install Upgrade Linux
CMS R15x Install Upgrade Linux
September 2025
#220-00998-17
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Contents
Prerequisites................................................................................................................ 12
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
4
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
7
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
8
Intended Audience
The audience for the Calix Management System Installation and Upgrade Guide includes personnel
responsible for setting up and maintaining CMS server software. For larger Telcos, a dedicated IT
professional typically performs the required tasks at the Network Operations Center (NOC). Telcos
who have purchased the CMS Appliance server solutions can use the CMS Appliance Guide for initial
setup instructions, accessible online by logging into My Calix ([Link]/my-calix
([Link] and browsing the My Calix Documentation Library, and typically
only need to use the upgrade instructions in this manual. These customers may benefit from access
to a professional IT resource for questions and recommendations.
To install, configure, and maintain CMS server software, you must use basic Linux commands. For
novice users, this guide contains examples to assist you. To install, configure, and maintain the
optional RADIUS and LDAP server, you must be familiar with RADIUS server applications.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
9
Guide Organization
This guide is organized into the following sections:
Getting Started: Lists examples of how to log in to the host server for novice users. Also
includes the procedure to download the CMS installer (used for upgrades) from the Calix
Resource Center.
CMS Installation Tasks: Includes a checklist and instructions for installing the CMS server
software and CMS Desktop for the first time.
CMS Upgrade Tasks: Includes a checklist and instructions for upgrading the CMS server
software and CMS Desktop.
Appendices: Includes a checklist and instructions for configuring CMS, troubleshooting and
reference, basic operating system commands, and basic vi editor commands.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
10
CMS
Calix Management System (CMS) Guide
Calix Management System (CMS) Installation and Upgrade Guide—Linux
Calix Management System (CMS) Installation and Upgrade Guide—Solaris
Calix Management System (CMS) Northbound Interface API Guide
CMS Appliance Guide
Calix B6 networks
Managing a Calix B6 Network from CMS
Calix C7 networks
Calix C7 Engineering and Planning Guide
Calix Upgrade Program (CUP) Application Guide
Calix C7 Provisioning Guide
Calix C7 GPON Applications Guide
Calix C7 Ethernet and IP Services Guide
Calix C7 Broadband Data Services Guide
Calix C7 Video Services Guide
Calix C7 Voice Services Guide
Calix C7 VoIP Services Guide
Calix C7 Maintenance Guide
Calix C7 Troubleshooting Guide
Calix C7 TL1 Management Interface Reference
Calix C7 SNMP MIBs
Calix ONTs
Managing Calix AE ONTs from CMS
Managing Calix Active Ethernet ONTs from the CLI
Calix ONT Configuration Manager (OCM) User Guide
Calix 700/700G/700GX/800-Series installation, configuration, ONT accessories, and
troubleshooting guides.
Calix EXOS-powered GigaFamily (GS4227 and GS4227W) installation and operations guides.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
12
Prerequisites
Before using the information and procedures in this guide, be sure that:
A host server meeting the minimum CMS system requirements or a CMS Appliance server with
Internet connectivity is running. Check the CMS Release Notes to be sure that the latest system
requirements are met.
If you are deploying CMS on a Virtual Machine, Calix recommends adding 1GB of memory above
the minimum stated requirements in the Release Notes in order to satisfy the hardware check.
If you use an Oracle database, the database is installed, configured, and started.
Note: The advanced procedures in this guide require specific user privileges for Oracle
database administrators. For this purpose, Calix recommends creating an Oracle user with the
following privileges: Roles: CONNECT, RESOURCE; System: CREATE VIEW, UNLIMITED
TABLESPACE.
If you use a RADIUS and LDAP server, the server is installed, configured, and started.
Verify that you have a zip utility installed on the server to compress/decompress files.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
13
For a matrix of compatible Calix equipment software releases corresponding to the most current
CMS release, refer to the Calix Management System (CMS) Release Notes, accessible by logging into
My Calix ([Link]/my-calix ([Link] and browsing the My Calix
Documentation Library.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
14
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Chapter 1
Getting Started
To review the current CMS host server system and client requirements, see the Calix Management
System (CMS) Release Notes, accessible online by logging into My Calix
([Link] and browsing the My Calix Documentation Library..
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
16
This topic provides examples of how to access the host server in the following ways:
Open a terminal window from the host server monitor.
Use a remote Secure Shell (SSH) session.
Use a remote telnet session.
The CMS2GO – Dell server uses a Linux Red Hat operating system. The CMS Appliance server uses
a Linux operating system.
Note: If you are not currently logged in to Linux, when you turn on the monitor, a login prompt
displays. In this case, type the root Linux user name and password to log in.
1. Open a terminal window. From the Applications menu bar, click System Tools > Terminal.
2. Verify that you are logged in as the root user. At the prompt, type whoami, followed by <Enter>.
Example
Results similar to the following display in the terminal window:
Note: From a Linux or Solaris client machine, type SSH hostname from a command prompt to
initiate the SSH session, where hostname is the name of the host server.
From a Windows PC, you must install an SSH utility, such as PuTTY, before you can open an SSH
session.
For example purposes, this procedure assumes that you are using PuTTY.
1. Open the SSH utility. (If you have a shortcut on your desktop, double-click the SSH client icon to
open a session window.)
2. In the Configuration dialog box:
a. In the Host Name (or IP Address) field, type the CMS host server name or IP address.
b. Accept the defaults (Port 22, and SSH as the connection type), as shown in the example
below.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
17
c. Click Open.
Tip: In PuTTY, you can save session parameters for future use. In the Saved Sessions field, type
a name for the session, and then click Save.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
18
To access the CMS server software on the Calix Resource Center, you must submit a request
through the Calix Service Station and have a current CMS license.
Use the Quick Reference—Installing CMS (on page 24) or Quick Reference—Upgrading CMS (on page
38) checklist as a reference for the steps to perform a successful CMS installation or upgrade. The
procedure in this section is referenced in each of the checklists.
Note: This procedure assumes that you are downloading the CMS installer from the Calix Resource
Center and copying it directly to the host server. Alternatively, you can download the installer to a
PC or workstation and transfer it to the server using FTP.
There are two installation options (64-bit or 32-bit) for the CMS Server Software. You should chose
the option that is the same as your operating system.
1. To determine the Linux operating system, open a terminal program (get to a command prompt)
and type
uname -m
to get the kernel version.
x86_64 is a 64-bit kernel
i686 is a 32-bit kernel
2. Open a terminal window on the host server monitor, or use a remote telnet or SSH session to log
in to the host server as a root user. For examples, see Accessing the Host Server (on page 16).
3. Open a Web browser window. For example, on the Applications menu bar, click Internet >
Firefox Web Browser.
4. Launch Chrome or Firefox and log in to My Calix ([Link]/my-calix
([Link]
Note: An active Calix Advantage subscription is required for access to software. Contact your
Calix sales representative with any questions.
Note: If the desired software is not listed, click Request Software (located below the software
table) and submit the online request form.
7. Click on the minor release software version, and then chose either the Linux 64 server or Linux
32 server file.
8. Review the license agreement, and then click Accept and Download.
The Calix Management System page opens.
a. Under Available Installers, right-click the Download link for the Linux host server platform
and in the popup menu, click Save Link As to save the file to a location on the server.
Note: The CMS installer file is several hundred megabytes in size. The time it takes to download
the file depends on your connection speed.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Chapter 2
1. Back up your existing CMS database by scheduling a database backup task. Be sure to back up
to an FTP server that is not the CMS server. See Exporting CMS Objects (on page 82).
2. Upgrade the existing CMS instance to CMS R15.1.891. See Quick Reference—Upgrading CMS (on
page 38) and Logging Out CMS Users (on page 40).
Refer to the CMS Release Notes for supported operating systems for each CMS version..
3. Back up the CMS R15.1.891 database by scheduling a database backup task. Be sure to back up
to an FTP server that is not the CMS server. Refer to“Backing Up the CMS Database” in the Calix
Management System (CMS) R15.x User Guide.
4. Export CMS Objects from CMS Web. See Exporting CMS Objects (on page 82).
5. Install Red Hat Enterprise Linux 9.x or Rocky Linux 9.x on a new VM.
6. Install the required Linux packages. See Installing Required Linux Packages (on page 27).
7. Install and configure any additional services that were being used on the original CMS server,
such as ftp, tftp, ntp, and so on.
8. Install CMS R15.1.891 on the new VM. See Installing CMS Server Software.
9. Shut down the old CMS server or disconnect the server from the network.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
22
10. Restore the CMS R15.1.891r database by using the backup that you created in Step 4. See
Importing or Restoring CMS Objects (on page 83).
11. Upgrade the new server to the desired CMS release. Refer to the CMS Release Notes for
supported operating systems for each CMS version.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Chapter 3
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
24
Notes
Customers with CMS Appliance servers to do not typically need to perform the tasks marked
with an asterisk.
If you are migrating Calix B6 network elements from OccamView to CMS, refer to the migration
process in the publication, Managing a B6 Network from CMS."
For a list of CMS configuration tasks to perform after installation, see Quick Reference—System
Configuration Tasks (Linux) (on page 52).
For a list of recommended CMS usage and maintenance tasks, see the Calix Management
System (CMS) Guide.
Pre-installation tasks
The tasks in the following table are typically performed by an IT system administrator.
Description Details Reference
Review the CMS system Be sure that your CMS server and See the Calix Management System
requirements.* client hardware and operating system (CMS) Release Notes.
meet the minimum or recommended
requirements.
Review your database setup If an Oracle database is used, the Oracle Database Recommendations
requirements.* database must be installed, (on page 26)
configured, and started.
Review your user If a RADIUS server is used, the server RADIUS Recommendations (on page
authentication and security must be installed, configured, and 29)
setup requirements. started.
Review the Disable insecure shell access and non- CMS Server Configuration
recommendations for essential network services. Recommendations (on page 29)
configuring the CMS server.*
Add the static IP address Update the etc/hosts file on the host Updating the etc/hosts File (Linux)
and the DNS name for the server. Verify that it matches the (on page 29)
CMS server.* example in the documentation.
Configure firewall access to Required settings vary based on CMS Server Ports (on page 124)
the default incoming CMS company requirements and whether
server ports. the CMS server is behind an Intranet
firewall.
Create an installation folder Assign the necessary folder
for the CMS server on the permissions.
host server.*
Copy the CMS installer onto To access the CMS server software on Copying the CMS Server Installer to
the CMS host server.* the Calix Resource Center, you must the Host Server (Linux) (on page 18)
initiate a support call to Calix and have
a current CMS license.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
25
Review the CMS Become familiar with the online Calix Log into My Calix
documentation and release documentation set, and review the list ([Link]/my-calix
notes. of open issues. ([Link]
and browse the My Calix
Documentation Library
Install CMS server The installation process includes an Installing CMS Server Software (on
software.* option to start the CMS server. page 30)
If you do not start the server during the Manually starting the CMS server (on
installation, you must start in page 75)
manually.
Verify that the CMS server is running. Verifying CMS Processes are
Running on Host Server (on page 76)
or Verifying the CMS Server is
Operating: CMS Web (on page 77)
Install CMS Desktop on user Install from CMS Web. Installing CMS Desktop (on page 34)
machines and verify that you To view the CMS server version,
are running the correct CMS open CMS Web.
version.
To view the CMS client version
number, in CMS Desktop, click Help
> About.
Optimize the PM and Log This procedure is recommended when Optimizing the Oracle Database (on
database tables in Oracle. managing more than 500 network page 84)
elements.
(Optional) Delete unused Delete the CMS installer file and older Uninstalling CMS Server Software
files. CMS installations. (on page 122)
To integrate CMS with a Calix supplies a set of MIBs for back- To access the MIBs, fill out the
back-office Operating office OSS integration. online request form on the Calix
Support System (OSS), Resource Center.
obtain the CMS MIBs and
load them into your SNMP
manager.
* Not required for CMS Appliance customers
Continue with the CMS configuration tasks. See Quick Reference—System Configuration Tasks (on
page 52).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
26
In addition, review the lists of incoming and outgoing CMS server ports (on page 123) to be sure your
IT system administrator has enabled the necessary server ports.
Note: For CMS Appliance customers, CMS server configurations are pre-configured when the
product is shipped. For the setup steps, see the CMS Appliance Quick Start Guide, accessible online
by logging into My Calix ([Link]/my-calix ([Link] and browsing
the My Calix Documentation Library. If you use a RADIUS server for user authentication and security,
use the documented guidelines to configure the server.
Note for Oracle database administrators: Calix recommends creating an Oracle database user with
the following user privileges: Roles: CONNECT, RESOURCE; System Privileges: CREATE VIEW,
UNLIMITED TABLESPACE; Default tablespace: CMS_DATA.
Note: For information on changing the default Oracle HTTP port assignment to avoid a conflict
between Oracle and CMS Web, refer to Changing the Default Oracle XML Database HTTP Port (on
page 97).
Have the following information from your Oracle database administrator available during the CMS
installation:
Hostname: Name of Oracle server host
Port: Server port for Oracle access
SID: System ID of Oracle database
Username: Oracle user name
Password: Oracle password
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
27
You need to modify the configuration file before you start a new CMS server.
Note: This file must be changed prior to the start of a CMS server. If the CMS server has already
been running, you will need to restart the CMS server application.
1. Open a terminal window on the host server, or use a remote telnet or SSH session to log in to
the host server as a user with root privileges. For examples, see Accessing the Host Server (on
page 16).
2. Ensure that the Bash version is 4.0 or later. Run the following command:
$ bash --version
If the version is older than V4.0, run the following command to update Bash:
yum -y update bash
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
28
If any of the commands are not found, run the following command to install the missing items:
yum install <command-name>
4. Add the required Rocky Linux libraries by running the following command:
yum install -y glibc.i686 libgcc.i686 libXext.i686 libX11.i686 libXtst.i686
lsof net-tools.x86_64 net-tools [Link].1 libnsl [Link].1 [Link].1
[Link].2 net-tools sysstat tar tcpdump telnet chkconfig zip
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
29
RADIUS Recommendations
CMS enables administrators to optionally use a RADIUS server for user authentication and security.
Calix strongly recommends installing your RADIUS server on a server separate from the server
hosting the CMS server software. For more information, see the Calix Management System (CMS)
Guide.
Add the CMS Server Name and IP Address to the etc/hosts File
Before you install the CMS server software, you must obtain the static IP address and DNS name for
your CMS server and update the etc/hosts file on the host server.
Note: This procedure is not required for CMS Appliance servers; for these servers, completing the
setup steps as detailed in the CMS Appliance Quick Start Guide automatically configures the
etc/hosts file.
1. To view the file etc/hosts, type the following command in a terminal window or remote telnet or
SSH session:
cat /etc/hosts
2. Use vi or another text editor to edit or add the CMS server static IP address and DNS name to
match the following example:
where [Link] is the CMS server static IP address, and cmsserver is the name of the CMS
server.
Note: During an operating system upgrade on the host server, the local host loopback address may
be modified by adding the server name, causing CMS to fail to properly synchronize. After such an
upgrade, verify that the server name is not on the line with [Link] [Link]
localhost. If that line does not read exactly as shown above, edit it so that it does.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
30
Users with a desktop environment on their host server can install CMS using the installation wizard.
If you do not have access to a desktop environment, you can install CMS server software in console
mode.
Note: These installation instructions apply to both the 32-bit and 64-bit CMS Server Software.
1. Open a terminal window on the host server, or use a remote telnet or SSH session to log in to
the host server as a root user. For examples, see Accessing the Host Server (on page 16).
2. If you have not yet copied the CMS installer, complete the procedure Copying the CMS Server
Installer to the Host Server (Linux) (on page 18).
3. Navigate to the directory where you copied the CMS installer file and set ownership and
permissions for the file. Enter the following commands:
chown root:root [Link]
chmod 777 [Link]
4. Begin installing the CMS server software. Enter the following command:
sh [Link]
Example
In the following example, /cms_installer_dir indicates the directory where the CMS server
installer file was copied:
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
31
Note: If the physical memory size is less than 12G, CMS will prompt a warning message that
allows the end user to choose "Quit" or "Continue". Choosing “Continue” will allow the installer
process to continue.
After the first check, if the total amount of physical memory and swap size is less than 18G,
CMS will prompt another warning message and allow the end user to choose “Quit” or
“Continue”. Choosing “Continue” will allow the installer process to continue.
Note: For CMS server processes to run, the home directory for the CMS server software cannot
be more than 45 characters in length.
Note: Do not specify a new folder inside another CMS installation directory or in the
export/home directory.
If the destination directory does not exist, the installer will automatically create it.
8. Click Next. The Select Database window opens.
Do one of the following:
If you have not installed Oracle, click PostgresSQL Database, and then click Next.
If you have installed Oracle, click Oracle Database, and then click Next and complete the
form with information provided by your Oracle database administrator. Click Next.
The Pre-Installation Summary window opens.
9. Click Install to complete the installation of CMS server software, or click Previous to return to
the previous screens and change the settings.
The Installing window opens showing the progress of the installation.
After the installation completes, the Start CMS Server on Operation System Start window opens.
10. Accept the default (Yes) to automatically restart the new version of CMS any time after the host
server reboots in the future. Click Next to continue.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
32
Note: If you select No, you must manually start the CMS server each time the host server
reboots. For instructions, see Enabling the CMS Server to Auto Restart—Linux (on page 79).
A window opens with the message: Installer has completed copying all required
files. Do you want to start Calix Management System?
11. If you are ready to start the CMS server, accept the default Start Now, otherwise select Continue
Without Starting. Click Next.
It can take up to 15 or 20 minutes for the CMS server to start, during which time the "Starting
CMS" message displays.
The Install Complete window opens.
12. Click Done to close the installation wizard.
After several seconds, the Linux prompt displays.
If you did not start the CMS server in Step 9, to do so manually, see Manually Starting the CMS
Server (on page 75).
13. Log in to CMS Web and confirm that the CMS server is running. For instructions, see Opening
CMS Web (on page 47).
14. Install CMS Desktop on each required client machine. See Installing CMS Desktop (on page 34).
4. Begin installing the CMS server software. Enter the following command:
sh [Link] -i console
The CMS installer launches in text mode. At the PRESS <ENTER> TO CONTINUE prompt, press
<Enter>.
Note: If the physical memory size is less than 12G, CMS will prompt you with a warning
message. Use parameter -Dramcheck=false to skip this check.
After this first check, if the total amount of physical memory and swap size is less than 18G,
CMS will prompt you with another warning message.
Use parameter -Dswapcheck=false to skip this check.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
33
5. Review the software right-to-use license agreement. Press <Enter> several times to read through
the agreement. At the DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N)
prompt, type Y and press <Enter> to continue.
6. At the prompt, type the path on the local drive of the host server to install the CMS server
software. Press <Enter> to continue.
Note: For CMS server processes to run, the home directory for the CMS server software cannot
be more than 45 characters in length.
Note: Do not specify a new folder inside another CMS installation directory or in the
export/home directory.
If the destination directory does not exist, the installer will automatically create it.
7. At the prompt, select the database type:
For Postgres, select 1. Press <Enter> to continue.
For Oracle, select 2. Press <Enter> to continue.
8. Pre-installation summary information displays. Press <Enter> to continue, and then wait for the
installation to complete.
Calix recommends typing 1 (Yes) to automatically restart the new version of CMS any time after
the host server reboots in the future. Press <Enter> to continue.
Note: If you choose not to enable the auto restart option, you must manually start the CMS
server each time the host server reboots. For instructions, see Enabling the CMS Server to Auto
Restart—Linux (on page 79).
10. At the Start Calix Management System prompt, Calix recommends accepting the default 1 (Start
Now) in most cases. Press <Enter> to continue.
If you did not start the CMS server, to do so manually, see Manually Starting the CMS Server (on
page 75).
11. Log in to CMS Web and confirm that the CMS server is running. For instructions, see Opening
CMS Web (on page 47).
12. Install CMS Desktop on each required client machine. See Installing CMS Desktop (on page 34).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
34
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
35
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
36
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Chapter 4
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
38
Log out all active CMS client Logging Out Users (on page 40)
sessions.
Optional. Migrate the Supported in2023 releases and later. Migrating to Red Hat Enterprise
operating system to Red Hat Linux 9 or Oracle Linux 9
Enterprise Linux 9 or Oracle
Linux 9.
Verify that server meets the Review the system preparation topics Before You Begin (on page 26)
system requirements. to ensure that the server meets the
current requirements.
Copy the CMS installer file Copying the CMS Server Installer to
to the CMS host server. the Host Server (Linux) (on page 18)
Perform the CMS server The upgrade wizard prompts you to Upgrading the CMS Server Software
upgrade. start the CMS server. (Linux) (on page 41)
If you do not to start the server during Manually starting the CMS server (on
the upgrade, you must start it page 75)
manually.
Distribute or install CMS CMS Desktop users are automatically Upgrading the CMS Desktop on a
Desktop (client) for any new prompted to update to the latest client Client Machine (on page 49)
user PCs or workstations version when they next log in to CMS Installing CMS Desktop (on page 34)
(not required for current Desktop.
CMS Desktop users).
Open CMS Desktop and If you encounter problems, contact the
verify that CMS objects have Calix Technical Assistance Center
migrated to the new CMS (TAC).
installation.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
39
Review all CMS system System scheduled tasks (tasks with Working with Scheduled Tasks (on
scheduled tasks and adjust Job IDs less than 100) are not page 64)
the timing, frequency, or exported with the CMS database.
scope as needed to meet If you have customized or deleted any
your company requirements. system scheduled tasks, you must
manually re-input the changes after the
upgrade.
Verify that access is open to Check with your host system CMS Server Ports (on page 124)
the incoming ports required administrator and follow company
to support Calix network policy and procedures.
elements.
If cron jobs and UNIX scripts Modify any cron jobs and UNIX scripts, For the correct formats, see
are used, modify them with such as pmdownload, to correctly Performing a Daily PM Download
the new CMS application reference the new application. with a Script (on page 56)
location.
Review the available system System settings, if previously CMS System Configuration Settings
configuration settings based customized, must be reset after each (on page 95)
on your company needs. upgrade.
Test and verify. Verify that the correct CMS version To view the CMS server version,
number displays. open CMS Web. To view the CMS
Check network and node client version number, in CMS
connectivity. Desktop, click Help > About.
(Optional) Delete unused Calix recommends retaining the two Uninstalling CMS Server Software
files. previous CMS installations on the host (Linux) (on page 122)
server for backup purposes.
If CMS is integrated with an Load the MIBs into your SNMP To access the MIBs, fill out the
Operating Support System manager online request form on the Calix
(OSS), obtain the latest CMS Resource Center.
MIBs.
If CMS is integrated with Reinstall CMS Probe according to the Refer to Calix Operations Cloud Help
Calix Operations Cloud, instructions in "Reconnect CMS to in the Calix Documentation Library
reinstall CMS Probe. Operations Cloud After CMS Upgrade" ([Link]
in Calix Operations Cloud Help. calix/[Link] (on page 10))
If you are connecting to Calix Operations Cloud, you must reinstall CMS probe and reconnect CMS to
Calix Operations Cloud. Refer to the Calix Operations Cloud Help topic "Reconnect CMS to
Operations Cloud After CMS Upgrade" for details.
Continue with the CMS configuration tasks. See Quick Reference—System Configuration Tasks (on
page 52).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
40
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
41
Important notes
The procedures in this section assume that you are currently running CMS R15.1.827 or higher.
If you have an older version of CMS, refer to the CMS Release Notes or contact Calix TAC to
determine the required upgrade path.
When upgrading CMS, default scheduled tasks (those with Job ID numbers under 100) are not
exported with the CMS database. If you have customized a system scheduled task, you must
manually update the system scheduled task after the upgrade.
If the old version is on the same host, and the old version is CMS16 or later, there is no need to
manually export the data of the old version, and you must ensure that the old version of the
CMS is running. If the old version of CMS is not running, the old version data cannot be
automatically exported.
The CMS system administrator typically installs CMS server software.
Notes:
The installer stops the upgrade process if the following criteria are not met:
* If the operating system is not RedHat Linux 9 or Rocky Linux 9, the installer stops.
* If the available disk space is less than 80GB, the installer stops.
1. Log in to the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
2. If you have not yet copied the CMS installer file, complete the procedure, Copying the CMS
Server Installer to the Host Server (Linux) (on page 18).
3. Navigate to the directory where you copied the CMS installer file and set ownership and
permissions for the file. Enter the following commands:
chown root:root [Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
42
4. Begin the installation of the CMS server software by entering the following command:
sh [Link]
Example
In the following example, /home/cms_installer_dir indicates the directory where the CMS server
installer file was copied:
Note: If the physical memory size is less than 12G, CMS will prompt a warning message that
allows the end user to choose "Quit" or "Continue". Choosing “Continue” will allow the installer
process to continue.
After the first check, if the total amount of physical memory and swap size is less than 18G,
CMS will prompt another warning message and allow the end user to choose “Quit” or
“Continue”. Choosing “Continue” will allow the installer process to continue.
5. Click Next.
The License Agreement window opens.
6. Click I Accept the Terms of the License Agreement, and then click Next.
A "CMS Server Already Running" prompt displays.
7. Click Continue.
The Export Data from Existing CMS Server Window opens.
8. Type an active CMS administration user name (such as rootgod) and password with
permissions to export CMS data, and then click Next.
Note: Do not use the log in ID of the user that the CMS server is running under.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
43
9. Review the following notes, and then type the absolute path on the local drive of the host server
to install the CMS server software. (If the destination directory does not exist, the installer
automatically creates it.) Alternatively, click Choose to browse and specify the installation
directory. Click Next to continue.
Note: For CMS server processes to run, the home directory for the CMS server software cannot
be more than 45 characters in length.
Note: Do not specify a folder inside the currently-running CMS installation folder or in the
export/home directory.
If you have installed Oracle, click Oracle Database. Click Next and complete the form with
information provided by your Oracle database administrator. Click Next to continue.
The Pre-Installation Summary window opens.
11. Click Install to begin installing the CMS server software, or click Previous to return to the
previous screens and change the settings.
Note: It takes several minutes for the CMS server software to fully install. During this time, the
installer shuts down the current CMS application.
Note: If you select No, you must manually start the CMS server each time the host server
reboots. For instructions, see Enabling the CMS Server to Auto Restart—Linux (on page 79).
A window opens with the message: Installer has completed copying all required
files. Do you want to start Calix Management System?
13. Calix recommends accepting the default Start Now in most cases. Click Next to continue.
It can take up to 15 or 20 minutes for the CMS server to start, during which time the "Starting
CMS" message displays:
Note: If you do not start the CMS server at this time, when you are ready to do so, see Manually
Starting the CMS Server (on page 75).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
44
15. Log in to CMS Web and confirm that the CMS server is running the correct version. For
instructions, see Opening CMS Web (on page 47).
16. Upgrade CMS Desktop on each affected client machine by completing the procedure, Upgrading
CMS Desktop on a Client Machine (on page 49).
17. Run an immediate Inventory Snapshot. See "Scheduling an Inventory Snapshot" in the CMS User
Guide for details.
18. If you are connecting to Calix Operations Cloud, reinstall CMS Probe according to the
instructions in "Reconnect CMS to Operations Cloud After CMS Upgrade" in Calix Operations
Cloud Help.
1. Export the data of the old version of CMS, then shutudown the old CMS. For tips and examples,
see Exporting CMS Objects (on page 82).
Assume that the export file name is oldcms_exportfile.zip.
Note: If the old version is on the same host, and the old version is CMS16 or later, skip this step.
2. Log in to the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
3. Copy the file that you exported in Step 1 to the local directory /cms_installer_dir.
Note: If the old version is on the same host, and the old version is CMS16 or later, skip this step.
4. If you have not yet copied the CMS installer file, complete the procedure, Copying the CMS
Server Installer to the Host Server (Linux) (on page 18).
5. Navigate to the directory where you copied the CMS installer file and set ownership and
permissions for the file. Enter the following commands:
cd /cms_installer_dir
chown root:root cmsx-<release-build-no>-[Link]
chmod 777 cmsx-<release-build-no>-[Link]
Where:
/cms_installer_dir indicates the directory where the CMS server installer file was copied
<release-build-no> is the CMS release build number. For example, cmsx-[Link]-linux-
[Link].
6. Begin upgrading the CMS server software. Enter the following command:
./cmsx-<release-build-no>-[Link] --mode text --import-file
/cms_installer_dir/oldcms_exportfile.zip
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
45
Note: If the old version is on the same host, and the old version is CMS16 or later, do not add
the parameter --import-file /cms_installer_dir/oldcms_exportfile.zip.
----------------------------------------------------------------------------
Please read the following License Agreement. You must accept the terms of
this
agreement before continuing with the installation.
Note: Specify a directory that does not exist. If you specify an existing directory, you will be
asked to specify a new one, and the installation directory will be created automatically.
11. At the prompt, type the username and password of the old CMS. Press <Enter> to continue.
After the username and password are verified, go to the next step. If you do not enter a user
name and password, you will continue to be prompted to enter the correct username and
password.
12. At the "Ready to install" prompt, type y and press <Enter> to continue.
Note: If you select No, you must manually start the CMS server each time the host server
reboots. See Enabling the CMS Server to Auto Restart—Linux (on page 79).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
46
14. At the "Installer has completed copying all all required files. Do you want to start Calix
Management System?" prompt, Calix recommends accepting the default Y (Start Now) in most
cases. Press <Enter> to continue.
It can take up to 20 minutes for the CMS server to start.
If you did not start the CMS server in this Step, you must start it manually. See Manually Starting
the CMS Server (on page 75).
15. At the "View Readme file?" prompt, type Y and press <Enter> to review the software readme file.
Press <Enter> several times to read through the readme file After reading, the installation is
over.
16. Log in to CMS Web and confirm that the CMS server is running. For instructions, see Opening
CMS Web (on page 47).
17. Install CMS Desktop on each required client machine. See Installing CMS Desktop (on page 34).
18. Run an immediate Inventory Snapshot. See "Scheduling an Inventory Snapshot" in the CMS User
Guide for details.
19. If you are connecting to Calix Operations Cloud, reinstall CMS Probe according to the
instructions in "Reconnect CMS to Operations Cloud After CMS Upgrade" in Calix Operations
Cloud Help.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
47
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
48
1. In your Web browser, open a window and navigate to one of the following URLs:
[Link]
[Link]
Note: If you use http instead of https, you will be redirected to https (secure connection).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
49
Note: To upgrade the CMS GUI application, you may need to run the CMS GUI with the administrator
privilege.
1. Launch CMS Desktop and log on to a server that has a more recent version of CMS.
2. When prompted to upgrade the CMS client, click Yes. The client upgrades and re-launches.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
50
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Appendix A
This section includes a checklist of the options you may need to consider. Instructions for options
that you perform on the host server are included below. Instructions for options that you perform on
CMS Desktop or CMS Web can be found in the Calix Management System (CMS) Guide.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
52
Enable RADIUS Complete this configuration step if See the Calix Management System
authentication. you use a RADIUS server. (CMS) Guide
Create CMS user groups and Review the options for topological See the Calix Management System
user accounts. and functional user access and (CMS) Guide
determine how to implement the CMS
administrative and functional tasks
within your company.
Create regions, network Create and group your network See the Calix Management System
groups, and Calix network elements in CMS Desktop by add (CMS) Guide
elements. them to the Navigation Tree.
Each network and node managed
from CMS must be functioning, with
equipment and transport provisioned.
Review and customize, if Review the PM data downloads Working with Scheduled Tasks (on
needed, the system required for each of the business page 64)
scheduled tasks, or create reports (C7 only). For instructions on how to create PM
new scheduled tasks. Weekly system scheduled tasks for downloads, CMS database backups,
Note: During an upgrade, inventory snapshots are network or node backups, and
system scheduled tasks are automatically created for C7, E3/E5- inventory snapshots, see the Calix
not exported with the CMS 100, and E7 nodes. Management System (CMS) Guide.
database. You must A daily scheduled task for CMS
manually re-input any database backups is also created.
customizations.
Check for and remove any duplicate
download tasks.
Review and modify, if Customize CMS security and archive "Modifying the Default CMS Security
needed, CMS system and settings. and Archive Settings" in the Calix
administrative settings System Management (CMS) Guide
based on company
Modify the default synchronization Modifying the Default Synchronization
requirements.
options. Options (on page 54)
Review the system available CMS System Configuration Settings
configuration settings. (on page 95)
(Optional) Create cron jobs. Use cron jobs with UNIX scripts to UNIX Scripts (on page 55)
download PM data or manage C7
backup files.
For AE ONT and E-Series For CMS Appliance servers, Performing CentOS Administrative
product support, review your instructions are provided for Tasks (CMS Appliance Servers) (on
server configuration configuring DHCP and NTP services. page 101)
requirements. Performing Linux Administration
Tasks (CMS2GO Servers) (on page
107)
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
53
Test and verify. Check network and node Troubleshooting Calix Network
connectivity. Element Connections (on page 70)
Verify any optional settings you
have made.
Verify that PM data can be
retrieved and cron jobs (if used)
are running.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
54
Note: You typically do not need to perform the procedure in this section.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
55
UNIX Scripts
This section contains UNIX scripts for:
Rebooting the CMS server
Enabling the CMS server to auto restart
Performing daily PM downloads
Performing PM queries
Performing log queries
Downloading ADSL call status data
Troubleshooting the SSH server
You can optionally obtain a script from Calix to use in conjunction with a cron job to schedule
downloads of PM data to occur at a specific time each day. For more information, see Performing a
Daily PM Download with a Script (on page 56).
[Link] syntax
Run the [Link] script from the bin folder in the CMS installation directory:
[Link] -p PMType [-s StartTime] [-e EndTime] [-n NetworkID] [-a AID] [-l Location] [-f Format] [-
o Output]
Note: To query ADSL, XDSL, or XDSL group call status or Ethernet statistics, use these options
for PMType without specifying a data type: ETHERNET, ADSLCALLSTATUS, XDSLCALLSTATUS,
XDSLETHGROUPSTATUS, XDSLETHSTATUS, or XDSLGROUPCALLSTATUS.
StartTime (optional) – Use the format "MM/DD/YY hh:mm:ss" (include the quotes). If not
supplied, the system uses a date and time 24 hours prior to the current date and time.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
56
EndTime (optional) – Use the format "MM/DD/YY hh:mm:ss" (include the quotes). If not
supplied, the system uses the current date and time.
NetworkID (optional) – Type a case-sensitive network name, enclosed in quotes, to include that
network, or part of a network ID to perform a Contains (like) match. If not supplied, all network
IDs are included in the download.
AID (optional; if used, you must also specify a value for the Network ID parameter) – Type a
case-sensitive AID for the port, or type part of an AID to perform a Contains (like) match. If not
supplied, all ports are included in the download.
Location (optional) – Valid options are 1 (for far-end data) and 2 (for near-end data). If not
supplied, both far-end and near-end data is returned in the query.
Format (optional) – Valid options are HTML and CSV. If not supplied, HTML is used.
Output (optional) – Type a file name for the PM download, including the file name extension. If
not supplied, a file name in the format MMDDYY-hh:mm:ss is used.
The above example queries all ADSL 15-minute PM data on July 23, 2012 between 10:31 a.m. and
2:10 p.m. for the Baywood network. The query output is saved in CSV file format in a file
[Link].
The results are saved in CSV format in two files (one for 15-minute data and one for 1-day data) for
each PM data type. Each file name identifies the CMS server name, data type, data frequency, and
date of the data, as follows:
pm_PMType_DataType_TimeStamp.csv
where
PMType is DS1, DS3, ADSL, XDSL, HDSL, XDSLGroup, OC3, OC12, OC48, STS1, STS3c, STS12C,
STS48C, IMA, IMALink, 10GEPort, GEPort, ERPS, OntEthGe, OntEthFe, OntEthHpna, OntDs1, ONT,
ONTPWE3, ETHDSL, and DSL.
DataType is 1DAY and 15MIN
TimeStamp is the date and time in the format MMDDYYYY_hhmmss
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
57
Before using the pmdownload script, you must set the FTP hostname, FTP username, FTP user
password, and FTP folder. You can also schedule the pmdownload script to execute at a pre-
determined time using cron jobs. Examples are shown in the following procedure.
Tip: By default, all PM and data types are exported. You can optionally exclude data by completing
Step 4 in the following procedure.
1. Open a terminal window on the host server, or use a remote telnet or SSH session to log in to
the host server.
2. Copy the pmdownload file to the CMS_install/bin directory, where CMS_install is the directory
where the currently-running CMS server is located.
3. Using a text editor such as vi, open the pmdownload file and change the following parameters
to match the FTP server settings in the first section of the script:
hostName=ftp host name
userName=ftp user name
password=ftp password
remoteDir=ftp directory
Example:
hostname=[Link]
username=cmsuser1
password=user123
remoteDir=/home/myusername/pmfiles
4. (Optional) To exclude a specific PM or data type, at the end of the script file, add a number
character (#) before the getpmdata line for that data.
Example:
#getpmdata1Day HDSL1DAY
excludes HDSL 1-day PM data.
5. Save and close the file.
Note: The user creating the cron job must also run the cron job to avoid a permission conflict with
the output file. The following procedure assumes that the root user will run the cron job. If the
"cmsuser" user is running it in your organization, switch to the cmsuser user after logging on in Step
1.
The example above schedules the cron job to execute the script pmdownload in directory
/cms/bin/ at 8:30 AM each day.
5. Save and close the file.
6. On the command line, call crontab to set up the cron job.
Example:
crontab mycron <ENTER>
7. Verify that the cron job is configured correctly by entering “crontab –l”.
Example:
crontab –l <ENTER>
30 08 * * * /cms_install_dir/bin/pmdownload
This section includes the syntax for and an example of the [Link] script.
[Link] syntax
Instructions for using each parameter follow:
LogType (required) – Type the short name of the log report. Options are alm (Alarm Log), evt
(Event Log), tca (Threshold Crossing Event Log), secu (Security Log), dbchg (C7 Network
Database Change Log), update (CMS Update Log). Values are not case sensitive.
StartTime (optional) – Use the format MM/DD/YY_hh:mm:ss. If not supplied, the system uses a
date and time 24 hours prior to the current date and time.
EndTime (optional) – Use the format MM/DD/YY_hh:mm:ss. If not supplied, the system uses the
current date and time.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
59
NetworkName (optional) – Use one of two options: 1) Type all or part of a case-insensitive
network name to perform a Contains (like) match. 2) Type cms to include CMS-level log entries
in the query results. (Note: This option performs a Contains match that includes all networks
with cms in the network name). Leave out the parameter to include all networks and CMS log
entries in the query.
AID (optional) – Type a case insensitive access identifier (AID), or type part of an AID to
perform a Contains (like) match. Leave out the parameter to include all AIDs in the query.
Format (optional) – Valid options are HTML and CSV. If not supplied, HTML is used.
Output (optional) – Type a file name for the log query file, including the file name extension
(.html or .csv). If not supplied, a file name in the format MMDDYY-hh:mm:ss is used.
queries all network events on May 10, 2012 between 10:31 a.m. and 2:10 p.m. for the Baywood
network. The query output is saved in HTML file format in a file [Link].
where path is the absolute path or directory where to save the node alias backup file. Save the
script.
3. From the bin folder, run the backup script, as follows:
[Link] filename
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
60
Script example
This example,
[Link] MyTemplates
backs up all network node aliases and save them in CSV format in a file MyTemplates in the
directory that you specified in the backup script.
where path is the absolute path or directory where you saved the reporting template backup file
in Step 2.
Save the script.
4. From the bin directory, run the restore script, as follows:
[Link] filename
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
61
Tip: You can view help for this command by typing getadsl help from the bin folder of the CMS
installation directory.
[Link] syntax
Run the [Link] script from the bin folder in the CMS installation directory:
[Link] [-n NetworkID] [-a AID] [-f Format html|csv] [-o Output File]
The above example queries all ADSL call status data for the Orien network. The query output is
saved in HTML file format in a file [Link]. By not specifying an AID, the PM data returns for all
AIDs in the Orien network.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
62
1. Save the current cron job into a temporary text file, such as “archivecron”. For example:
crontab –l >archivecron <ENTER>
2. Using a text editor, open the file.
3. Add or modify the cron job setting in the file to schedule the download. The first column is
minute, the second column is hour, the third column is the day of the month, and last column is
the command. For example:
30 02 01 * * perl /cms/bin/[Link] [folder_target]
where [folder_target] is the target folder for the backup.
The example above schedules the cron job to execute the script fileArchiver in directory
/cms/bin/ at 2:30 AM on the first day of each month.
4. Save and close the file.
5. On the command line, call crontab to set up the cron job. For example:
crontab archivecron <ENTER>
6. Verify that the cron job is configured correctly by entering “crontab –l”. For example:
crontab –l <ENTER>
30 02 01 * * perl /cms/bin/[Link] [folder_target]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Appendix B
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
64
Important: Only CMS Desktop users in the Administrators user group can create a scheduled task.
For instructions on how to create each scheduled task type listed below, see the Calix Management
System (CMS) Guide.
Scheduling a PM Download
Scheduling a CMS Database Backup
Scheduling Calix Network Element Backups
Scheduling an Inventory Snapshot
Scheduling E3/E5-100 Software Upgrades
Scheduling E5-400 and E7 Software Upgrades
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
65
Note: When upgrading CMS, system scheduled tasks are not exported with the CMS database. If you
have customized a default scheduled task, you must manually re-input the changes after the
upgrade.
Note: If you delete a system scheduled task, it is automatically recreated if the CMS server is
restarted.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
66
Status fields
Each scheduled task displays the following information:
Item Description
Important: Only CMS Desktop users in the Administrators user group can modify or delete a
scheduled task.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
67
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
68
For 1-day PM data bins (daily recurring PM downloads), determine the best schedule of
distribution of 1-day downloads for your situation.
Schedule non-recurring PM downloads as seldom as possible, and only for networks that are
critical.
You can schedule multiple node backups to occur at the same time. CMS actively backs up as many
as five networks at one time. When more than five networks are scheduled for backup at the same
time, as one network backup completes, a new network backup begins. This process continues until
all scheduled network backups are finished.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
69
Use CMS to schedule a database backup task. You can schedule database backups to occur on
a one-time, daily, weekly, or monthly basis. See Scheduling a CMS Database Backup (CMS,
Help).
Note: Scheduling a database backup requires Full CMS Administrative privileges. See CMS User
Privileges.
C7 networks
Individual C7 networks back up one shelf at a time. The files download to the designated FTP/SFTP
server during the backup process.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
70
Perform these troubleshooting actions in the following order until the C7 network connection
problem is cleared:
From a Telnet or X terminal session, ping the network from the CMS server using the IP
address, user name, and password used to create the network in CMS.
Note: A blank User Name field in the Network Information screen indicates that the network was
created using the default C7 user name and password.
Investigate for possible LAN/firewall issues between the CMS server and the network.
Check that the network login and password used by CMS are valid.
If the network has raised a Network Dropped alarm, delete the network from CMS and
recreate it.
Investigate for a possible admin master AMP/ATP card failure in the network.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
71
You can manually disconnect an E3/E5-100 node and reconnect it, for example, after
troubleshooting a connection issue.
1. On the Navigation Tree, click the root region or the parent network group of the device.
2. In the Work Area, click Network Details > E3/E5-100 Nodes.
3. In the device list, select one or more nodes. To select multiple nodes, use Ctrl+click to select
one at a time, or select the first node and then use Shift+click to select a range.
4. Click Action > Disconnect or Connect.
Note: CMS uses an HTTP session to access the embedded Web interface for managing E-Series
platforms. If a CMS Desktop user session is open for more than 12 hours, the HTTP session
automatically times out. To re-access the Web interface, you must close and re-start CMS Desktop.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
72
You can manually disconnect a unit and reconnect it, for example, after troubleshooting a
connection issue.
1. On the Navigation Tree, click the parent network group of the unit.
2. In the Work Area, click Network Details, and then click the node type.
3. In the device list, select the unit(s).
4. Click Action > Disconnect or Connect.
A TrapRegFailed alarm indicates node SNMP traps sent to the CMS server from the alarmed Calix
device are unsuccessful.
Recommended Action
1. In a terminal window or remote telnet or SSH session, log in as a root user on the host server.
Verify that the entries in the etc/hosts file are correct:
At the command prompt, type the following: cat /etc/hosts
Use a text editor to edit or add the CMS server static IP address and DNS name to match
the following example:
where [Link] is the CMS server static IP address and cmsserver is the name of the
CMS server.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
73
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
74
Synchronize the database with CMS. See Synchronizing F5 Databases (on page 74).
Synchronizing F5 Databases
F5 nodes are added on the Navigation Tree in CMS after you create them. You must then manually
synchronize F5 nodes with CMS to view alarms and monitor and provision the nodes and shelves.
Manual synchronization is also required after specific alarm conditions, such as an EMS-System Out
of Sync alarm.
Note: Each time you restart the CMS server, the system automatically attempts to synchronize with
each F5 database.
The time it takes to synchronize F5 nodes varies from several minutes to over a half hour per node
or shelf, depending on the size of the database.
To synchronize an F5 database
Note: Synchronizations are queued to execute two at a time. During synchronization, the F5 node
collapses on the Navigation Tree for all users running CMS Desktop. Avoid any provisioning on the
F5 node until synchronization has completed and you can expand the node or shelf on the
Navigation Tree.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
75
Using the [Link] script, you can start the CMS server in either of these situations:
The host server reboots and you have not enabled the Auto Restart option.
You have manually shut down the CMS server using the [Link] script.
The CMS system administrator typically performs this procedure.
Example
In the following example, cms_current indicates the directory where the CMS server software is
installed:
[root@cmshost1]# cd /home/cms_current/bin
[root@cmshost1 bin]#./[Link]
Related topics
Verifying the CMS Server is Operating: Solaris or Linux (on page 76)
Troubleshooting CMS Processes (on page 78)
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
76
1. Open a terminal window on the host server, or use a remote telnet or SSH session to log in to
the host server as a root user.
2. Navigate to the /bin directory for the current CMS and run following command:
./[Link]
Running indicates processes that are running. Stopped indicates processes that are not
running.
Example
In the following example, cms_current indicates the directory where the CMS server software is
installed:
[root@cmshost1]# cd /home/cms_current/bin
[root@cmshost1 bin]# ./[Link]
[root@cmshost1 bin]#
Note: The [Link] command should only be used from the home directory of the currently-
running CMS.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
77
1. Open a terminal window on the host server, or use a remote telnet or SSH session to log in to
the host server as a root user.
2. Navigate to the /bin directory for the current CMS and run following command:
sh [Link]
Example
In the following example, cms_current indicates the directory where the CMS server software is
installed:
[root@cmshost1]# cd /home/cms_current/bin
[root@cmshost1 bin]# sh [Link]
[root@cmshost1 bin]#
1. Open CMS Web (on page 47). If the CMS Home page opens, the CMS server is operating.
2. The CMS Home window displays the following server information:
CMS Build version
CMS Desktop (EWI) access port number
TL1 access port number
HTTP access port number
HTTPS access port number
Database type and version
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
78
Recommended action
Note: Unless you specify a different port, CMS configures the e-mail server using the default
SMTP port 25.
5. In the From Address box, type the e-mail address for the From e-mail field of the notices.
6. In the Connection Security list, select Start TLS if e-mails are sent to a host that is configured
for SMTP with TLS. Otherwise leave the default selection (None).
7. (Optional) To record an authorization user ID and password credentials to access the server,
click the Auth radio button and type the information.
8. To send a test e-mail to the e-mail address saved with your CMS user account, click Test.
9. Click Save to save the configuration.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
79
Troubleshooting SSH
You can manually shutdown, startup, and reset the SSH server with UNIX scripts included in the CMS
server installation. When you modify SSH server settings, the SSH server must be reset without
disconnecting the existing SSH client.
Performing this procedure is not required if you have automatically configure this setting during a
CMS server software installation or upgrade.
Configuring the CMS server auto restart requires root user permissions.
For a list of basic operating system and vi editor commands, see Basic Operating System Commands
(on page 129) and vi Editor Commands (on page 133).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
80
Note: The examples in this procedure assume that /cms/cms_current is the directory of the current
CMS installation, and that vi is used as the text editor.
1. Log in on the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
2. Navigate to the /bin folder of the CMS installation directory.
Example
3. Edit the cms script to change the default CMS directory path to the current path:
a. At the command prompt, type: vi cms to open the script file.
b. Scroll down to the line that begins with CMSHOME=, and then scroll to the right so that the
cursor is located after the = sign.
c. Press the x key several times to delete each character in the default path.
d. Press i to switch to insert mode.
e. Press <End> to move the cursor directly after the = sign, and type the full path where the
current CMS is installed on the server.
f. Press <Esc> to finish editing.
g. Type :wq and press <enter> to save the changes and close the script file.
Example
# chkconfig: 2345 99 30
# description: Startup/Shutdown script for Calix Management Server
#
CMSHOME=/cms/cms_current
#CMSUSER=root
export CMSHOME
case "$1" in
'start')
cd $CMSHOME/bin
# /bin/su - $CMSUSER -c $CMSHOME/bin/[Link]
rm -rf [Link]
$CMSHOME/bin/[Link]
;;
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
81
'stop')
# /bin/su - $CMSUSER -c $CMSHOME/bin/[Link]
$CMSHOME/bin/[Link]
;;
*)
echo "Usage: $0 { start | stop }"
:wq
[root@cmshost1 bin]#
4. Copy the cms script file from the /bin folder of the CMS installation directory to the /etc/init.d/
directory.
Example
Example
Note: If you subsequently uninstall the CMS server, be sure to run the command: /sbin/chkconfig
--del cms.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
82
Database Tasks
CMS objects include CMS security and user settings, regions, Calix devices, recurring scheduled
tasks (other than system scheduled tasks), global profiles and subscriber templates, data and video
subscriber information, and other system settings.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
83
4. In the CMS Objects area, select the check boxes to the left of each object to export, or click the
Select All check box to select all items.
Scroll to the bottom of the page, and in the Filename for Export box type a file name. Do not
include the file extension or a path.
5. Click Submit to open the File Download dialog box.
6. In the File Download dialog box, do the following:
a. Click Save to open the Save As dialog box.
b. Navigate to the location on your PC or workstation, and then click Save to save the file.
Notes:
Do not import a CMS database from a higher CMS server software release to a lower release.
When upgrading CMS server software, Calix recommends using the automatic import feature for
servers supporting less than 500,000 subscriber lines. For servers supporting 500,000 or more
subscribers, refer to the Calix Installation and Upgrade Guide for instructions on how to perform
a full CMS installation after manually exporting CMS database objects.
To import CMS objects from a completed CMS database backup, you must copy the backup file
to your PC or workstation.
If you import a CMS database that is older than the current database, subscriber information for
newer services may not display in the Services screen for ADSL and ONT ports.
For Calix network elements with the Auto Connect parameter set to Y (automatically attempt to
reconnect), CMS attempts to establish a connection with the network when the import is
complete. For large databases, Calix recommends temporarily setting the Auto Connect
parameter to N before importing a CMS database, and after the import is complete, turning the
Auto Connect parameter back on for the same devices. For instructions, see the specific device
section in the "Configuration Management" chapter.
Importing CMS objects requires Full CMS Administration privileges.
Before starting the restore procedure, locate the previously saved backup or export file. If needed,
copy it to a folder on your PC or workstation. You need to know the file location in order to complete
the import procedure.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
84
If importing a database backup into a current running CMS instance, the current Global data will be
overwritten based based on ID (or index). If there is extra provisioning within the database to be
imported that does not currently exist on the current running database, that information will be
add/appended to the Global provisioning. This applies to all Global data including allowed Users
and User Permissions, as well as all items under the Profile Tab.
Note: Take careful note of the database that is being imported. If the database is from a completely
different CMS instance, this could cause incorrect provisioning to be applied to the existing Global
Profiles, and possibly service impairment.
Use the following procedure to move CMS PM and LOG tables into separate tablespaces residing on
a separate hard disk or partitioned drive.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
85
1. On the server hosting the Oracle database, create new tablespaces for PM and LOG data on a
separate hard disk or partitioned drive with the following recommended settings:
Note: Data files for PM and LOG tablespaces must be in different physical disks from the USER
tablespace.
Initial size: 5 GB
Increment: 2 GB
Max size: Unlimited
Autoextend: On
Enable logging: N
2. Log in to the CMS host server with root user permission.
3. Shut down the CMS server. Navigate to /bin directory of CMS installation folder and run the
following command:
sh [Link]
4. Switch to the CMS administrative user (cmsuser). Run the following command:
su - cmsuser
5. Navigate to the /bin directory of the CMS installation folder and do the following:
To move PM tables to a new tablespace, run the script:
./[Link] PM <PM tablespace name>
where <PM tablespace name> is the tablespace name created for PM tables in step 1.
To move LOG tables to a new tablespace, run script:
./[Link] LOG <LOG tablespace name>
where <LOG tablespace name> is the tablespace name created for LOG tables in step 1.
6. Switch back to the root user, and start the CMS server. Navigate to /bin directory of CMS
installation folder and run the following command:
sh [Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
86
Notes
Database migration is an offline process that requires the current and previous version CMS
servers to be shut down. Migrating a large amount of PM and archived log data requires a
significant amount of time. For specific guidelines and recommendations, contact Calix CMS
support.
Only the archived C7 and E5-400 PM/E7 data is transferred to the new Postgres database.
Historical F5 PM information is not transferred.
Note: In this procedure cms_old refers to the directory of the previous version of CMS (from which
you are migrating data), and cms_new refers to the directory of the current version of CMS (to which
you are migrating data).
3. If the CMS server from which you are migrating data is running, shut it down. Navigate to the
cms_old/bin folder, and then run:
[Link]
Note: If you are transferring data from a Postgres database, complete Step 4. If you are
transferring data from an Oracle database, skip to Step 5.
6. If the CMS server to which you are migrating data is running, shut it down. Navigate to the
folder: cms_new/bin folder, and then run:
[Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
87
Note: In this procedure cms_old refers to the directory of the previous version of CMS (from which
you are migrating data), and cms_new refers to the directory of the current version of CMS (to which
you are migrating data).
1. Log in to the host server with the postgres database as the root user.
2. Switch to the cmsuser administrative user. Run:
su - cmsuser
3. If the CMS server from which you are migrating data is running, shut it down. Navigate to the
cms_old/bin folder, and then run:
[Link]
Note: If you are transferring data from a Postgres database, complete Steps 4 to 6. If you are
transferring data from an Oracle database, skip to Step 7.
7. On the server hosting the new CMS server, log in as the root user and navigate to the folder:
cms_new/bin folder.
8. If the new CMS server is running, shut it down. Run:
[Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
88
To optimize database performance, CMS includes a database maintenance utility that removes
unnecessary records and temporary data. By default, the utility runs nightly at 12:00 a.m. If required,
you can change disable the utility, or schedule it to run at an interval of every 2, 4, 6, or 8 hours.
Modifying the database maintenance utility schedule requires Full CMS Administration privileges.
Note: Although the database maintenance utility is non-intrusive and runs in the background, it can
slow query responses. Be sure to avoid running this utility concurrently with scheduled PM
downloads and inventory snapshots.
Avoid running the database maintenance utility during times of high database activity such as
during a CMS upgrade or while creating or connecting to Calix network elements. If required, you
can disable a scheduled database maintenance task to suspend the maintenance activity, and then
re-enable the utility when system tasks have completed.
Switching Databases
Use the following procedure to switch from a postgres to an Oracle database.
1. Export the CMS database objects. For instructions, see Exporting CMS Objects (on page 82).
2. Log in to the host server as the root user.
3. Run the following command to log in as cmsuser:
su - cmsuser
Switch database...
usage: java DBSwitchCommand [-host hostname] [-user user] [-port port]
[-dbtype dbtype] [-cmsroot cmsroot] [-noPing] [-pass password] [-
dbname dbname] [-help]
-cmsroot <cmsroot> CMS installation path. Default: ..
-dbname <dbname> Specify database name or SID
-dbtype <dbtype> Specify database type: oracle or postgres. Default:
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
90
oracle
-help print help message
-host <hostname> Specify IP address or host name of database server
-noPing do not ping database
-pass <password> Specify database password
-port <port> Specify database port number. Default: 1521 for
oracle, 5432 for postgres
-user <user> Specify database username
6. In the terminal window, run the [Link] script with modified parameters as needed.
Examples
Switch to use an Oracle database with hostname "cms01", Oracle port number "1521",
Oracle SID "cms", username "cms" and password "cms." From the $CMS_HOME/bin folder,
run:
[Link] -host cms01 -dbname cms -user cms -pass cms
Switch to use a Postgres database with hostname "localhost", Postgres port number
"5432", database name "postgres", username "postgres" and password "postgres" without
verifying the database connection. From the $CMS_HOME/bin folder, run:
[Link] -dbtype postgres -host localhost -dbname postgres -user
postgres -pass postgres -noPing
8. Restore the CMS objects from the database file that you exported in Step 1. See Restoring CMS
Objects (on page 83).
9. Restart the CMS server. See Manually Starting the CMS Server (on page 75).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
91
This section includes instructions for configuring a backup CMS server and importing the
configuration of the primary CMS server to synchronize the settings.
Important Considerations
It is assumed that a qualified UNIX or Linux system administrator is available to complete the
procedures in this section. Alternatively, you can contact Calix Professional Services to obtain a
quote to perform these tasks.
The time setting on the primary and secondary host servers should be synchronized using the
same SNTP server.
You must repeat the steps to configure the secondary/backup CMS server for each CMS server
software upgrade.
If required, you can make the secondary server the primary server by importing all CMS objects
including global profiles, subscriber objects, e-mail and SNMP notifications, and scheduled
tasks. You can import global profiles and subscriber services to the backup CMS server using a
script or the CMS Web import feature.
Process overview
1. Install and start the primary CMS server and secondary CMS server.
2. Configure the secondary/backup server by deleting all system scheduled tasks, creating an FTP
user, and (on the primary server) scheduling a CMS database backup task with the secondary
server designated as the FTP server.
3. Configure the upload_backup script to import CMS objects contained in the primary server CMS
database backup files.
4. Set up a cron job to run the script.
5. Export the CMS security objects from the primary CMS Appliance server and import them to
CMS on the secondary server.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
92
The following actions performed on the primary server do not display on the secondary server:
Activating subscribers using the subscriber activation Services screen.
Acknowledging alarms.
Generating CMS Web business reports.
For supported operation, the secondary or backup CMS server must not perform any management
operations or communicate with managed network elements. Doing so can cause inconsistencies
between the primary and secondary servers when CMS objects are imported and can severely
degrade operation. Therefore, the secondary server does not support the following operations:
Add, modify, or delete a region or network.
Add, modify, or delete subscriber services.
Add, modify, or delete a CMS user group, user, or other CMS security related configuration
(Global, SSH, RADIUS, ACL).
Modify CMS system settings.
Create scheduled tasks.
Create or modify global profiles or global subscriber templates.
Add or modify e-mail and SNMP notifications.
Note: System scheduled tasks are designated by Job IDs less than 100.
1. Log in (or open a Telnet session) to the secondary CMS server as the root user.
2. Navigate to the CMS /bin directory.
3. Use the “ls” command to show all files in the directory. Confirm that file upload_backup.sh
exists in this directory.
4. Using a text editor, open the upload_backup.sh file.
5. Change the following parameter values to match the import file location and CMS administrator
user credentials:
IMPORT_FILE_DIR=path/to/import_files
USERNAME=rootgod
PASSWORD=root
where:
/path/to/import_files is the folder that stores the backup files transferred via FTP from the
primary CMS server
rootgod and root are the user name and password of the CMS administrator user used to
import the backup files.
Important: If you use the rootgod CMS administrator user or another CMS administrator user
account that also exists on the primary server, and the password of that user changes on the
primary CMS server, you must update the upload_backup.sh script on the secondary server with
the new password.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
94
The example above schedules the cron job to execute the script upload_backup.sh in directory
/cms/bin/ at 8:30 AM every day.
5. Save and close the file.
6. On the command line, run the crontab command to set up the cron job. For example:
crontab mycron
7. Verify that the cron job is configured correctly by entering crontab –l. For example:
crontab –l
30 08 * * * /cms/bin/upload_backup.sh
Note: Each time the cron job runs on the secondary server, the upload_backup.sh script uploads the
latest CMS database file using the ls –lrt command.
1. On the primary server, follow the instructions in the procedure to export CMS Objects (on page
82). On the Export Dialog page, only select the following CMS object check boxes: Security
Defaults, Security Domain, User Group, and User.
2. On the secondary server, follow the instructions in the procedure to import CMS Objects (on
page 83). Use the file you exported from the primary server as the import file.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
95
Important: After a CMS software server upgrade, the frequency resets to the default. You must reset
a custom synchronization setting after each CMS upgrade.
Important: After a CMS software server upgrade, the audit frequency resets to the default. You must
reset a custom auto-connect audit frequency setting after each CMS upgrade.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
96
Important: After a CMS software server upgrade, the multithreading setting resets to the default.
You must reset a custom setting after each CMS upgrade.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
97
If you install the Oracle database on the same server as the CMS server software, you the following
example to change the default XML database HTTP port to avoid a conflict between Oracle and CMS
Web. You can use any Oracle client that can issue SQL commands to change the default HTTP port
from 8080 to another port.
The following example shows how to change the Oracle XML database default HTTP port from 8080
to 8081:
SQL> -- Change the HTTP/WEBDAV port from 8080 to 8081
SQL> call dbms_xdb.cfg_update(updateXML(
2 dbms_xdb.cfg_get()
3 , '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
4 , 8081))
5 /
You can verify the change by issuing the following SQL command:
SQL> -- Verify the change
SQL> set long 100000
SQL> set pagesize 9000
SQL> SELECT dbms_xdb.cfg_get FROM dual;
Note: You may need to increase the CMS session timeout value if you increase the F5/FD Web
session timeout.
You must restart the CMS server before the new setting takes effect.
$CMS_INSTALL_FOLDER//jakarta-tomcat-5.0.12/webapps/cmsweb/WEB-INF/[Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
98
<welcome-file>[Link]</welcome-file>
</welcome-file-list>
<session-config>
<session-timeout>NUM_OF_MINUTES</session-timeout>
</session-config>
where NUM_OF_MINUTES is the number of minutes for the F5/FD Web session timeout.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
99
To avoid a discrepancy between the time displayed in CMS Desktop and the host server time:
After a simple date and time change on the host server, close and restart any active CMS
Desktop sessions.
After a time zone change on the host server, your CMS administrator must close and restart the
CMS server software on the server used to host CMS. Then close and restart any active CMS
Desktop sessions.
The next time you open CMS Desktop, the host server time displays in the status bar.
Note: A change in date and time (particularly, moving the date and time backwards) can potentially
restart CMS scheduled tasks that have already completed or are in progress. Before making a date
and time change on the host server, check the start times and statuses of your scheduled tasks to
understand any potential impact (on the Navigation Tree in CMS Desktop, click CMS, and in the
Work Area, click System > Scheduled Tasks).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
100
To complete this procedure, you must log in to the host server as the root user.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
101
Other utilities, such as VNC, can be used for Linux administration tasks. In this Quick Start Guide,
Webmin is used for example purposes.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
102
To open Webmin
Enable Calix AE ONUs to use the CMS server for DHCP service.
Enable the DHCP server.
You can optionally configure an Ethernet port for use by the DHCP server. For more information, see
the Reference section of the CMS Appliance Guide.
Enabling Calix devices to use the CMS server for DHCP service
Enabling Calix devices to use the CMS server as the DHCP service requires editing the [Link]
file and turning on DHCP service.
For instructions on how to configure the DHCP server options at the network element level, refer to
the Calix user guide for the device.
The following procedure uses Webmin, which is pre-loaded on the CMS Appliance server.
1. If you have not already done so, log on to the CMS Appliance server as the root user and in the
Navigation pane on the left side of the screen, expand Servers and click DHCP Server.
2. Click Configfile.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
103
Note: Recommended settings for the default and maximum lease times display in the sample
file shipped with the CMS Appliance server and in example below. Adjust these settings for your
setup.
b. (Conditional, when routing to an outside network) Specify the IP address of the router. If
this step is required for your setup, activate the option routers command by deleting the
comment symbol (denoted by the "#") that precedes the option routers line and type the
IP address of the outside network.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
104
AE ONU R2.0 - AE ONUs continue to provide services even if the DHCP renewal for the management
interface occurs but fails. When the lease time expires, the AE ONU resets and attempts to recover a
management IP address. If the DHCP server remains unreachable, services on the AE ONU will
cease. In addition, the "Management Interface DHCP Renewal Failure" alarm is raised.
AE ONU R2.1 - AE ONUs continue to provide services even if the DHCP renewal for the management
interface occurs but fails. When the lease time expires, the AE ONU does not reset while services on
the AE ONU remain intact. In addition, the "Management Interface DHCP Renewal Failure" alarm is
raised.
1. If you have not already done so, log on to the CMS Appliance server as the root user and in the
Navigation pane on the left side of the screen, expand Servers and click DHCP Server.
2. Scroll to the bottom of the screen, and click Start Server.
3. A confirmation prompt displays indicating that the dhcpd server started successfully.
Important: To minimize possible performance issues, If using redundant DHCP servers, ensure the
DHCP server software on both machines is at the same revision level.
By default the NTP package is installed on the CMS Appliance server and the NTP daemon is
configured to run on startup. The Webmin NTP module is not installed. For instructions on how to
configure the NTP server options at the network element level, refer to the Calix user guide for the
device.
Restricting access to specific SNTP clients requires editing the [Link] file to add the IP subnets
for the managed devices. You can then verify that NTP service is running.
Notes: For example purposes this procedure uses Webmin to edit the [Link] file, which is located
in the etc/ folder.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
105
1. If you have not already done so, log in to the CMS Appliance server as the root user. See
Opening a Remote Management Session.
2. In the navigation pane on the left side of the screen, expand Others and click File Manager.
3. In the navigation pane, click the etc folder.
4. In the folder pane, select (click) [Link] once. In the icon tool bar at the top of the page, click
the Edit icon.
A window opens with the contents of the [Link] file.
5. Edit the [Link] file contents, if required, so that they are similar to the example above. Consult
with your IT system administrator for the required file settings.
To restrict access to specific SNTP clients, insert one or more lines below the line beginning
with # restrict [Link] mask [Link]. For example, to enable hosts on the
subnet 10.2.11.x to use CMS as an NTP source, insert the following line:
restrict [Link] mask [Link] nomodify notrap
6. To save your changes, at the bottom of the window, click Save and Close.
Example
# ntpdate cmsserver
27 Jan 20:21:13 ntpdate[7056]: adjust time server [Link] offset
0.000254 sec
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
106
For details regarding file contents, refer to the Calix AE ONT Configuration Guide for CMS.
See also:
Default TFTP Configuration (on page 106)
1. Log in to the host server as the root user. See Opening a Remote Management Session (on page
101).
2. In the navigation pane on the left side of the screen, expand Others and click File Manager.
3. In the navigation pane, double-click (expand) the opt folder, double-click the cms folder, double-
click the ae folder, and double-click the inc folder.
4. In the folder pane, select (click once) the file that you are viewing or editing. In the icon toolbar
at the top of the page, click the Edit icon.
A window opens with the contents of the file.
5. To save your changes, at the bottom of the window, click Save and Close.
As shown in the following illustration, the initial default setup uses a local host IP address
([Link]), the user name and password of the FTP user account as indicated above, and the
tftpboot folder.
Note: The tftp server configuration file is located in the /etc/xinetel folder on the CMS Appliance
server.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
107
The procedure in this section assumes that you have the Red Hat NTP package installed on the CMS
server. By default the NTP package is installed on CMS2GO–Dell servers running Red Hat ES5.
Tip: If your host server is running Red Hat 4, search on the Internet for instructions on
how to install the Yum installation utility.
To verify NTP is installed, log in to the host server as the root user and run the command:
yum info ntp
If NTP is not yet installed, you can install the latest version by running the command:
yum install ntp
If NTP is already installed, you can update to the latest version by running the command:
yum update ntp
Enabling Calix devices to receive NTP service from the CMS server
Enabling Calix devices to receive time updates via the CMS server requires editing the [Link] file
to add the IP subnets for the managed devices, configuring the ntp daemon to run on startup, and
starting the NTP service. You can then verify that NTP service is running.
For instructions on how to configure the NTP server options at the network element level, refer to
the Calix user guide for the device.
The following procedure assumes that you are running Red Hat ES5.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
108
1. Log in on the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
2. Navigate to the /etc directory.
Example
Tip: For a list of basic vi commands, see vi Editor Commands (on page 133).
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
109
:wq
[root@cmshost1 etc]#
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
110
Example
# ntpdate cmsserver
27 Jan 20:21:13 ntpdate[7056]: adjust time server [Link] offset
0.000254 sec
To enable these services, you must be logged in to the host server as the root user.
To enable FTP
To enable Telnet
Note: The following procedure assumes that you are running Red Hat ES5, 64 bit.
Note: To turn off Telnet service, use the chkconfig command, as follows: chkconfig telnet off
Before enabling the TFTP server, be sure that you understand the security implications by reviewing
the permissions settings and restricting write access to the TFTP download directory. The following
is an example of permission settings you can use:
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
111
Tip: If your host server is running Red Hat 4, search on the Internet for instructions on
how to install the Yum installation utility.
To verify TFTP server is installed, log in to the host server as the root user and run the
command:
yum info tftp-server
If TFTP is not yet installed, you can install the latest version by running the command:
yum install tftp-server
If TFTP is already installed, you can update to the latest version by running the
command:
yum update tftp-server
Tip: To install the TFTP client, the command to verify, install, and update the TFTP client
is the same as above using tftp in place of tftp-server.
Enabling the TFTP server requires editing the tftpd file, restarting the tftp daemon, and turning on
the TFTP service. You can then verify that TFTP server is running.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
112
For information about TFTP configuration at the network element level, refer to Calix 700GX Active
Ethernet (AE) ONT Configuration Guide.
1. Log in on the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
2. Navigate to the /etc/xinetd.d directory.
Example
Tip: For a list of basic vi commands, see vi Editor Commands (on page 133).
Note: Example settings are shown in the following example. Adjust the settings for your setup,
as necessary.
Example
# default: off
# description: The tftp server serves files using the trivial
# file transfer protocol. The tftp protocol is often used to
# boot diskless workstations, download configuration files to
# network-aware printers, and to start the installation process
# for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/[Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
113
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
:wq
[root@cmshost1 xinetd.d]#
4. After editing the file, restart the TFTP server. At the command prompt, type: service tftp
restart
Example
5. Configure the daemon to run on startup. At the command prompt, type: chkconfig tftp on
Example
6. Verify that TFTP server is running. Run the command: service xinetd status
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
114
Configuring the CMS Server for DHCP Service (Red Hat Linux)
The CMS server can be configured for DHCP service for Calix Active Ethernet (AE) ONTs.
Tip: If your host server is running Red Hat 4, search on the Internet for instructions on
how to install the Yum installation utility.
To verify DHCP is installed, log in to the host server as the root user and run the
command:
yum info dhcp
If DHCP is not yet installed, you can install the latest version by running the command:
yum install dhcp
If DHCP is already installed, you can update to the latest version by running the
command:
yum update dhcp
Tip: To determine what interface to use, you can run the ifconfig command to view all configured
Ethernet interfaces, and select the appropriate interface based on the IP address.
If you have not yet created a port for this purpose and your circumstances require one, complete the
following procedure.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
115
:wq
[root@cmshost1 etc]#
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
116
Enabling Calix devices to use the CMS server for DHCP service
Enabling Calix devices to use the CMS server as the DHCP service requires editing the [Link]
file, restarting the dhcp daemon, and turning on the DHCP service. You can then verify that DHCP
service is running.
For instructions on how to configure the DHCP server options at the network element level, refer to
the Calix user guide for the device.
1. Log in on the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
2. Navigate to the /etc directory.
Example
Tip: For a list of basic vi commands, see vi Editor Commands (on page 133).
Note: Recommended settings for the default and maximum lease times are shown in the
following example. Adjust these settings for your setup.
c. (Conditional, when routing to an outside network) Specify the IP address of the router. If
this step is not required for your setup, remove or uncomment the option routers line (as
shown in the following example).
d. (Conditional, for processing syslog messages) Specify the location for sending syslog
messages.
e. Press <Esc> to finish editing.
f. Type :wq and press <enter> to save the changes and close the script file.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
117
Example
ddns-update-style interim;
ignore client-updates;
# If this DHCP server is the official DHCP server for the local
# network, uncomment the authoritative directive.
authoritative;
:wq
[root@cmshost1 etc]#
4. After editing the file, restart the DHCP server. At the command prompt, type: service dhcpd
restart
5. Configure the daemon to run on startup. At the command prompt, type: chkconfig dhcpd on
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
118
Example
Configuring the CMS Server for SYSLOG Service (Red Hat Linux)
The CMS server can be configured for SYSLOG service for Calix Active Ethernet (AE) ONTs.
Tip: If your host server is running Red Hat 4, search on the Internet for instructions on
how to install the Yum installation utility.
To verify SYSLOG is installed, log in to the host server as the root user and run the
command:
yum info syslogd
If SYSLOG is not yet installed, you can install the latest version by running the command:
yum install syslogd
If SYSLOG is already installed, you can update to the latest version by running the
command:
yum update syslogd
Enabling Calix devices to use the CMS server for SYSLOG service
Enabling SYSLOG service requires editing the [Link] file, restarting the syslog daemon, and
turning on the SYSLOG service. You can then verify that SYSLOG service is running.
For information about SYSLOG server configuration at the network element level, refer to Calix
Active Ethernet (AE) ONT Configuration Guide.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
119
1. Log in on the host server as the root user. For tips and examples, see Accessing the Host Server
(on page 16).
2. Navigate to the /etc directory.
Example
Tip: For a list of basic vi commands, see vi Editor Commands (on page 133).
Note: Example settings are shown in the following example. Adjust the settings for your setup,
as necessary.
b. Calix recommends filtering ONT Syslog messages to assist in viewing and identifying ONT
messages by separating warnings and errors. See the additional lines at the end of the
following example [Link] file. By default, the ONT uses the ‘local0’ facility.
c. Press <Esc> to finish editing.
d. Type :wq and press <enter> to save the changes and close the script file.
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
120
:wq
[root@cmshost1 etc]#
4. After editing the file, restart the SYSLOG server. At the command prompt, type: service
syslog restart
Example
5. Configure the daemon to run on startup. At the command prompt, type: chkconfig syslog on
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
121
6. Verify that SYSLOG service is running. Run the command: service syslog status
Example
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
122
This topic provides procedures for removing CMS server software from a previous installation and
uninstalling CMS server software for a currently-running version.
To remove software from a previous CMS installation from the host server
1. Open a terminal window on the host server, or log in via a remote session as the root Linux user.
2. Use Linux commands or the Linux user interface to delete the CMS installation directory and all
subdirectories, where CMS installation directory refers to the location on the hard drive of a
previous CMS version.
1. Use CMS Web to export all CMS objects. For instructions, see Exporting CMS Objects (on page
82).
2. Open a terminal window on the host server, or log in via a remote telnet or SSH session as the
root Linux user.
3. Shut down the CMS server:
a. Navigate to the folder containing CMS files.
b. Navigate to ./bin.
c. Type ./[Link] and wait for the script to finish.
d. Type ./[Link] and verify that all processes display as Stopped, indicating that
the CMS server has shut down.
4. Remove the entire CMS installation folder from the CMS server.
5. Run the following command to remove the Auto Restart script file:
/sbin/chkconfig --del cms
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Appendix C
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
124
The following table shows the default incoming CMS server interface ports:
Note: Typically, port 22 is used by SSH service and port 23 is used by Telnet service on a UNIX host.
To open a SSH connection, you must have access to port 22. To open a Telnet connection, you must
have access to port 23.
Note: Port 20 must be open to incoming traffic in order to perform backups of E3/E5 devices.
Note: The CMS server uses port 8443 for HTTPS transmission. Be sure port 8443 is enabled before
installing the CMS. If needed, edit the /etc/services file to enable port 8443.
The CMS server software ships configured to use server port 8196 for CMS Desktop access. To
change the port number, contact the Calix Technical Assistance Center (TAC).
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
126
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
127
Note: To change CMS server ports, you need to be logged into CMS as a cmsuser, NOT as root, and
the CMS Server needs to be shut down and restarted for the changes to take effect.
Shell command:
_./[Link] _
Note: DO NOT manually change tomcat or jboss config files. The CMS server code will not
recognize the port changes, which will cause errors.
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
128
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Appendix D
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
130
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
131
Tip: Type man -k followed by a word to list all commands and descriptions that contain
the specified word. For example,
man -k finger
more Read the contents of a file.
Syntax: more [file name]
Example:
more [Link]
mount Enable access to a device such as a CD-ROM drive.
Syntax (Linux): mount -t auto [device type] [dir name]
Example:
mount -t auto /dev/cdrom /mnt/cdrom
Tip: Create the target directory using the mkdir command before using the mount
command.
mv Move or rename a file.
Syntax: mv [old file name] [new file name]
Example:
mv [Link] /home/cms_install_dir
passwd Change your current password. Prompts display for typing the old (current) and new
passwords, and then for verifying the new password.
Syntax: passwd
prstat Check the CPU usage (Solaris only).
Syntax: prstat
ps -ef | Display information about the current processes running.
grep
Example:
ps -ef | grep CMS_JBOSS
pwd List the name of your current directory.
Syntax: pwd
rm Remove a file.
Syntax: rm [file name]
Example:
rm [Link]
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
132
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
Appendix E
vi Editor Commands
Use the following commands to navigate and edit files with the vi editor on a Solaris or Linux
computer:
Movement Commands
Character
h, j, k, l Left, down, up, right
Text
w, W, b, B Forward, backward by word
e, E End of word
(, ) Beginning of next, previous sentence
{, } Beginning of next, previous paragraph
[[, ]] Beginning of next, previous section
Lines
0, $ First, last position of current line
^ First non-blank character of current line
+, - First character of next, previous line
H Top line of screen
M Middle line of screen
L Last line of screen
nH, nL Line n from top, bottom of screen
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
134
Movement Commands
Scrolling
[Ctrl]F, [Ctrl]B Scroll forward, backward one screen
[Ctrl]D, [Ctrl]U Scroll down, up one-half screen
[Ctrl]E, [Ctrl]Y Show one more line at bottom, top of window
z[Enter] Scroll until line with cursor is at top of screen
z. Scroll until line with cursor is at middle of screen
z- Scroll until line with cursor is at bottom of screen
Searches
/pattern Search forward for pattern
?pattern Search backward for pattern
n, N Repeat last search in same, opposite direction
/, ? Repeat previous search forward, backward
fx Search forward for character x in current line
Fx Search backward for character x in current line
tx Search forward for character before x in current line
Tx Search backward for character after x in current line
; Repeat previous current-line search
, Repeat previous current-line search in opposite direction
Line Number
[Ctrl]G Display current line number
nG Move to line number n
G Move to last line in file
:n Move to line number n
Marking Position
mx Mark current position as x
`x Move cursor to x
`` Return to previous mark or context
'x Move to beginning of line containing mark x
'' Return to begriming of line containing previous mark
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
135
Movement Commands
Editing Commands
Insert
i, a Insert text before, after cursor
I, A Insert text at beginning, end of line
o, O Open new line for text below, above cursor
Change
r Replace with next typed character
~ Change between uppercase and lowercase
cm Change text block defined by movement command m (for
example, cw changes next word)
cc Change current line
C Change to end of line
R Type over characters
s Delete character and continue typing
S Delete current line and continue typing
Delete or Move
x Delete character
X Delete character to the left of the cursor
dm Delete text block defined by movement command m (for example,
dw deletes next word)
dd Delete current line
D Delete to end of line
p, P Put deleted text before, after cursor
"np Put text from delete buffer number n after cursor (for last nine
deletions)
Yank
ym Yank (copy) text block defined by movement command m (for
example, yw yanks next word)
yy, Y Yank current line
"ayy Yank current line into named buffer a
p, P Put yanked text before, after cursor
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
136
Movement Commands
Invoking vi
Other ex Commands
ex Commands
: Invoke ex from vi editor
:sh Create a new shell
[Ctrl]D Return to editor from shell
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
137
Movement Commands
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.
138
Movement Commands
Special Symbols in ex
Proprietary Information: Not for use or disclosure except by written agreement with Calix.
© Calix. All Rights Reserved.