
122 Chapter 6 ClusterCATS Utilities
Using btadmin
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:
• “Using btadmin on Windows” on page 122
• “Using btadmin on UNIX” on page 122
Using btadmin on Windows
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.
You can invoke btadmin with more than one option. For example, to stop and restart
ClusterCATS services, enter btadmin -b +b.
Using btadmin on UNIX
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.
The syntax for
btadmin is:
btadmin [start | stop | restart <daemon>]
btadmin [enable | disable | add | delete | config <option><instance>]
btadmin [show | reset | help]
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)” on
page 115.
Kommentare zu diesen Handbüchern