{"id":67653,"date":"2023-07-30T06:28:16","date_gmt":"2023-07-29T22:28:16","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=67653"},"modified":"2023-07-30T06:28:16","modified_gmt":"2023-07-29T22:28:16","slug":"centos-gridengineserver-install","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/centos-gridengineserver-install.html","title":{"rendered":"CentOS\u4e0aGridEngineServer\u7684\u5b89\u88c5\u6307\u5357"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nGridEngine\u53ef\u4ee5\u628a\u4efb\u52a1\u81ea\u52a8\u653e\u5230\u8d1f\u8f7d\u5c0f\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c.\u5728CentOS\u4e0a\u8be5\u5982\u4f55\u5b89\u88c5GridEngineServer\u5462\uff1f\u4e0b\u9762\uff0c\u672c\u6587\u5c06\u4ecb\u7ecd\u4e00\u4e0b\u5b89\u88c5\u65b9\u6cd5\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u6709\u5e2e\u52a9\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u4e0b\u8f7d\u76f8\u5173rpm\u5305\u540e, \u53ef\u4ee5\u76f4\u63a5<\/p>\n

yum localinstall gridengine-*<\/pre>\n

\u53ef\u80fd\u9700\u8981\u7684\u4f9d\u8d56\u5305<\/p>\n

yum install jemalloc munge hwloc\r\n# CentOS 5 \u7684\u8bdd, hwloc \u7248\u672c\u89811.4\u4ee5\u4e0a, epel\u7684\u53ea\u6709 1.1<\/pre>\n

\u5b89\u88c5\u5b8c\u6210\u540e, \u76f8\u5173\u6587\u4ef6\u5728 \/opt\/sge \u4e0b\u9762, \u8fd0\u884c\u91cc\u9762\u7684<\/p>\n

start_gui_installer<\/pre>\n

\u5148\u6dfb\u52a0\u7ba1\u7406\u7aef.\u5efa\u8bae\u628a\u670d\u52a1\u7aef\u7684 \/opt\/sge \u4f7f\u7528NFS<\/p>\n

[root@oge sge]# cat \/etc\/exports \r\n\/opt\/sge 192.168.101.0\/255.255.255.0(rw,no_root_squash,sync,no_subtree_check,nohide)<\/pre>\n

\u5ba2\u6237\u7aef\u76f4\u63a5\u6302\u8f7dserver\u7684\/opt\/sge<\/p>\n

\u5199\u4e86\u4e2a\u811a\u672c<\/p>\n

#!\/bin\/bash\r\n \r\nsge=\/opt\/sge\r\n \r\nmount -t nfs -o 'rw,intr,tcp' oge:$sge $sge\r\nsleep 4\r\n# sgeexecd.p6444 \u8fd0\u884c\u811a\u672c\u540d\u53ef\u80fd\u4e0d\u4e00\u6837\r\n[ `ls $sge | wc -l ` -ge 0 ] && \/etc\/init.d\/sgeexecd.p6444 start<\/pre>\n

\u5b89\u88c5\u4e4b\u524d\u8fd8\u5f97\u505aSSH\u8bc1\u4e66\u8ba4\u8bc1<\/p>\n

ssh-copy-id ~\/.ssh\/id_rsa.pub oge<\/pre>\n

\u6302\u8f7d\u540e, \u8fd8\u662f\u8fd0\u884c, \u53ea\u662f\u9009\u62e9\u53ea\u5b89\u88c5\u6267\u884c\u673a. \u53ef\u80fd\u4f1a\u6709DNS\u53cd\u67e5\u7684\u95ee\u9898, \u8fd9\u4e2a\u65f6\u5019\u53ef\u4ee5\u8df3\u8fc7<\/p>\n

start_gui_installer<\/pre>\n

\u5b8c\u6210\u540e, \u590d\u5236\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u7684\u811a\u672c\u5230profile.d<\/span><\/p>\n

cp \/opt\/sge\/default\/common\/settings.csh  \/etc\/profile.d\/sge.csh\r\ncp \/opt\/sge\/default\/common\/settings.sh  \/etc\/profile.d\/sge.sh<\/pre>\n

\u6b64\u65f6\u53ef\u4ee5\u8fd0\u884cqhost<\/span>,\u5230\u6b64\u5b8c\u6210\u57fa\u672c\u5b89\u88c5.
\n\u53e6\u5916\u8fd0\u884c\u4efb\u52a1\u524d\u8981\u521d\u59cb\u5316\u8bbe\u7f6e\u7684\u8bdd,\u53ef\u4ee5\u5728<\/p>\n

# \u6267\u884c\u4efb\u52a1\u4e4b\u524d\u521d\u59cb\u5316\u4e00\u4e0b\r\nQueue Control --> Cluster Queues --> Modify --> Execution Method\r\nProlog : \u6267\u884c\u524d\u6267\u884c(\u811a\u672c\u8981\u7edd\u5bf9\u8def\u5f84,\u4e0d\u80fd\u7528$HOME\u4e4b\u7c7b\u7684\u53d8\u91cf,\u4f46\u811a\u672c\u5185\u5bb9\u53ef\u4ee5\u4f7f\u7528\u53d8\u91cf)\r\nEpilog : \u6267\u884c\u540e\u6267\u884c<\/pre>\n
\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.centoscn.com\/image-text\/install\/2017\/0517\/8796.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/centos-gridengineserver-install.html<\/a>\u7f16\u8f91\uff1a\u738b\u6bc5\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb GridEngine\u53ef\u4ee5\u628a\u4efb\u52a1\u81ea\u52a8\u653e\u5230\u8d1f\u8f7d\u5c0f\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c.\u5728CentOS\u4e0a\u8be5\u5982\u4f55\u5b89\u88c5GridEngin […]<\/p>\n","protected":false},"author":564,"featured_media":67655,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-67653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/67653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/564"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=67653"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/67653\/revisions"}],"predecessor-version":[{"id":279007,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/67653\/revisions\/279007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/67655"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=67653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=67653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=67653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}