If you no longer need specific-purpose coservers or if you want to return them full time to their usual tasks, remove them completely from the database server configuration.
You might also remove specific-purpose coservers if you want to add a fully capable coserver to the database server. Because you must remove coservers starting with the highest numbered coserver and because you cannot remove a fully capable coserver, you remove all specific-purpose coservers before you add a fully capable coserver. After you add the fully capable coserver, it is easy to reconfigure the special-purpose coservers if you still need them.
If you start the database server without first going through quiescent mode, the system fails.
A warning message appears in the message log to state that the number of coservers does not match.
onutil delete coserver coserver_number
You must delete the highest number coservers first. You cannot delete fully capable coservers except when the operation of adding the fully capable coserver has just failed.
To delete a specific-purpose coserver, edit the ONCONFIG file and remove the configuration section for the coserver. Then bring the database server online in quiescent mode and use the onutil DELETE COSERVER coserver_name command to delete the specific-purpose coserver.
Deleting a Specific-Purpose Coserver ::
|--DELETE--COSERVER--coserver_number----------------------------|
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
coserver_number | Identifies the coserver number | Must be specified in COSERVER parameter in ONCONFIG file. | Must be a positive integer. |
For example, to delete coserver 4, enter the following command:
onutil DELETE COSERVER 4;
If a specific-purpose coserver fails because of a hardware error, for example, you only need to remove the specific-purpose coserver definition from the ONCONFIG file and restart the database server.
xctl onmode -ky
If the removed specific-purpose coserver is not the highest numbered coserver, the database server automatically renumbers the remaining specific-purpose coservers.