免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2860 | 回复: 4
打印 上一主题 下一主题

我想把sun cluster的节点删除,怎么做 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-24 10:16 |只看该作者 |倒序浏览
相关资源都删除了.就节点还在里面,我的目的是想把cluster全部重新配置.而不重新装cluster

论坛徽章:
0
2 [报告]
发表于 2009-09-24 11:20 |只看该作者
继续执行此过程之前,请确保已将节点从所有资源组、设备组和法定设备配置中删除
,并将该节点置于维护状态。
在要删除的节点上,成为超级用户或使用一个可提供solaris.cluster.modify RBAC 授
权的角色。从全局群集中的某个节点执行此过程中的所有步骤。
将您要删除的全局群集节点引导到非群集模式下。对于区域群集节点,在执行此步骤
之前,请按照第236 页中的“如何从区域群集中删除节点”中的说明操作。
■ 在基于SPARC 的系统上,运行以下命令。
ok boot -x
■ 在基于x86 的系统上,运行以下命令。
2
3
4
5
1
2
3
在全局群集或区域群集上删除节点
第8 章• 管理群集237
shutdown -g -y -i0
Press any key to continue
a. 在GRUB 菜单中,使用方向键选择适当的Solaris 条目,然后键入e 编辑其命令。
GRUB 菜单显示类似于如下所示的内容:
GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
+-------------------------------------------------------------------------+
| Solaris 10 /sol_10_x86 |
| Solaris failsafe |
| |
+-------------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, ’e’ to edit the
commands before booting, or ’c’ for a command-line.
有关基于GRUB 的引导的更多信息,请参见《系统管理指南:基本管理》中的“使
用GRUB 引导基于x86 的系统(任务图)”。
b. 在引导参数屏幕中,使用方向键选择内核条目,然后键入e 编辑该条目。
GRUB 引导参数屏幕的显示与以下内容类似:
GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
+----------------------------------------------------------------------+
| root (hd0,0,a) |
| kernel /platform/i86pc/multiboot |
| module /platform/i86pc/boot_archive |
+----------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press ’b’ to boot, ’e’ to edit the selected command in the
boot sequence, ’c’ for a command-line, ’o’ to open a new line
after (’O’ for before) the selected line, ’d’ to remove the
selected line, or escape to go back to the main menu.
c. 在命令中添加-x 以指定将系统引导至非群集模式。
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ESC at any time exits. ]
grub edit> kernel /platform/i86pc/multiboot -x
d. 按Enter 键接受所做更改,并返回到引导参数屏幕。
屏幕将显示编辑后的命令。
GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
+----------------------------------------------------------------------+
| root (hd0,0,a) |
| kernel /platform/i86pc/multiboot -x |
在全局群集或区域群集上删除节点
238 Sun Cluster系统管理指南(适用于Solaris OS) • 2009年1月,修订版A
| module /platform/i86pc/boot_archive |
+----------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press ’b’ to boot, ’e’ to edit the selected command in the
boot sequence, ’c’ for a command-line, ’o’ to open a new line
after (’O’ for before) the selected line, ’d’ to remove the
selected line, or escape to go back to the main menu.-
e. 键入b 将节点引导至非群集模式。
对内核引导参数命令所做的这一更改在系统引导后将失效。下次重新引导节点时,
系统将引导至群集模式。如果希望引导至非群集模式,请重新执行上述步骤,并将
--x 选项添加到内核引导参数命令中。
注– 如果要删除的节点不可用或者不再能够被引导,请在任何活动的群集节点上运
行以下命令:clnode clear -F <node-to-be-removed>。通过运行clnode status
<nodename> 检验该节点是否已删除。
在要删除的节点上,从群集中删除该节点。
phys-schost# clnode remove -F
如果clnode remove 命令失败,并且存在过时的节点引用,请在活动节点上运行clnode
clear -F nodename。
注– 如果您要删除群集中的最后一个节点,则该节点必须处于非群集模式下并且该群集
中未剩下任何活动节点。
通过另一个群集节点检验是否已删除该节点。
phys-schost# clnode status nodename
完成节点删除操作。
■ 如果打算从已删除的节点中卸载Sun Cluster 软件,请转至第247 页中的“如何从群集
节点中卸载Sun Cluster 软件”。
■ 如果不打算从已删除的节点中卸载Sun Cluster 软件,可以通过移除硬件连接(如
《Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS》中所述)以物理
方式从群集中移除该节点。

评分

参与人数 1可用积分 +2 收起 理由
yuhuohu + 2 我很赞同

查看全部评分

论坛徽章:
0
3 [报告]
发表于 2009-09-24 13:37 |只看该作者
收藏

论坛徽章:
0
4 [报告]
发表于 2009-09-24 13:40 |只看该作者
手册里的 节选出来 大家共同学习

论坛徽章:
0
5 [报告]
发表于 2009-09-24 14:51 |只看该作者
经典、收藏
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP