Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Server - getServerDBKeyByName

Server - getServerDBKeyByName

Description :

This command converts a server name to a handle. If no server exists by the name specified, the command fails. This command returns a handle to the server. You can use this handle as input to other commands that need a handle to the server.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

serverName

String

Name of the server.

Example

Server handles are used in other BLCLI commands. The following example shows how to find the handle for a given server name:

Script


# Get the DBKey of the server by server name 

SERVER1_NAME="server1" 

SERVER1_DBKEY=`blcli Server getServerDBKeyByName $SERVER1_NAME` 



Was this page helpful? Yes No Submitting... Thank you

Comments