Note
This parameter was introduced in OceanBase Database V4.2.0.
Description
local_ip is the IP address of the node where the OceanBase Database Observer is installed.
Privilege requirements
In the sys tenant and user tenants, you can use the SHOW PARAMETERS statement or the GV$OB_PARAMETERS view to query this parameter.
Attributes
| Attribute | Description |
|---|---|
| Attribute | Description |
| Default value | Empty string |
| Value range | Valid IP address of the target server |
| Default value | An empty string |
| Value range | Valid IP address of the target host |
Considerations
- You cannot modify the value by running the
alter system setcommand. - We recommend that you use the
-Ior--local_ipparameter in the command line to specify the IP address when you start the OBServer node. - We recommend that you do not specify the
local_ipanddevnameparameters at the same time. If you do, the value of thelocal_ipparameter is used. - You can also specify the IP address in the
local_ip=xxx.xxx.xxx.xxxformat by using the-oparameter. If you specify IP addresses by using the-I,--local_ip, and-oparameters, the IP address specified by the-oparameter is used.
Examples
Start an OBServer node with the 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"