D.48. tarantella object remove_host

Removes application servers from the list of those that can run an application, for application server load balancing.

Syntax

tarantella object remove_host { --name obj...
                                --host hobj...
                              } | --file file

Description

The following table shows the available options for this command.

Option

Description

--name

Specifies the names of application objects you want to configure load balancing for.

--host

Specifies the names of application server objects you want to remove from the load balancing pool.

--file

Specifies a file containing a batch of commands to configure application server load balancing.

Note

Make sure you quote any object names containing spaces, for example, "o=Example".

Examples

The following example removes the application server rome from the load balancing pool for the application Slide-o-Win.

$ tarantella object remove_host \
--name "o=applications/cn=Slide-o-Win" \
--host "o=appservers/ou=Sales/cn=rome"

The following example removes the group WinHosts from the load balancing pool for the applications Write-o-Win and Slide-o-Win. Load balancing is no longer performed across all the application servers in WinHosts.

$ tarantella object remove_host \
--name "o=applications/cn=Write-o-Win" \
"o=applications/cn=Slide-o-Win" \
--host "o=appservers/cn=WinHosts"