Cisco Systems 1.2 Manual De Usuario

Descargar
Página de 366
Connecting to an External Oracle Database
Before You Begin
• Set up an external Oracle database. The supported version is Oracle Database 11g Enterprise Edition
Release 11.2.0.1.0 - 64-bit Production or higher. Note down the database server hostname, the database
name, the user name and the password to access the database. You must have privileges to create tables
in the database and to add, modify and delete records in those tables.
• You must open the firewall ports in the database server so that Cisco UCS Central can access the external
database.
Procedure
Purpose
Command or Action
Enters the statistics manager mode.
UCSC# connect stats-mgr
Step 1
Enters database configuration mode.
UCSC (stats-mgr) # scope db-configuration
Step 2
Sets the database type, in this case
Oracle.
UCSC (stats-mgr) /db-configuration # set type
dbtype
Step 3
Sets the hostname.
UCSC (stats-mgr) db-configuration # set
hostname 
hostname
Step 4
Sets the port. The default Oracle port is
1521.
UCSC (stats-mgr) /db-configuration # set port
port-number
Step 5
Sets the database name.
UCSC (stats-mgr) /db-configuration # set database
dbname
Step 6
Sets the database user name.
UCSC (stats-mgr) /db-configuration # set user
dbusername
Step 7
Sets the database password.
UCSC (stats-mgr) /db-configuration # set pwd
<enter_key>
Step 8
Commits the transaction to the system
configuration.
UCSC (stats-mgr) /db-configuration #
commit-buffer
Step 9
The following example sets up Cisco UCS Central to use an external Oracle database on the default port and
commits the transaction:
UCSC #
connect stats-mgr
UCSC (stats-mgr) #
scope db-configuration
UCSC (stats-mgr) /db-configuration #
set type oracle
UCSC (stats-mgr) /db-configuration #
set hostname 10.10.10.10
UCSC (stats-mgr) /db-configuration #
set port 1521
UCSC (stats-mgr) /db-configuration #
set database DB1
UCSC (stats-mgr) /db-configuration #
set user User1
UCSC (stats-mgr) /db-configuration #
set pwd <enter_key>
Password:
UCSC (stats-mgr) /db-configuration #
commit-buffer
Cisco UCS Central Software User Manual, Release 1.2    
293
Statistics Management
External Database for Statistics