Chapter 4: Controller: /nodeworx/backup Up Part II: NodeWorx API Spec Chapter 6: Controller: /nodeworx/cluster/lb 

5 Controller: /nodeworx/cluster

Required Permissions "CLUSTERING"
Action: enableIPv6LoadBalancing
Added in version 5.0.14-579
Description Enable IPv6 load-balancing.
Input Parameters
Name Type Notes Required?
ipv4s struct (string) No*
ipv6s struct (string) No*
* indicates that it’s actually required, but probably already has a valid default value
Action: externalLb
Added in version 5.1.50-1292
Description Set external load balancer mode on/off (beta).
Input Parameters
Name Type Notes Required?
external_lb integer Help Entry
InterWorx runs a LVS load balancer on the cluster manager server. This can be replaced with an external load balancer configuration, but must be configured and managed outside of InterWorx. This is required if the network environment does not support LVS load balancing. This mode is currently considered BETA software.
Example Values
1, 0
Example Default Value
0
No*
* indicates that it’s actually required, but probably already has a valid default value
Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: listLoadBalancingIPv6Options
Added in version 5.0.14-579
Description Lists IPv6s suitable for load balancing.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 => ’2001:db8::d:1101’,
1 => ’2001:db8::d:1102’,
),
)
Action: reroute
Added in version n/a
Description Action to re-route from the current controller to a different one.
Input Parameters
Name Type Notes Required?
controller string Example Values
Index, Overview, Users, Lang, Themes, Apikey, Plugins, Twofactorauth, Notice, Siteworx, Shell, Packages, Backup, Import, Simplescripts, Reseller, ResellerPackages, ResellerBandwidthhistory, Http, Ftp, Sshd, MailMta, MailSmtp, MailSmtp2, MailSend, MailMda, MailPop3, MailSpop3, MailImap, MailSimap, MailSpam, MailVirus, MailQueue, Mysql, MysqlRemote, MysqlPhpmyadmin, Dns, DnsZone, DnsRecord, DnsSync, Nfs, NfsExport, NfsMount, Health, Cron, Firewall, Ssl, Logs, Settings, Updates, ...
Yes
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 4: Controller: /nodeworx/backup Up Part II: NodeWorx API Spec Chapter 6: Controller: /nodeworx/cluster/lb 

(C) 2018 by InterWorx LLC