7.7.1.2.1 ALTER CELL Commands for Managing Services
Syntax
ALTER CELL {
SHUTDOWN SERVICES { RS | MS | CELLSRV | ALL } [IGNORE REDUNDANCY]
| RESTART SERVICES { RS | MS | CELLSRV | ALL } [IGNORE REDUNDANCY]
| STARTUP SERVICES { RS | MS | CELLSRV | ALL }
}
Usage Notes
The following table lists the arguments and options for the ALTER CELL
commands that perform service management operations:
Argument | Description |
---|---|
|
Shuts down the Restart Server or Management Server service. |
|
Shuts down the Cell Server service. If you include |
|
Shuts down all services (Restart Server, Management Server, and Cell Server). If you include |
|
Stops and then starts the Restart Server or Management Server service. |
|
Stops and then starts the Cell Server service. If you include |
|
Stops and then starts all services (Restart Server, Management Server, and Cell Server). If you include |
|
Starts the specified service. If you use the keyword |
The following are additional usage notes for the ALTER CELL
commands that perform service management:
-
During a shutdown operation affecting CELLSRV, the system first checks the status of the grid disks to ensure that it is safe to proceed. Specifically, the
asmDeactivationOutcome
attribute is checked for all of the grid disks. If the attribute value isyes
, then the grid disk can be deactivated without data loss.Depending on the command, the following occurs if the
asmDeactivationOutcome
attribute value isyes
for all of the grid disks:-
For the
ALTER CELL SHUTDOWN SERVICES CELLSRV
andALTER CELL SHUTDOWN SERVICES ALL
commands:- The grid disks are deactivated on the cell.
- Oracle ASM takes the corresponding ASM disks offline.
- Finally, the applicable services are shutdown.
-
For the
ALTER CELL RESTART SERVICES CELLSRV
andALTER CELL RESTART SERVICES ALL
commands, the CELLSRV service is restarted immediately, followed by a restart of the MS and RS services, if applicable.
Otherwise, if the
asmDeactivationOutcome
attribute value is notyes
for any grid disk, then theCELL-01548
error message is displayed and the status of the services remains unchanged. -
-
The
IGNORE REDUNDANCY
option bypasses theasmDeactivationOutcome
attribute checks. Using theIGNORE REDUNDANCY
option results in immediate execution of the command. Consequently, if the command shuts down the only online copy of a grid disk, then the corresponding Oracle ASM disk group is dismounted. -
If the Restart Server (RS) service is not running, then you must run either
ALTER CELL STARTUP SERVICES RS
orALTER CELL RESTART SERVICES RS
before you can start other services individually, or you can run theALTER CELL STARTUP ALL
command.
Example 7-3 Starting Up and Shutting Down Cell Services
This example shows how to start up and shut down cell services.
CellCLI> ALTER CELL STARTUP SERVICES CELLSRV
CellCLI> ALTER CELL STARTUP SERVICES ALL
CellCLI> ALTER CELL SHUTDOWN SERVICES MS
CellCLI> ALTER CELL SHUTDOWN SERVICES CELLSRV IGNORE REDUNDANCY
CellCLI> ALTER CELL SHUTDOWN SERVICES ALL
CellCLI> ALTER CELL RESTART SERVICES ALL IGNORE REDUNDANCY
Parent topic: ALTER CELL