77范文网 - 专业文章范例文档资料分享平台

sun cluster 常用命令

来源:网络收集 时间:2018-11-24 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

Sun Cluster 3 Command Summary Cluster Node Operations Operation Boot a node - none cluster mode Stopping a node Rebooting a node Disable quorum vote for a node Stopping the cluster Display status information Display quorum information Display cluster configuration Check the cluster configuration Backup the cluster configuration Restore the cluster configuration

Command boot -x (At \ok\ 1. scswitch 2. shutdown 1. scswitch 2. shutdown scconf scshutdown scstat scstat scconf sccheck tar 1. scshutdown 2. boot 3. tar

Example ok boot -x scswitch -S -h nodeA (switch resources) shutdown -y -g30 -i0 scswitch -S -h nodeA (switch resources) shutdown -y -g30 -i6 scconf -c -q node=nodeA,maintstate scshutdown -y -g10 scstat [ -pvv ] scstat -q scconf -p [ -pvv ] sccheck -v tar -cv /etc/cluster/ccr 1. scshutdown -y -g0 2. ok boot -sx 3. tar -xv

Cluster Quorum Device Operations Operation Display quorum information Remove a quorum device Add a quorum device Command scstat scconf scconf Example scstat -q scconf -r -q globaldev=d30 scconf -a -q globaldev=d12 Put into maintenance state Bring out of maintenance state

scconf scconf

scconf -c -q globaldev=d15,maintstate scconf -c -q globaldev=d15,reset

Veritas Volume Manager Operations Operation Add disk group to cluster Register change to disk group Switch device group to a node Check status Change properties Command scconf scconf scswitch scstat scconf Example scconf -a -D type=vxvm,name=m-dg,nodelist=nodeA:nodeB scconf -c -D name=mydg,sync scswitch -z -D mydg -h nodeA (node to switch to) scstat -D scconf -c -D name=mydg,nodelist=nodeA:nodeB, preferenced=true,failback=disabled Nafo Group Operations Operation Creating nafo group Deleting nafo group Adding a card Removing card Switching active adaptor Check status Display current configuration Which group a card belongs to Which is the active card Change pnm parameters Command pnmset pnmset pnmset pnmset pnmset pnmset pnmset pnmrtop pnmptor vi Example pnmset -c nafo0 -o create hme0 qfe0 pnmset -c nafo0 -o delete pnmset -c nafo0 -o add qfe0 pnmset -c nafo0 -o remove qfe0 pnmset -c nafo0 -o switch qfe0 (Adaptor to switch to) pnmset -l pnmset -p pnmrtop hme0 pnmptor nafo0 vi /etc/cluster/pnmparams Resource Group Operations Operation Check current status View configuration Switch to a node Take offline on all nodes Bring online on primary node Brine online on named node Put into unmanaged state Bring into managed state Restart resource group Disable resource Enable resource Clear STOP_FAILED flag

Command scstat scrgadm scswitch scswitch scswitch scswitch scswitch scswitch scswitch scswitch scswitch scswitch

Example scstat -g scrgadm -p [-pvv] -g my-rg scswitch -z -g my-rg -h nodeB (Bring online on nodeB) scswitch -F -g my-rg scswitch -Z -g my-rg scswitch -z -g my-rg -h nodeB scswitch -F -g my-rg scswitch -n -j my-res (Disable all resource in group) scswitch -u -g my-rg scswitch -Z my-rg scswitch -R -h nodeB -g my-rg scswitch -n -j my-resource scswitch -e -j my-resource scswitch -c -h nodeB -j my-resource -f STOP_FAILED

Device Group Operations Operation Check current status Switch to a node Put into maintenance Bring online

Command scstat scswitch scswitch scswitch

Example scstat -D scswitch -z -D my-dg -h nodeA scswitch -m -D my-dg scswitch -z -D my-dg -h nodeB

Resource Group Configuration Operation Create Resource Group Command Example scrgadm -a -g my-rg -h nodeA,nodeB [ -y Pathprefix=/my-directory ] Add resource to Group scrgadm -a -j my-res -g my-rg -t SUNW.nfs -x ServicePaths=/my-directory 1. scswitch -F -g my-rg (Switch resource group offline) 2. scswitch -n -j my-res (Disable resource) 3. scrgadm -r -j my-res (Remove resource) 4. scswitch -Z my-rg (bring resource group on-line) scrgadm -a -L -j my-lh -g my-rg -l logical_host_name scrgadm -a -S -j my_salh -g my-rg -l logical_host_name scrgadm -a -j my-res -x property=new_value 1. scstat -g (List group and its resources) 2. scswitch -F -g my-rg (Switch resource group offline) Remove resource from group Add logical host resource Add share address resource Modify resource parameter Remove a resource group 3. scswitch -n -j my-res (Disable resources) 4. scrgadm -r -j my-res (Remove resources) 5. scrgadm -r -g my-rg (Remove resource group)

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库sun cluster 常用命令在线全文阅读。

sun cluster 常用命令.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/306036.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: