可以使用 manageprofiles 命令来删除概要文件。如果该命令失败,那么可以使用操作系统命令来删除概要文件。
开始之前
如果已将概要文件中的节点联合到 Deployment Manager,那么在删除该概要文件之前,请停止该节点并从
Deployment Manager 中移除该节点。否则,就会在 Deployment Manager 中留下孤立的节点。
不能使用 Profile Management Tool 来删除概要文件。
关于此任务
以下示例先后尝试使用 manageprofiles 命令和操作系统命令来删除概要文件。
过程
- 发出 manageprofiles 命令以删除概要文件。
用您的概要文件名称取代下列命令中的 profile_name 值。
![[Linux]](../images/linux.gif)
![[HP-UX]](../images/hpux.gif)
![[Solaris]](../images/solaris.gif)
![[AIX]](../images/aixlogo.gif)
./manageprofiles.sh -delete
-profileName profile_name
![[Windows]](../images/windows.gif)
manageprofiles.bat -delete
-profileName profile_name
![[IBM i]](../images/iseries.gif)
./manageprofiles -delete
-profileName profile_name
如果命令成功,那么就完成了该任务,可以跳过其余的步骤。如果命令部分成功或者失败,那么请进至下一步以手动删除概要文件。如果接收到 INSTCONFFAILED: 无法删除概要文件。消息,那么命令失败。如果删除操作部分成功,那么可能会收到如下的消息:INSTCONFPARTIALSUCCESS: The profiles no longer exist, but errors occurred.
For more information, consult
app_server_root/logs/manageprofiles/deleteAll.log.
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
或者
The current user does not have sufficient permissions to detect or
remove services. If a service does exist, then an administrative or root user has
to remove it. If a service does not exist, then no further action is
required.
- 发出操作系统命令,以删除概要文件目录。
- 发出以下命令,以从注册表中移除对已删除的概要文件的引用:
下一步做什么
可以使用此过程删除其他概要文件,或者使用 manageprofiles
命令来创建其他概要文件。
可以使用此过程删除其他概要文件,或者使用
manageprofiles 命令或 Profile Management Tool 创建其他概要文件。