VLSdelServerFromPool

Syntax

int VLSdelServerFromPool (	 	 
char	 	*server_name,
char	 	*server_addr ); 
Argument Description
server_name

Name of the License Manager to delete from the pool.

server_addr

IP address of the License Manager.

Description

Removes a License Manager’s name from the pool of redundant License Managers. This API modifies the redundant license file in order to delete the given License Manager from the pool.

Returns

The status code LS_SUCCESS is returned if successful. Otherwise, it will return the following error codes:

Error Code

Description

VLS_CALLING_ERROR

>server_name is NULL

>server_address is NULL

>Using standalone library. This function cannot be used with standalone library.

LS_NO_SUCCESS

Generic error indicating that the License Manager could not be deleted from the pool.

VLS_NON_REDUNDANT_ SRVR

License Manager is non-redundant and therefore cannot support this redundancy-related operation.

VLS_SERVER_NOT_PRESENT

Attempted to delete a License Manager that is not in the pool.

VLS_ONLY_SERVER

Cannot remove the last License Manager from the pool.

VLS_NO_SERVER_RUNNING

License Manager on specified host is not available for processing the license operation requests.

VLS_BAD_HOSTNAME

hostName is not valid.

VLS_NOT_AUTHORIZED

Invalid user.

VLS_CONF_FILE_ERROR

Error in configuration file.

VLS_SERVER_SYNC_IN_ PROGRESS

License Manager synchronization in process.

VLS_HOST_UNKNOWN

Invalid hostName is specified.

VLS_BAD_SERVER_ MESSAGE

Message returned by the License Manager could not be understood.

LS_NO_NETWORK

Generic error indicating that the network is unavailable for servicing license operation.

LS_NORESOURCES

An error occurred in attempting to allocate memory needed by this function.

For a complete list of the error codes, see Licensing Library Error and Result Codes.