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 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 Example: Enabling Database Authentication.
Supported in the following platforms:
- Service Platforms —
NX9500, NX9600, VX9000
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:
- On the database host, use the database policy. This brings up the database
server.
- 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)#
- 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 |
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. |
use (profile/device-config-mode-commands) |
Uses a database-client-policy in the VX9000's device or
profile context |
database |
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. |
|