# Stopping or Deleting an EMS Server

To stop an EMS server without deleting it, use the `oc scale` operation to set its number of replicas to `0`.

For example,

    > oc scale --replicas=0 deploy emsdev01

To restart this EMS server, set the number of replicas to `1`.

    > oc scale --replicas=1 deploy emsdev01

To delete an EMS server deployment and service, use the `oc delete` operation.

For example,

    > oc delete --selector name=emsdev01 deploy,svc

The corresponding pod and `ReplicaSet` will also be deleted.

Copyright © Cloud Software Group, Inc. All rights reserved.