srvctl setenv vip

Administers cluster VIP environment configurations.

Note:

This command is only available with Oracle Clusterware.

Syntax and Parameters

Use the srvctl setenv vip command with the following syntax:

srvctl setenv vip -vip vip_name {-envs "name=val[,name=val,...]" | 
     -env "name=val"} [-verbose]

Table A-148 srvctl setenv vip Parameters

Parameter Description
-vip vip_name

Name of the VIP

-envs "name=val,..."

Comma-delimited list of name-value pairs of environment variables

-env "name=val"

Enables single environment variable to be set to a value that contains commas or other special characters

-verbose

Verbose output

Example

The following example sets the language environment configuration for a cluster VIP:

$ srvctl setenv vip -vip crm1-vip -env "LANG=en"