btadmin
is a scriptable utility installed on each server in cluster. It provides most of the functionality of the Windows-based ClusterCATS Server Administrator so that UNIX and Windows administrators can include calls in automated scripts.
This section describes the following:
The btadmin
utility on UNIX is a shell script invoked from the <CC_install_directory
>/
directory. If you are running 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 describes each of these options.
You can start, stop, and restart the following daemons with btadmin
:
Note Stopping and starting some daemons may 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 [enable | disable | add | delete | config <option> _ <Web_server_instance>]
The following table describes the btadmin
options for changing the 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 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 your cluster configuration settings on the current server. For more information on the effects of resetting a cluster member, refer to "Resetting Cluster Members".
Use the help
option to get a list of the btadmin
utility's features and syntax.
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 all virtual directories. |
btadmin +f |
Adds the ClusterCATS filter to your Web server. |
btadmin -b |
Stops all ClusterCATS services. |
btadmin +b |
Starts all ClusterCATS services. |
btadmin +m |
Reconfigures all ClusterCATS services to Manual start mode. |
btadmin -m |
Reconfigures all ClusterCATS services to Automatic start mode. |
btadmin -r |
Removes all 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 all ClusterCATS services. For more information on using Maintenance mode, refer to "Using Maintenance Mode (Windows only)". |
btadmin
can be invoked with more than one options. For example to stop and restart ClusterCATS services enter btadmin -b +b.