Progress
Database Administration
Guide and Reference
PROSHUT Command
To shut down a Progress database server with the PROSHUT command, enter one of the following:
db-name
Specifies the database the server is running against.
-b
Indicates a batch shutdown will be performed. When no client is connected, the database automatically shuts down. When one or more clients are connected, PROSHUT prompts the user to enter “yes” to perform an unconditional batch shutdown and to disconnect all active users; or “no” to perform a batch shutdown only if there are no active users. The -
b
parameter combines the functionality of the -by
or -bn
parameters.-by
Directs the broker to perform an unconditional batch shutdown and to disconnect all active users.
-bn
Directs the broker to perform a batch shutdown only if there are no active users.
-H host-name
Specifies the machine where the database server runs. You must specify the host name if you issue the shutdown command from a machine other than the host.
-S service-name
Specifies the database server or broker process service name. A TCP network requires the -
S
parameter.-F
Forces an emergency shutdown. To use this parameter, you must run PROSHUT on the machine where the server resides, and on UNIX systems. This parameter is not applicable for remote shutdowns or DataServer shutdowns.
CAUTION: Using-by
with-F
causes an emergency shutdown.-Gw
For DataServers, specifies the DataServer broker to shut down.
For complete PROSHUT syntax, see the "PROSHUT Command" section in Startup and Shutdown Commands."
When you enter the
PROSHUT
command without the -by
, -bn
, or -F
parameters, the PROSHUT menu appears:
Table 5–1 lists the PROSHUT menu options and their actions.
If you want to execute the shutdown command noninteractively and avoid the PROSHUT menu, issue the PROSHUT command using either of the parameters described in Table 5–2.
Table 5–2: PROSHUT Parameters Parameter Action Kill Users (-by
) Unconditional batch shutdown; kills all active users. Proceed If No Users (-bn
) Batch shutdown only if there are no active users.
In a TCP/IP network, when using the shutdown command from a machine other than the host, you must use the Host Name (-
H
) and Service Name (-S
) parameters. The Host Name is the machine where the database server is running. The Service Name is the name of the database server or broker process, as defined in the/etc/services
file on UNIX. For example, the following command shuts down the sports database from a remote machine in a BSD UNIX network:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |