Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:lslb:zconf [2018/04/19 13:41] Ron Saad [ZCSSLRELEASE Message] |
litespeed_wiki:lslb:zconf [2019/07/23 14:07] Kevin Fwu |
||
---|---|---|---|
Line 47: | Line 47: | ||
<dt>ZCDOWN:<dt><dd>Cluster down message</dd><br /> | <dt>ZCDOWN:<dt><dd>Cluster down message</dd><br /> | ||
<dt>ZCSSL:<dt><dd>Add SSL credentials message<br /></dd> | <dt>ZCSSL:<dt><dd>Add SSL credentials message<br /></dd> | ||
- | <dt>ZCSSLRELEASE:<dt><dd>Delete SSL credentials message</dd> | + | <dt>ZCSSLRELEASE:<dt><dd>Delete SSL credentials message<br /></dd> |
- | </dl></div> | + | <dt>ZCOWNRRELEASE:<dt><dd>Relinquish ownership of config records</dd></dl></div> |
</html> | </html> | ||
Configuration messages are sent to LiteSpeed Web ADC using the HTTP protocol with Basic Authentication over a secure connection. Once the ZConf Listeners are configured according to the Setup section above, they will accept and process configuration messages sent to their respective IP and port. | Configuration messages are sent to LiteSpeed Web ADC using the HTTP protocol with Basic Authentication over a secure connection. Once the ZConf Listeners are configured according to the Setup section above, they will accept and process configuration messages sent to their respective IP and port. | ||
Line 66: | Line 66: | ||
* ''ip_addr'' is a ZConf Listener IP address, ''port'' is the ZConf Listener port (optional if the standard 443, although in most configurations it is typically set to a different port, leaving 443 available for load balancer traffic). | * ''ip_addr'' is a ZConf Listener IP address, ''port'' is the ZConf Listener port (optional if the standard 443, although in most configurations it is typically set to a different port, leaving 443 available for load balancer traffic). | ||
* ''cluster_name'' is a user assigned name for the cluster being configured. | * ''cluster_name'' is a user assigned name for the cluster being configured. | ||
+ | |||
+ | Tip: | ||
+ | |||
+ | A ZeroConf VHost is **NOT** the same as an ADC VHost. VHost in the context of a ZeroConf ZCUP message is defined as the list of domains that share the conf_list and template. A single VHost configuration can include thousands of domains as long as they share the conf_list. For example, if there is a backend server with 1000 domains that are listening to port 443, they can share a vhost. | ||
Data: | Data: | ||
Line 74: | Line 78: | ||
[ | [ | ||
{ | { | ||
+ | <u>"template" : "<i>VHost template name</i>",</u> | ||
"domain_list" : | "domain_list" : | ||
[ <i>list of domains (strings)</i> ], | [ <i>list of domains (strings)</i> ], | ||
Line 128: | Line 133: | ||
"domain_list" : | "domain_list" : | ||
[ "dom4", "dom5", "dom6" ], | [ "dom4", "dom5", "dom6" ], | ||
+ | "conf_list" : | ||
+ | [ | ||
+ | { | ||
+ | "lb_port_list" : [ 443 ], | ||
+ | "dport" : 443, | ||
+ | "be_ssl" : true, | ||
+ | "ip_list" : | ||
+ | [ | ||
+ | { "ip" : "192.168.1.103" }, | ||
+ | { "ip" : "192.168.1.104" } | ||
+ | ] | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | { | ||
+ | "template" : "noCacheTemplate" | ||
+ | "domain_list" : | ||
+ | [ "dom7", "dom8", "dom9" ], | ||
"conf_list" : | "conf_list" : | ||
[ | [ | ||
Line 145: | Line 168: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | Note: | ||
+ | * Templates introduced in ADC version 2.4 build 11. | ||
Line 228: | Line 254: | ||
} | } | ||
] | ] | ||
+ | } | ||
+ | </code> | ||
+ | ==== ZCOWNRRELEASE Message ==== | ||
+ | Relinquish ownership of any configuration records for specified domains from LiteSpeed Web ADC (allows | ||
+ | specified domains to be owned by a different authorized user, such as when transferring to another | ||
+ | provider). | ||
+ | |||
+ | URL: ''<nowiki>https://[user:password@]ip_addr[:port]/ZCOWNRRELEASE?name=cluster_name</nowiki>'' | ||
+ | |||
+ | |||
+ | Data: | ||
+ | <html><pre class="code"> | ||
+ | conf= | ||
+ | { | ||
+ | "domain_list" : [ <i>a domain name (string)</i> <u>, more quoted domain names separated by commas </u> ] | ||
+ | } | ||
+ | </pre></html> | ||
+ | |||
+ | |||
+ | Data example: | ||
+ | |||
+ | <code> | ||
+ | conf= | ||
+ | { | ||
+ | "domain_list" : [ "litespeedtech.com", "blog.litespeedtech.com" ] | ||
} | } | ||
</code> | </code> |