




已阅读5页,还剩34页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
集群管理工具C3 1 ClusterCommand Control C3 ToolSuite asuiteofclustertoolscexeccommandexecutioncget cpush crmfiledistributionandgatheringckillprocessterminationcshutdownremoteshutdownandrestart 2 InstallationofC3 REQUIREDSOFTWARERsync SSH orOpenSSH Python andPerlDownloadtarzxvfc3 4 0 1 tar tar Install c3 3 C3configuration explicitly file hImplicitlyThedefaultclusterdefinitionfile etc c3 conf 4 C3configuration clusterlocal htorc 00 node0 headnodenode 01 64 computenodesnode1 node2 node64 clusterlocal htorc 00 node0 headnodenode0 1 9 computenodesnode01 node09node 10 64 computenodesnode10 node64 5 C3configuration Thefirstclusterintheconfigurationfileisdefaultcluster 6 cexec s Autilitythatexecutesagivencommandstringoneachnodeofaclustercexec s OPTIONS MACHINEDEFINITIONS commandcexecistheparallelversionandcexecsistheserialversion 7 OPTIONS help hdisplayhelpmessage file falternateclusterconfigurationfileifoneisnotsuppliedthen etc c3 confwillbeused iinteractivemode askoncebeforeexecuting allexecuteonallthenodesinalltheclustersinthec3 conffile notethisignoresthe MACHINE DEFINITIONS block headexecutecommandonheadnode doesnotexecuteoncomputenodes 8 GENERAL 1 Tosimplyexecuteacommandonthedefaultclustercexecmkdirtempthiscreatesadirectorynamedtempinyourhomedirectory2 Toexecuteacommandonasubsetofnodesonthedefaultclustercexec 2 6ls lthisexecuteslswiththe loptiononnodes2 3 4 5 6 9 GENERAL 3 ToexecutecommandsonaclustercexecC1 ls lthisexecuteslswiththe loptiononallthenodesinC1cexecC1 0 1 3ls lthisexecuteslswiththe loptiononC1 S1 C1 S2 C1 S4 10 GENERAL 4 ToexecutecommandsonalistofclusterscexecC1 C2 ls lthisexecuteslswiththe loptiononallthenodesinbothclusterscexecC1 0 1C2 2 3ls lthisexecuteslswiththe loptiononC1 S1 C1 S2 C2 S3 C2 S4 11 GENERAL 5 Quotepositionisimportantcexec ps aux greproot willexecutepsoneachnode grepforrootthere sorttheoutput anddisplayitonthescreencexecps aux greprootwillexecutepsoneachnode sorttheoutput grepoutallthelineswithroot andonlydisplaythoselinestothescreen 12 cpush Autilitytopushfilesfromthelocalmachinetothenodesinyourclustercpush OPTIONS MACHINEDEFINITIONS source target 13 OPTIONS help h file f i all head l listlistoffilestopush nolocalthesourcefileordirectoryliesontheheadnodeoftheremotecluster blind bpushestheentirefile normallycpushusesrsynctopushchangesandthenrebuildsthefileonthetargetnode 14 GENERAL 1 Tomoveasinglefilecpush home filename home 2 Tomoveasinglefile renamingthatfileontheclusternodecpush home filename1 home filename23 Tomoveasetoffileslistedinafilecpush list home filelistThefilelistisasinglefileperlinethefirstcolumnbeingthesourcethesecondbeingthetargetifnotargetisspecifieditisassumedtobethesameasthesource 15 cget Autilitythatretrievesaspecifiedfilefromeachnodeofaclusterandplacesitintothespecifiedtargetdirectorycget OPTIONS MACHINEDEFINITIONS source target 16 OPTIONS help h file f i all head 17 GENERAL 1 Toretrieveafilefromthedefaultclustercget tmp file12 Toretrieveafilefromasubsetofnodesonthedefaultclustercget 2 6 tmp output home user1 data 3 Toretrieveafilefromalistofclusterscgetcluster1 cluster2 tmp output 18 crm Autilitythatdeletesfilesfromeachclusternodecrm OPTIONS MACHINEDEFINITIONS pattern 19 OPTIONS help h file f i all head r Rrecursivedelete vverbosemode oforcedelete equivalentto finrm 20 GENERAL 1 Toremoveasinglefilefromthedefaultclustercrmfilename2 Toremoveseveralfilesonmultipleclusterscrmcluster2 2 6cluster3 obj thisremoves objfromallofcluster3annodes2 3 4 5 and6fromcluster2 21 ckill autilitytheruns kill oneachnodeofaclusterforaspecifiedprocessnameckill OPTIONS MACHINEDEFINITIONS process name 22 OPTIONS help h file f i all head signal ssignaltosendprocess user ualternateprocessowner rootonly 23 GENERAL 1 Tokillaprocess nosignalsent ckilla outThiskillseveryprocessnameda outthattheuserowns2 Toexecuteacommandonasubsetofnodesonthedefaultcluster withsignal9 ckill s9 2 6daemonThissendstotheprocessnameddaemonthe9signalonnodes2 3 4 5 6 24 GENERAL 3 Tokillaprocessonalistofclusterswithanalternateuserckill usgrundycluster1 cluster2 a outThiskillstheprocessnameda outonallthenodesinbothclustersthatareownedbyuserthe uoptionisonlyvalidforroot4 Tokillallprocessesofagivennameonalistofclustersckill uALLcluster1 cluster2 a outThiskillstheprocessnameda outonallthenodesinbothclusters ALL isareservednamemeaningallusersonasystem 25 cshutdown Autilitythatrunsshutdownoneachclusternodecshutdown OPTIONS MACHINEDEFINITIONS ttime warning message 26 OPTIONS help h file f i all head tsecTellinit 8 towaitsecsecondsbetweensendingprocessesthewarningandthekillsignal beforechangingtoanotherrunlevel kDon treallyshutdown onlysendthewarningmessagestoeverybody rrebootaftershutdown HHaltaftershutdown 27 OPTIONS aUse etc shutdown allow sFSkipfsckonreboot FForcefsckonreboot cCancelanalreadyrunningshutdown onrebootreboottospecifiedlilolabel 28 GENERAL 1 Toshutdownthedefaultcluster cshutdown t0Shutsdownthenodesimmediately2 toreboottheclustertoanotherlilolabelcshutdown onrebootw2k0rebootingtowindows2000now Thiscommandtellstoreboottowindows20003 Toshutdownseveralclusterscshutdown kcluster1 cluster2 t5systemgoingdownforupdatesThiswilltellshutdowntosendthefollowingmessagebutnotreallyshutdown 29 cname Autilitythatreturnsthenodenamesspecifiedbytherangespecifiedonthecommandlinecname OPTIONS MACHINEDEFINITIONS 30 OPTIONS help h file f all 31 GENERAL 1 Tosearchthedefaultcluster cname 0 5Thisprintsthenodenamesoneperline2 Tosearchspecificclusterscnamecluster1 cluster2 4 8Thisprintsthenodenamesonperline 32 cnum Autilitythatreturnsanodeindexfromthegivencluster s andanamecnum OPTIONS MACHINEDEFINITIONS node name1 node name2node
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年人力资源行业数字化招聘与人才培养研究报告
- 2025年老年医学诊疗技术单项选择模拟卷答案及解析
- 2025年戒毒医学综合能力测验模拟考试卷答案及解析
- 2025年麻醉科危重病人监护技术模拟考试答案及解析
- 2025山东威海方正外国语学校教师招聘5人笔试备考试题及答案解析
- 2025福建福州捕电科技有限公司招聘12人笔试参考题库附答案解析
- 2025年外科手术技术模拟考试答案及解析
- 2025四川长虹智能机器人公司招聘机械设计工程师等岗位笔试参考题库附答案解析
- 2025年口腔医学模拟口腔疾病诊断答案及解析
- 2025福建南平市公安局建阳分局招聘警务辅助人员16人笔试参考题库附答案解析
- 2025年书记在公文抄袭问题专项整治工作会议上的讲话范文
- GB/T 17219-2025生活饮用水输配水设备、防护材料及水处理材料卫生安全评价
- 出差工作安全培训课件
- 占道施工安全培训内容课件
- 2025年少先队大队委笔试试卷及答案
- 证券业反洗钱培训课件
- GJB3165A-2020航空承力件用高温合金热轧和锻制棒材规范
- 2025年执业药师考试题库大全-附答案
- 退换货方案及措施
- 2025年食药监局考试题库
- 密室逃脱消防应急预案
评论
0/150
提交评论