btadmin
is a scriptable utility installed on each server in a cluster. It provides most of the functionality of the Windows-based ClusterCATS Server Administrator so UNIX and Windows administrators can include calls in automated scripts.
This section describes the following:
btadmin
is a Windows executable invoked from the command line in the <CC_install_directory
>/program
directory.
The table below describes each of the options and their syntax for btadmin
.
Option |
Description |
---|---|
btadmin |
Displays btadmin online help. |
btadmin -v |
Displays the current version of Microsoft's IIS if it is bound to the ClusterCATS Server. |
btadmin -f |
Removes the ClusterCATS Web server filter and virtual directories. |
btadmin +f |
Adds the ClusterCATS filter to your web server. |
btadmin -b |
Stops ClusterCATS services. |
btadmin +b |
Starts ClusterCATS services. |
btadmin +m |
Reconfigures ClusterCATS services to manual start mode. |
btadmin -m |
Reconfigures ClusterCATS services to automatic start mode. |
btadmin -r |
Removes servers, delete database files and registry keys related to servers |
btadmin -s <seconds> |
Puts server into maintenance mode after a set delay (in seconds). This shuts down ClusterCATS services. For more information, see "Using maintenance mode (Windows only)". |
You can invoke btadmin with more than one option. For example, to stop and restart ClusterCATS services, enter btadmin -b +b.
The btadmin
utility on UNIX is a shell script invoked from the <CC_install_directory
>/
directory. If you run btadmin
on Red Hat Linux, the ksh
shell must be installed.
btadmin [start | stop | restart <daemon>
]
btadmin [enable | disable | add | delete | c
onfig <option><instance>]
btadmin [show | reset | help]
The following sections describe each of these options.
You can start, stop and restart the following daemons with btadmin
:
Note: Stopping and starting some daemons can result in multiple daemons being stopped or started.
Following are examples of how you start and stop daemons with the btadmin
utility:
btadmin start appmgr btadmin stop failover btadmin restart ns-httpd
The following table describes the btadmin
options for changing ClusterCATS settings:
For Netscape web servers, enter the web server instance as https-<server>
. For Apache web servers, enter https-<hostname>
.
You can enable, disable, and configure the following ClusterCATS options using the btadmin
utility:
The following examples show how to use the btadmin
utility:
btadmin add https-myserver
btadmin enable btcats https-myserver
btadmin disable failover https-myserver
btadmin config load https-myserver
Use the show
option to display the currently enabled ClusterCATS configuration settings.
Use the reset
option to reinitialize cluster configuration settings on the current server. For more information, see "Resetting cluster members".
Use the help
option to get a list of the btadmin
utility's features and syntax.