It is important to understand what happens to dependencies and protected services when a Samba hierarchy is deleted.
- Dependencies: Before removing a resource hierarchy, you may wish to remove the dependencies. Dependent file systems will be removed unless they are used in another hierarchy. Dependent IP and Print Services resources will not be removed as long as the delete is done via the LifeKeeper GUI or the Samba delete script.
- Protected Services: If you take the Samba resource hierarchy out of service before deleting it, the Samba daemons will be stopped. If you delete a hierarchy while it is in service, the Samba daemons will continue running and offering services (without LifeKeeper protection) after the hierarchy is deleted.
To delete a resource hierarchy from all the servers in your LifeKeeper environment, complete the following steps:
- On the Edit menu, select Resource, then Delete Resource Hierarchy.
- Select the Target Server where you will be deleting your Samba resource hierarchy and click Next. (This dialog will not appear if you selected the Delete Resource task by right clicking on a resource instance in either pane.)
- Select the Hierarchy to Delete. (This dialog will not appear if you selected the Delete Resource task by right clicking on a resource instance in the left or right pane.) Click Next.
- An information box appears confirming your selection of the target server and the hierarchy you have selected to delete. Click Delete.
- Another information box appears confirming that the Samba resource was deleted successfully.
- Click Done to exit.