Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Deleting a profile

 

This topic describes how to manually delete a profile.

If a node within a profile is federated to a deployment manager, before you delete the profile, stop the node and remove the node from the deployment manager. Otherwise, an orphan node is left in the deployment manager.

Before using the manual procedure to remove a profile, try the manageprofiles command with the -delete option. For example, issue the following command for your operating system platform:

./manageprofiles -delete 
                -profileName profile_name

If you delete a profile that has augmenting templates registered to it in the profile registry, then unaugment actions are attempted prior to the deletion.

If the command does not work, use this procedure to delete the profile.

 

Overview

This procedure describes how to manually delete a profile when the manageprofiles -delete command results in the following message:

INSTCONFFAILED: Cannot delete profile.

 

Procedure

  1. Issue operating system commands to delete the profile directory.

  2. Issue the following command to remove references in the registry to deleted profiles:

    manageprofiles -validateAndUpdateRegistry
    Editing of the registry is not recommended.

 

Results

You have now deleted a profile.

 

What to do next

See the description of the manageprofiles command to learn more about the command-line method of working with profiles.


}
manageprofiles command