Note
For V4.2.0, this parameter is available starting with V4.2.0.
Description
local_ip specifies the IP address of the ObServer node.
Privilege requirements
sys tenants 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 | An empty string |
| Value range | The valid IP address of the target node |
| Modifiable | No. This parameter can be set only when you deploy the cluster. After the cluster is deployed, you cannot modify this parameter. |
| 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 by using the
-Ior--local_ipoption. - We recommend that you do not specify both the
local_ipanddevnameparameters. If you specify both, the value oflocal_iptakes precedence. - You can specify the IP address in the
local_ip=xxx.xxx.xxx.xxxformat by using the-ooption. We recommend that you use the-Ior--local_ipoption to specify the IP address. If you specify the IP address by using both the-Ior--local_ipand-ooptions, the IP address specified by using the-ooption takes precedence.
Examples
Start an OBServer node by specifying an 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"
