set instance

Description

Sets properties of the instance. The instance must be down.

Syntax

set instance instance_name logpath path
set instance instance_name startargs values
set instance instance_name {primary | secondary} port port_range
set instance instance_name {primary | secondary} address ip_address

Parameters

logpath logfile_path

specifies the path for the instance log file.

instance_name

specifies an instance.

startargs startup_args

specifies arguments for starting the instance.

{ primary | secondary } address ip_address

specifies the primary or secondary IP address for the instance.

{ primary | secondary } port port_range

specifies the primary or secondary port range for the instance. The format for port_range is start_num end_num.

Examples

Example 1

Changes the port range for the primary interface listening port:

set instance primary port 7777

Usage

To check that the instance is down, enter show cluster status.