HACMP卸载
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
[TOP] [Entry Fields]
File system name datafs
NEW mount point [datafs]
SIZE of file system
Unit Size 512bytes +
Number of units [0] #
Mount GROUP []
REMOVE dependent software no +
EXTEND file systems if space needed no +
DETAILED output no +
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
Compression algorithm
[MORE...2]
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
Esc+9=Shell Esc+0=Exit Enter=Do
2.以root用户身份,运行smitty remove命令,删除所有“cluster.”文件集。
(注意:如果是在非SP节点的AIX4.3.3的操作系统上,则也可以删除所有“rsct.”文件集。)
# smitty remove
Remove Installed Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Network Interface Name en0
INTERNET ADDRESS (dotted decimal) [9.16.3.21]
Network MASK (hexadecimal or dotted decimal) [255.255.255.0]
6.如果系统中设置了网络文件系统,那么以root用户身份,运行smitty nfs命令,设置定义的网络文件系统在系统启动时被共享出去或者是被mount上。
# smitty nfs
-- Network File System (NFS)
-- Change Show Attributes of an Exported Directory
Change Attributes of an Exported Directory
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
PATHNAME of Directory to Export newfs
partitions
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
Esc+9=Shell Esc+0=Exit Enter=Do
5.以root用户身份,运行smitty chfs命令,设置每个节点所拥有的文件系统在系统启动时自动被mount上。
下面是卸装HACMP软件的具体步骤:
1.在每个HACMP节点上以graceful方式停止掉HACMP服务:
a.以root用户身份,运行smitty clstop命令,在两个HACMP节点上以graceful方式停止掉HACMP服务。
# smitty clstop
Stop Cluster Services
9.在每个HACMP节点上,如果.rhosts文件不再被需要,删除该文件。
Mount AUTOMATICALLY at system restart yes +
PERMISSIONS readwrite +
Mount OPTIONS [] +
Start Disk Accounting no +
Fragment Size (bytes)
Number of bytes per inode
Press Enter AFTER making all desired changes.
[Entry Fields]
SOFTWARE name [cluster.adt.client.de +
PREVIEW only (remove operation will NOT occur) no +
Use SECURE OPTION no +
Public filesystem no +
CHANGE export now, system restart or both both +
PATHNAME of alternate Exports file []
F1=Help F2=Refresh F3=Cancel F4=List
怎样卸载HACMP软件
本文介绍了在AIX操作系统上如何卸装已安装配置好的HACMP软件。
在使用后面的步骤卸装HACMP软件之前,收集所有下面命令执行后的输出,以确定HACMP软件中定义了哪些资源。
(1)# usrsbinclusterutilitiescllsif 或者 # usressbinclusterutilitiescllsif
Esc+9=Shell Esc+0=Exit Enter=Do
b.确认在HACMP中定义的所有资源,如IP标识、文件系统、卷组、应用服务等都已被停止。
c.以root用户身份,运行lssrc -g cluster命令检查HACMP软件服务进程已被停止。
# lssrc -g cluster
Subsystem Group PID Status
group on-line
Convert this VG to Concurrent Capable no +
Change to big VG format no +
LTG Size in kbytes 128 +
Set hotspare characteristics n +
Set synchronization characteristics of stale n +
Press Enter AFTER making all desired changes.
[Entry Fields]
VOLUME GROUP name datavg
Activate volume group AUTOMATICALLY yes +
at system restart
A QUORUM of disks required to keep the volume no +
Esc+9=Shell Esc+0=Exit Enter=Do
4.以root用户身份,运行smitty chvg命令,设置每个节点所拥有的卷组在系统启动时自动被激活。
# smitty chvg
Change a Volume Group
Type or select values in entry fields.
Shutdown mode graceful +
(graceful, graceful with takeover, forced)
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
MODE to export directory read-write +
HOSTS & NETGROUPS allowed client access []
Anonymous UID [-2]
HOSTS allowed root access []
HOSTNAME list. If exported read-mostly []
(4)# usrsbinclusterutilitiescllscustom 或者 # usressbinclusterutilitiescllscustom
如果在usrsbincluster或者usressbincluster目录中有定制的事件,应用服务的启动停止脚本或者是HA群集的快照文件,那么建议将这些文件移至另外一个目录,以保证在卸装HACMP软件时不会删除掉这些文件。
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
Esc+9=Shell Esc+0=Exit
7.配置应用服务在系统启机时被启动,例如,可以在文件etcinittab中增加有应用服务启动脚本的一行。
8.在每个HACMP节点上,清除etchosts文件中不再使用的有关boot地址标识的内容。
Esc+9=Shell Esc+0=Exit Enter=Do
3.以root用户身份,运行smitty chinet命令,设置每个节点以service IP地址引导。
# smitty chinet
Change Show a Standard Ethernet Interface
Type or select values in entry fields.
(2)# usrsbinclusterutilitiesclshowres 或者 # usressbinclusterutilitiesclshowres
(3)# usrsbinclusterutilitescllsserv 或者 # usressbinclusterutilitescllsserv
Current STATE up +
Use Address Resolution Protocol (ARP) yes +
BROADCAST ADDRESS (dotted decimal) []
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Stop now, on system restart or both now +
BROADCAST cluster shutdown true +
# smitty chfs
Change Show Characteristics of a Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.