Cisco Systems 1.2 Manual De Usuario

Descargar
Página de 366
What to Do Next
You can change the statistics collection interval from the default 15 minutes to 30 minutes. This is optional.
Connecting to an External PostgreSQL Database
Before You Begin
• Set up an external PostgreSQL database. The supported version is PostgreSQL (9.2.3) 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.
• The name of the database should not include the postgres phrase.
• 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
postgreSQL.
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 port is 5432.
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 postgreSQL 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 postgres
UCSC (stats-mgr) /db-configuration #
set hostname 10.10.10.10
UCSC (stats-mgr) /db-configuration #
set port 5432
   Cisco UCS Central Software User Manual, Release 1.2
294
Statistics Management
External Database for Statistics