Note
This variable was introduced in OceanBase Database V2.1.
Description
ob_tcp_invited_nodes specifies the IP address allowlist of a tenant. The value can contain percent signs (%), underscores (_), and IP addresses. Separate multiple IP addresses with commas (,). IP address list matching, mask matching, and fuzzy matching are supported.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | 127.0.0.1,::1 |
| Value limit | The string must contain less than 65,536 characters.
NoteThe value limit has been changed from “less than 4,096 characters” to “less than 65,536 characters” since OceanBase Database V4.2.1 BP1. |
| Effective scope | Global |
| Modifiable | Yes. You can use the SET statement to modify the variable. |
Example
obclient> SET GLOBAL ob_tcp_invited_nodes='127.0.0.1';