When you shut down an environment, this overrides whatever was scheduled for that environment (for all three types of schedules). The environment remains shut down until you reinstate it by typing Suenv command in a Command Shell or Terminal (see Starting Up Environments). You can shut down multiple environments on multiple machines, from any machine in the network.
When shutting down an environment, the command prompts you for the environments you want to close and the machines on which you want them to be shut down.
|1.||In a Command Shell or Terminal, type:|
You are prompted for the environments to shut down:
INPUT DATABASES TO BE STOPPED
INPUT A SET OF DATABASE Environments
1 = Production, 2 = Tutorials, 3 = Commercials, default = [Production Tutorials Commercials]
All the Environments appear in this list and each one has its own number.
|2.||Type the number that corresponds to each environment you want to shut down (separate each number by a space) and press Enter/Return.|
You are prompted you for the machine(s) on which you want the environments to be shut down:
INPUT MACHINE ON WHICH THESE DBENV'S ARE TO BE SHUTDOWN
INPUT A SINGLE MACHINE NAME, THE PREFIX OF A MACHINE NAME, OR all [hickey]:
|3.||Select the machines that should not process the shut down environment by typing the name of a single machine, a prefix (to select a range of machines that start with the same prefix), or all to shut down all the environments on all the machines.|
If you press Enter/Return without specifying a machine, the command uses the machine name that appears in brackets.
If you type a prefix, a list of machines that contain that prefix appears. Type the numbers that correspond to the machines you want to view.
For example, if you have three machines that start with "hi", you can type hi as a prefix. The system would then display a list of all the machines that start with"hi":
input a set of machines, or hit return to indicate all these machines:
1 = hickey, 2 = highlander, 3=high-definition
Press Enter/Return to select all the machines in the list or select specific machines by typing their corresponding numbers.
You are prompted to decide if you want to shut down more machines.
DO YOU WANT TO INPUT MORE MACHINES (y/n) [n]:
You are asked if you want to shut down more environments and machines.
|4.||Do one of the following:|
|‣||Type y to select more machines.|
|‣||Type n to not select any more machines.|
A summary of the shutdown appears:
here are the 3 machines you input: hickey weiner garneau
ALL MACHINES HAVE REPORTED. SHUT DOWN COMPLETE.
The Sdenv command waits for a response from all the selected machines. The Sdenv command does not terminate a batch process that is currently running on a machine. If a machine is currently performing a batch process, it will not shut down until it completes the queue entry.