database-client-policy global-config

Creates a database-client-policy and enters its configuration mode. The database-client-policy configures the IP address or hostname of the database host, and is used on the NSight/EGuest server‘s device context. However, the database-client-policy is required only in a split deployment, where the server and database are hosted on separate boxes. In such a scenario, the database-client-policy enables the server to identify the database host.

If enforcing database authentication, configure the user-name and password required to access the database on the database-client-policy. For more information on enabling database authentication, see database (user and privi exec modes).

Supported in the following platforms:

  • Service Platforms — NX 95XX, NX 96XX, VX 9000

Syntax

database-client-policy <DATABASE-CLIENT-POLICY-NAME>

Parameters

database-client-policy <DATABASE-CLIENT-POLICY-NAME>
database-client-policy <DATABASE-CLIENT-POLICY-NAME> Specify the database-client-policy name. If the policy does not exist, it is created.

Once created and configured, use this policy in the NSight/EGuest server‘s device context.

Examples

vx9000-34B78B(config)#database-client-policy DBClientPolicy
vx9000-34B78B(config-database-client-policy-DBClientPolicy)#?
Database Client Policy Mode commands:
  authentication   Database authentication
  database-server  Add database server
  no               Negate a command or set its defaults

  clrscr           Clears the display screen
  commit           Commit all changes made in this session
  do               Run commands from Exec mode
  end              End current mode and change to EXEC mode
  exit             End current mode and down to previous mode
  help             Description of the interactive help system
  revert           Revert changes
  service          Service Commands
  show             Show running system information
  write            Write running configuration to memory or terminal

vx9000-34B78B(config-database-client-policy-DBClientPolicy)#
To setup a database/server environment, with the database and the server hosted n separate hosts:
  1. On the database host, use the database policy. This brings up the database server.
  2. On the NSight/EGuest server, create the database-client-policy, and configure the database host‘s IP address or hostname.
    vx9000-34B78B(config)#database-client-policy DBClientPolicy
    vx9000-34B78B(config-database-client-policy-DBClientPolicy)#database-server 192.168.13.10
    vx9000-34B78B(config-database-client-policy-DBClientPolicy)#show context
    database-client-policy DBClientPolicy
      database-server 192.168.13.10
    vx9000-34B78B(config-database-client-policy-DBClientPolicy)#
  3. Use this database-client-policy in the NSight/EGuest server‘s device configuration context. Once applied, the server posts details to the database specified in the policy.
    vx9000-34B78B(config-device-00-0C-29-34-B7-8B)#use database-client-policy DBClientPolicy
    vx9000-34B78B(config-device-00-0C-29-34-B7-8B)#show context include-factory | include database-client-policy
     use database-client-policy DBClientPolicy
    vx9000-34B78B(config-device-00-0C-29-34-B7-8B)#

Related Commands

no (global-config-mode) Removes an existing database-client-policy
database-policy global config Documents database policy configuration commands. If enforcing authenticated database access, use this command to enable authentication on the database and configure the username and password.
nsight-policy (global-config-mode) Documents NSight policy configuration commands. The NSight policy is a tool, which when created and applied at the RF Domain level allows the RF Domain manager to send statistics (polled from devices within the RF Domain) to the NOC. The NOC, when enabled as the NSight server, stores this data in a locally or externally hosted database.
use (profile/device-config-mode-commands) Uses a database-client-policy in the VX 9000's device or profile context
database (user and privi exec modes) Drops or repairs a database. Also provides database keyfile management capabilities. If enforcing authenticated access to the database, use this command to generate, export, import, and zerzoise the keyfile.