![Cisco CNS NetFlow Collection Engine Installation And Configuration Manual Download Page 25](http://html.mh-extra.com/html/cisco/cns-netflow-collection-engine/cns-netflow-collection-engine_installation-and-configuration-manual_67373025.webp)
2-5
Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2
OL-6900-01
Chapter 2 Installing CNS NetFlow Collection Engine
Installing on a Solaris or HP-UX Platform
If the CNS Netflow Collection Engine is running, an error is indicated and the install is terminated. You
must first stop all NFC processes.
Next, if the CNS Netflow Collection Engine was already installed, all files under
NFC_DIR/logs
are
automatically moved to the directory
NFC_DIR/logs/old
, and all files under
NFC_DIR/config
are
moved to N
FC_DIR/config/old
. The previous installation is then removed using
pkgrm
on Solaris or
swremove
on HP-UX:
Saving old config, logs, and data files...
Removing previous NFC package...
Note that all output files under
NFC_DIR/Data
and all
filesready
files in the logs directory are
preserved.
The new package is then installed. If you are installing CNS NetFlow Collection Engine on a Solaris
platform, proceed to Step 6. Otherwise, proceed to step 9.
Step 6
If CNS NetFlow Collection Engine is already installed on the system, the
pkgrm
program prompts
whether to remove the previously installed package. Enter
y
:
The following package is currently installed:
CSCOnfc Cisco CNS NetFlow Collection Engine
(Solaris2.8) 5.0 [standard image, build 23]
Do you want to remove this package? y
Step 7
The
pkgadd
program prompts whether to install the new package, to which you should press return (or
specify
all
):
The following packages are available:
1 CSCOnfc Cisco CNS NetFlow Collection Engine
(Solaris2.8) 5.0 [standard image, build 2]
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Step 8
The
pkgadd
program also detects that certain files and directories remaining from the previous
installation are no longer owned by a package and prompts whether to install the new files at that
location. You should respond
y
:
The following files are already installed on the system and are being
used by another package:
* /opt/CSCOnfc/Data <attribute change only>
* /opt/CSCOnfc/config <attribute change only>
* /opt/CSCOnfc/logs <attribute change only>
* /opt/CSCOnfc/tomcat <attribute change only>
* /opt/CSCOnfc/tomcat/conf <attribute change only>
* - conflict with a file which does not belong to any package.
Do you want to install these conflicting files [y,n,?,q] y