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