srvctl getenv vip

Gets the environment variables for the specified VIP.

Note:

This command is only available with Oracle Clusterware.

Syntax and Parameters

Use the srvctl getenv vip command with the following syntax:

srvctl getenv vip -vip vip_name [-envs "name_list"] [-verbose]

Table A-73 srvctl getenv vip Parameters

Parameter Description
-vip vip_name

The name of the VIP

-envs "name_list"

Comma-delimited list of the names of environment variables

If this parameter is not specified, then the values of all environment variables associated with the VIP are displayed.

-verbose

Verbose output

Example

The following example lists all environment variables for the specified VIP:

$ srvctl getenv vip -vip node1-vip