High-Performance cluster parallel computing mpichhpc and torque Job Scheduling System

Source: Internet
Author: User
Host system: rhel6.0 (unlimited) system environment: selinuxandiptablesdisabled service node: desktop26.example. com192.168.0.26 computing node: desktop80.example. com192.168.0.80

Host system: rhel6.0 (unlimited)

System Environment: selinux and iptables disabled service node: desktop26.example.com 192.168.0.26 computing node: desktop80.example.com 192.168.0.80 desktop83.example.com 192.168.0.83 1. to use the SSH key for each node to achieve password-free connection, you must first create a common user on each node as a cluster user.
 
  1. Useradd yejk
  2. Passwd yejk (SET Password to westos)
Note that the password and ID of this common user on each node must be the same. Note that no matter how many nodes there are, the data in the home directory of this common user should be identical, to achieve this, some network storage implementations can be implemented. NFS is used here, because the implementation method is simple and stable, and NFS is deployed on any node to release the Home Directory of yejk, other nodes directly mount this directory
 
  1. Yum install nfs-utils rpcbind-y
  2. Vim/etc/exports
  3. /Home/yejk 192.168.0.0/24 (rw, no_root_squash)
  4. Exportfs-r # Make the configuration take effect
  5. Exportfs-v # View
  6. /Etc/init. d/rpcbind start # requires rpcbind support
  7. /Etc/init. d/nfs start
Note that no_root_squash should be added, because the nfs server regards the root on the NFS client as the user nfsnobody, and permission issues may occur. After the release, you can directly mount the file on other nodes using commands and write the file to fstab.
  1. Mount 192.168.0.80:/home/yejk
  2. Vim/etc/fstab
  3. 192.168.0.80:/home/yejk nfs defaults 0 0

The operation on any node takes effect on each node.

 
  1. Su-yejk
  2. Ssh-keygen: Press enter.
  3. Ssh-copy-id-I ~ /. Ssh/id_rsa.pub sharetop80.example.com (connect with your own trust)
  4. Ssh-copy-id-I ~ /. Ssh/id_rsa.pub route top83.example.com (trusted connection with other nodes)
  5. Sh-copy-id-I ~ /. Ssh/id_rsa.pub sharetop26.example.com (trusted connection with other nodes)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.