WebService::ProfitBricks::LoadBalancer - Manage Loadbalancers
Manage Loadbalancers.
Set ip for the loadbalancer.
$lb->set_ip("1.2.3.4");
Registerthe given servers to the loadbalancer.
$lb->registerServersOnLoadBalancer($srv1->serverId, $srv2->serverId);
De-Register the given servers from the loadbalancer.
$lb->deregisterServersOnLoadBalancer($srv1->serverId, $srv2->serverId);
To install WebService::ProfitBricks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::ProfitBricks
CPAN shell
perl -MCPAN -e shell install WebService::ProfitBricks
For more information on module installation, please visit the detailed CPAN module installation guide.