Overview
local_ip specifies the IP address of the server where the OBServer node is to be installed.
Privilege requirements
The sys tenant and all user tenants can query this parameter using the SHOW PARAMETERS statement or the GV$OB_PARAMETERS view.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | String |
| Default Value | Empty string |
| Value range | Valid IP Address of the Target Server |
| Modifiable | No. This parameter can only be set during cluster deployment and cannot be modified after the cluster takes effect. |
| Whether to restart the OBServer node for the change to take effect | No, read-only only |
Usage instructions
- Modifying it using the
alter system setstatement is not supported. - When starting the OBServer, specify the IP address on the command line using the
-Ior--local_ipparameter. - It is not recommended to specify both
local_ipanddevname. If both are specified,local_iptakes precedence. - You can use the
-oparameter to specify the IP address in thelocal_ip=xxx.xxx.xxx.xxxformat. However, it is recommended to use the-Ior--local_ipparameter to specify the IP address. If the IP address is specified using both the-I/--local_ipand-oparameters, the IP address specified by the-oparameter will prevail.
Configuration example
Start OBServer on a specified IP address.
./observer -I xxx.xxx.xxx.xxx -P 2882 -p 2881 -z zone1 -n demo1 -c 1 -d /home/user_name/path_to_store/store -l INFO -r 'xxx.xxx.xxx.xxx:2882:2881;xxx.xxx.xxx.xxx:2884:2883' -o "memory_limit=64G,system_memory=16G"