Install PBS Pro with the RPM package

Source: Internet
Author: User
Tags rpmbuild
install PBS Pro with the RPM package Download

First download PBS Pro, where the v14.1.0 version is used. Download Address: https://github.com/PBSPro/pbspro/archive/v14.1.0.tar.gz

After downloading, change the file name to pbspro-14.1.0.tar.gz prep machine

Prepare two machines, the machine name is Pbsmaster and Pbsslave respectively.

Modify the/etc/hosts files of two machines to ensure that two machines can access each other. Making RPM Packages

The following command runs with the root user

# mkdir-p/root/rpmbuild/sources/
# mv pbspro-14.1.0.tar.gz/root/rpmbuild/sources/pbspro-14.1.0.tar.gz
# CD /root/rpmbuild/sources && tar zxvf pbspro-14.1.0.tar.gz
# cd/root/rpmbuild/sources/pbspro-14.1.0 & & Rpmbuild-ba Pbspro.spec

After executing the above command, a few RPM packages are generated in the/root/rpmbuild/rpms/x86_64 directory, as follows:

pbspro-client-14.1.0-0.x86_64.rpm
pbspro-debuginfo-14.1.0-0.x86_64.rpm
pbspro-execution-14.1.0-0.x86_ 64.rpm
pbspro-server-14.1.0-0.x86_64.rpm
Install MasterLog on to the master node and run as root
# yum Install-y pbspro-server-14.1.0-0.x86_64.rpm
modifying/etc/pbs.conf files
Pbs_server=pbsmaster
Pbs_start_mom=1
Install slave

Log on to the master node and run as root

# yum Install pbspro-execution-14.1.0-0.x86_64.rpm
modifying/etc/pbs.conf files
Pbs_server=pbsmaster
modifying/var/spool/pbs/mom_priv/config files
$clienthost Pbsmaster
start PBSRun the following command on the Pbsmaster and Pbsslave nodes separately to start PBS
Adding slave nodes to the cluster
# . /etc/profile.d/pbs.sh
# qmgr-c ' Create node Pbsslave '
Test

Log on to the master node using a normal user, and then run

$ . /etc/profile.d/pbs.sh

# View node status
$ pbsnodes-a

# Submit Job
$ Echo ' sleep 123 ' | qsub

# View Job
$ qstat-a

Reprint please indicate this link form link
This article link: http://blog.csdn.net/kongxx/article/details/52708542

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.