2024年5月31日发(作者:)
从原分区删除CD设备:
bash-3.2# lsdev -Cl cd0 -F parent //cd0对应的父设备
ide0
bash-3.2# lsslot -c slot //找到父设备对应的插槽
# Slot Description Device(s)
9276-P1-C1 Logical I/O Slot pci7
9276-P1-C2 Logical I/O Slot pci8
9276-P1-C4 Logical I/O Slot pci4 ent0
9276-P1-C5 Logical I/O Slot pci5
9276-P1-T7 Logical I/O Slot pci6 usbhc0 usbhc1 usbhc2
9276-P1-T16 Logical I/O Slot pci3 ide0
U9133.55A.06C326G-V2-C0 Virtual I/O Slot vsa0
bash-3.2# rmdev -dl pci3 -R //从系统中移除设备
Method error (/usr/lib/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the
specified device is busy.
bash-3.2# unmount /mnt //需先将光驱卸载
bash-3.2# ls /mnt
bash-3.2# rmdev -dl pci3 -R //从系统中移除设备
cd0 deleted
ide0 deleted
pci3 deleted
在目标分区查找可添加的设备:
cfgmgr //查找可添加的设备
mount -v cdrfs -o ro /dev/cd0 /mnt
RMC配置
vi /etc/hosts (加入)
bash-3.2# /usr/sbin/rsct/bin/rmcctrl -k
bash-3.2# /usr/sbin/rsct/bin/rmcctrl -s
0513-059 The ctrmc Subsystem has been started. Subsystem PID is 372870.
bash-3.2# /usr/sbin/rsct/bin/rmcctrl -K
bash-3.2# lsrsrc mentServer
Resource Persistent Attributes for mentServer
使用 lsrsrc mentServer 命令来查看 RMC 连接是否建立,当该命令没
有输出或者返回的 ManagerType 属性值不为
HMC 时,说明该活动分区上的 RMC 连接没有建立。清单 4 给出了在一个已经建
立 RMC 连接的逻辑分区上执行 lsrsrc
mentServer 命令的输出。
smit hostname //设置各分区和HMC的主机名,将主机名和IP加入各分区的hosts
文件中
/usr/sbin/rsct/bin/rmcctrl -z //停止RMC所有服务
/usr/sbin/rsct/bin/rmcctrl -A //启动RMC所有服务
lssrc -a|grep rsct //查看rsct相关服务的状态,确保以下服务为启动状态。
bash-3.2# lssrc -a|grep rsct
ctrmc rsct 323738 active
ntRM rsct_rm 315394 active
eRM rsct_rm 311468 active
rsct_rm 331958 active
M rsct_rm 262172 active
rsct_rm 303148 active
rsct_rm 299212 active
ctcas rsct inoperative
rsct_rm inoperative
以上服务可以正常启动,基本上RMC联通就正常了。
发布评论