How To Start and Stop Exadata Cell Services

Hello Friend's

Here we are with another post . In this post we will see commands that are used in start & stop of cell service on exadata cell server.

So let's get started

Services on the cell server to be found are : CELLSRV, MS and RS services.

There are 2 ways to start and stop of cell services

1) OS

2) Cellcli command prompt

Checking the status of services:

# service celld status

e.g :

[root@Exacell ~]# service celld status
	 rsStatus:          	 running
	 msStatus:          	 running
	 cellsrvStatus:     	 running
or

# cellcli -e list cell attributes rsStatus, msStatus, cellsrvStatus detail

# cellcli -e list cell attributes rsStatus, msStatus, cellsrvStatus detail

Usage of cellcli commands on OS Level: (For All services)

# cellcli -e alter cell shutdown services all

# cellcli -e alter cell startup services all

# cellcli -e alter cell shutdown services all

# cellcli -e alter cell startup services all

or

# service celld stop

# service celld start

CELLSRV service:

# cellcli -e alter cell stop services cellsrv

# cellcli -e alter cell startup services cellsrv

# cellcli -e alter cell restart services cellsrv

Example of all service restart :


[celladmin@Exacell ~]$ cellcli -e alter cell restart services all

Stopping the RS, CELLSRV, and MS services...
The SHUTDOWN of services was successful.
Starting the RS, CELLSRV, and MS services...
Getting the state of RS services...  running
Starting CELLSRV services...
The STARTUP of CELLSRV services was successful.
Starting MS services...
The STARTUP of MS services was successful.

RS service:

# cellcli -e alter cell stop services rs

# cellcli -e alter cell startup services rs

# cellcli -e alter cell restart services rs

Example of RS restart


[root@Exacell ~]# cellcli -e alter cell restart services rs

Stopping RS services... 
The SHUTDOWN of RS services was successful.
Starting the RS services...
Getting the state of RS services...  running

MS service:

# cellcli -e alter cell stop services ms

# cellcli -e alter cell startup services ms

# cellcli -e alter cell restart services ms

Example of MS restart


[root@Exacell ~]# cellcli -e alter cell restart services ms

Restarting MS services...
The RESTART of MS services was successful.

CELLSRV service:

# cellcli -e alter cell stop services CELLSRV

# cellcli -e alter cell startup services CELLSRV

# cellcli -e alter cell restart services CELLSRV

Example of cellsrv restart


[root@Exacell ~]# cellcli -e alter cell restart services cellsrv

Restarting CELLSRV services...
The RESTART of CELLSRV services was successful.

Using command with cellcli tool:


[root@Exacell ~]# cellcli
CellCLI: Release 12.1.1.1.0 - Production on Mon Aug 30 10:13:33 IST 2021

Copyright (c) 2007, 2013, Oracle.  All rights reserved.
Cell Efficiency Ratio: 1

CellCLI> list cell attributes rsStatus, msStatus, cellsrvStatus detail

E.g :

CellCLI> list cell attributes rsStatus, msStatus, cellsrvStatus detail
	 rsStatus:          	 running
	 msStatus:          	 running
	 cellsrvStatus:     	 running

CellCLI> alter cell shutdown services all

E.g :

CellCLI> alter cell shutdown services all

Stopping the RS, CELLSRV, and MS services...
The SHUTDOWN of services was successful.

CellCLI> alter cell startup services all

E.g :

CellCLI> alter cell startup services all

Starting the RS, CELLSRV, and MS services...
Getting the state of RS services...  running
Starting CELLSRV services...
The STARTUP of CELLSRV services was successful.
Starting MS services...
The STARTUP of MS services was successful.

CellCLI> alter cell stop services rs

CellCLI> alter cell startup services rs

CellCLI> alter cell restart services rs

CellCLI> alter cell stop services ms

CellCLI> alter cell startup services ms

CellCLI> alter cell restart services ms

CellCLI> alter cell stop services cellsrv

CellCLI> alter cell startup services cellsrv

CellCLI> alter cell restart services cellsrv

We can preform all above operations with the dcli tool on any cell node.

dcli -g cell_group -l root 'cellcli -e alter cell shutdown services all'

dcli -g cell_group -l root 'cellcli -e alter cell startup services all'

Hope This Helps , If there is any suggestion or topic you want to be posted , Let Me know in comment box.

Regards

Sultan Khan

Previous
Next Post »