Overview
ob_tcp_invited_nodes is used to set the IP allowlist for a tenant. It supports percentages (%), underscores (_), and IP addresses (separated by commas). It supports IP list matching, mask matching, and fuzzy matching.
Privilege requirements
Query variables
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.GLOBAL_VARIABLESview to view the values of global system variables.Modify variables
The
systenant can directly modify the values of global system variables.The user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Varchar |
| Default Value | 127.0.0.1,::1 |
| Value range | String length is less than 65,536. |
| Effective Scope | Global |
| Modifiable | Yes, you can use theSETStatement modification. |
Configuration example
Set the tenant's IP allowlist to 127.0.0.1.
obclient> SET GLOBAL ob_tcp_invited_nodes='127.0.0.1';