> # Installing Cisco DCNM-SAN Server

> When you install DCNM-SAN, the basic version of the Cisco DCNM-SAN Server (unlicensed) is installed with it. After you click the DCNM-SAN icon, a dialog box opens and you can enter the IP address of a computer running the Cisco DCNM-SAN Server component. If you do not see the Cisco DCNM-SAN Server IP address text box, click Options to expand the list of configuration options. If the server component is running on your local machine, leave localhost in that field. If you try to run DCNM-SAN without specifying a valid server, you are prompted to start the Cisco DCNM-SAN Server locally.

> On a Windows PC, you install the Cisco DCNM-SAN Server as a service. This service can then be administered using Services in the Administrative Tools. The default setting for the Cisco DCNM-SAN Server service is that the server is automatically started when the Windows PC is rebooted. You can change this behavior by modifying the properties in Services.

> For switches running Cisco MDS 9000 FabricWare, you must install DCNM-SAN from the CD-ROM included with your switch, or you can download DCNM-SAN from Cisco.com.

> Note You can have only one instance of Cisco DCNM-SAN Server running on a computer. If you have a DCNM-SAN Standalone version on your computer, you may need to uninstall it before you install Cisco DCNM-SAN Server.

> To download the software from Cisco.com, go to the following website:

> http://cisco.com/cgi-bin/tablebuild.pl/mds-fm

> Note If you are upgrading from an earlier version to 5.0(1a) or later, that is configured with HTTPS to use your own self-provisioned or a third-party issued SSL certificate, make sure that you set the keystore password and then restart the DCNM-SAN Server. To set the keystore password, run $INSTALLDIR/dcm/fm/bin encrypter.bat ssl.

> ## DETAILED STEPS

> 1. Click the Install Management Software link.
> 2. Choose Management Software > Cisco DCNM-SAN.
> 3. Click the Installing DCNM-SAN link.
> 4. Click the FM Installer link.

> You see the welcome message in the Cisco DCNM-SAN Installer window.

> 5. Click the Custom radio button, and then click Next to begin installation.
> 6. Check the I accept the terms of the License Agreement check box, and then click Next.

> You see the Install Options dialog box.

> 7. Click the Cisco DCNM-SAN Server (Licensed) radio button to install the server components for Cisco DCNM-SAN Server.
> 8. Click Add server to an existing server federation to add the server to a federation.

> Note You may need to add the following line in the pg-hba.conf file under # IPv4 local connections in order to allow remote hosts to connect to PostgreSQL database:
> host all all 0.0.0.0/0 md5
> After adding, save the configuration file, restart the PostgreSQL database before you install the second server node.

> Note If you are joining more then three DCNM-SAN Servers in a federation, you need to use an Oracle database with the following settings.

>     C:\Documents and Settings\Administrator>sqlplus /nolog
>     SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 6 17:19:32 2010
>     Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>     SQL> connect / as sysdba;
>     Connected.

>     SQL> alter system set processes=150 scope=spfile;
>     System altered.
>     SQL> alter system set open_cursors=500 scope=spfile;
>     System altered.

>     SQL> shutdown immediate;
>     Database closed.
>     Database dismounted.
>     ORACLE instance shut down.
>     SQL> startup;
>     ORACLE instance started.
>     Total System Global Area  805306368 bytes
>     Fixed Size                  1453836 bytes
>     Variable Size             218714356 bytes
>     Database Buffers          583008256 bytes
>     Redo Buffers                2129920 bytes
>     Database mounted.
>     Database opened.
>     SQL> show parameter processes;

>     Total System Global Area  805306368 bytes
>     Fixed Size                  1453836 bytes
>     Variable Size             218714356 bytes
>     Database Buffers          583008256 bytes
>     Redo Buffers                2129920 bytes
>     Database mounted.
>     Database opened.
>     SQL> show parameter processes;

>     NAME                                 TYPE        VALUE
>     ------------------------------------ ----------- ------------------------------
>     aq_tm_processes                      integer     0
>     db_writer_processes                  integer     4
>     gcs_server_processes                 integer     0
>     job_queue_processes                  integer     4
>     log_archive_max_processes            integer     2
>     processes                            integer     100

> 9. Select an installation folder on your workstation for Cisco DCNM-SAN. On Windows, the default location is C:\Program Files\Cisco Systems.
> 10. Click Next.

> You see the Database Options dialog box.

> 11. Click the radio button for either Install PostgreSQL or Use existing DB to specify which database you want to use.

> If you choose Install PostgreSQL, accept the defaults and enter a password. The PostgreSQL database will be installed.

> Note If you choose to install PostgreSQL, you must disable any security software you are running, because PostgreSQL may not install certain folders or users.

> Note Before you install PostgreSQL, remove the cygwin/bin from your environment variable path if Cygwin is running on your system.

> 12. If you select Use existing DB, click the radio button for either PostgreSQL 8.1/8.2 or Oracle10g.
> 13. Click Next in the Database Options dialog box.

> You see the Configuration Options dialog box.

> 14. Click Install to install Cisco DCNM-SAN Server.

> If you are evaluating one of these Cisco DCNM-SAN Server features and want to stop the evaluation period for that feature, you can do that using Device Manager.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.