Note
For Vx.x.x, this parameter is available starting with Vx.x.x.
Description
local_ip specifies the IP address of the server where the OBServer node is installed.
Note
For V4.2.1, this parameter is available starting with V4.2.1 BP3. When you start an OBServer node, if the system cannot find the network interface card (NIC) corresponding to the local IP address, the OBServer node does not fail to start. Instead, an error log is recorded, and the Devname specified in the configuration is used as the local NIC name.
Privilege requirements
sys tenant and all user tenants can query this parameter by using the SHOW PARAMETERS statement or the GV$OB_PARAMETERS view.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | Empty string |
| Value range | Valid IP address of the target server |
| Modifiable | No. This parameter can be set only during cluster deployment. After the cluster is deployed, the parameter cannot be modified. |
| Effective upon OBServer node restart | No. This parameter is read-only. |
Considerations
- You cannot use the
alter system setstatement to modify this parameter. - When you start an OBServer node, you can specify the IP address in the command line by using the
-Ior--local_ipoption. - We recommend that you do not specify both the
local_ipanddevnameparameters. If both parameters are specified, the value of thelocal_ipparameter is used. - You can use the
-ooption to specify the IP address in thelocal_ip=xxx.xxx.xxx.xxxformat. We recommend that you use the-Ior--local_ipoption to specify the IP address. If you use both the-I/--local_ipand-ooptions to specify the IP address, the value specified by the-ooption is used.
Examples
Start an OBServer node by specifying the 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"