Unpreparing Systems and Instances
You unmount remote memory locations from the local file system and unbind virtual host names from the network interfaces. For SAP instances, you stop and deregister the instance agent. For database instances, your detach the database and stop the database listeners.
Prerequisites
-
The general prerequisites for instance operations have been met.
For more information, see General Prerequisites for Instance Operations.
-
The instance status is
Not running.
-
When you unprepare a system or instance, the SAP Host Agent executes the program cleanipc by default. For information on how to execute the cleanipc program when stopping a system or instance, see SAP Note 17108
and create a
POST-stop hook or enter it in the StartProfile.
-
Storage partner libraries are available and up-to date.
For more information, see http://scn.sap.com/docs/DOC-42216
.
Context
Procedure
Results
-
- For database instances:
- Unregisters the database from the operating system.
- Detaches the database from the host. That is, stops the database listeners, if necessary.
- Creates configuration files required for an attach process during a prepare operation.
- For SAP instances that do not represent a database:
- Stops the instance agent
- Unregisters the instance agent from the operating system.
-
For Unix-like systems: Removes the agent from file /usr/sap/sapservices
-
For Windows systems: Removes the agent from the Windows service registry
-
- For custom instances:
- Performs necessary actions to unregister the instance on the host.
- Calls operation acc_<custom instance type>_detach.
- No processes of the custom instances are running.
- For database instances:
- Unbinds virtual IP addresses or unmounts the file systems configured.
If the potential SAP HANA master node is relocated and there are tenants with virtual hostnames registered on this host, they will be unbound.
When you unprepare an SAP HANA tenant database node:-
Checks if this node is a potential master host.
-
If the node is a potential master host, unprepares the virtual hostnames of all tenants which have virtual hostnames registered on the SAP HANA tenant database node.
-
- Calls the storage adapter or virtualization adapter to unprepare the IP addresses.
- The instance status is
Initial.
- Receives service port bindings needed for an attach operation.
Next Steps
-
You can manage activities related to the operation that is currently running.
For more information, see Performing Operations on Activities.
-
You can view the log of all tasks involved in the process.
For more information, see Working with Logs.

Unprepare