客户端使用torque

怎么在随便一台客户端上使用torque服务呢

首先,
1服务端:从服务器端生成的client.sh(torque-package-clients-linux-x86_64.sh)的那个脚本复制过来,
2客户端:然后在客户端运行 client.sh
3客户端:再运行trqauthd
/usr/local/sbin/trqauthd

4 服务端:在服务器端添加授权

qmgr -c 'set server allow_node_submit = True'qmgr -c 'set server submit_hosts = clientIP'qmgr -c 'set server allow_node_submit = true'
qmgr -c 'set acl_hosts=clientIP'   (这个不用执行,因为没起作用)

5 在服务端建立对应的用户,比如我客户端的用户是lsh,就在服务器端也建立同样的用户用户lsh,也不用将lsh用户做自动化登陆到服务器端(此处有错,需要做自动化登录,否则会有报错2)
usreadd lsh -u 550 -g3000

根据报错:
$ echo "echo a;sleep 100" |qsub
qsub: submit error (Bad UID for job execution MSG=User lsh does not exist in server password file
)
Unable to copy file /var/spool/torque/spool/73.jxq-10-0-0-94.ER to lsh@clientIP:/home/lsh/STDIN.e73,error 1
*** error from copy
Host key verification failed.
lost connection
*** end error output
Output retained on that host in: /var/spool/torque/undelivered/73.server.ERcomment = Job started on Sat Apr 16 at 11:00etime = Sat Apr 16 11:00:53 2016

以上做完就可以测试了

测试:
1 qnodes -a
2 echo “echo a;sleep 100” |qsub

3qstat -f 74

以下是trqauthd的说明文档


cat /home/torque/torque/README.trqauthd
Introductiontrqauthd is a new daemon starting in TORQUE 4.0. It replaces pbs_iff which is used by TORQUE client utilities to authorize user connections to pbs_server. Unlike pbs_iff which is executed by the TORQUE client utilities each time the utility is run, trqauthdis started once and remains resident. TORQUE client utilities then communicate with trqauthd on port 15005 on the loopback interface. Unlike pbs_iff trqauthd is multi-threadedand is able to successfully handle a greater volume of simultaneous requests than pbs_iff.Running trqauthdtrqauthd MUST be run as root. It must be running on any host where TORQUE client commands will execute.By default trqauthd is installed to /usr/local/bin.trqauthd can be invoked directly from the command line or by the use of init.d scripts which are located in the contrib/init.d directory of the TORQUE source.There are three init.d scripts for trqauthd in the contrib/init.d directory of the TORQUE source tree. debian.trqauthdUsed for the apt based systems (debian, ubuntu are the most common variations of this)suse.trqauthdUsed for the rpm based systems. (redhat, suse, scientific, centos, fedora, are some common examples)trqauthdAn example for other packages managers. (anything that doesn't use rpm or apt)Inside each of the scripts are the variable PBS_DAEMON and PBS_HOME. These two variablesshould be updated to match your torque installation. PBS_DAEMON needs to point to thelocation of trqauthd. PBS_HOME needs to match your TORQUE installation. For more informationabout PBS_HOME please see the TORQUE documentation at www.adaptivecomputing.com.Choose the script that matches your dist system and copy it to /etc/init.d. If needed, renamed it to trqauthdTo start the daemon type:/etc/init.d/trqauthd startTo stop the daemon type:/etc/init.d/trqauthd stopYou can also use the following:service trqauthd start/stop

torque--客户端使用torque相关推荐

  1. HOD服务集群 torque maui

    前言 本文的目的在于从无到有的搭建一套HOD服务集群.在参考本文之前假设读者已经对hadoop系统及其下面 DFSShell,HDFS,MapReduce等已经有了相当的了解.由于Hadoop doc ...

  2. Apache Torque连接多个数据库及其使用

    1.参见官网上Torque的初始化和配置 2.torque.properties配置 3.log4j.properties配置 4.初始化Torque 5.使用 1.参见官网上Torque的初始化和配 ...

  3. Apache Torque入门学习

    2019独角兽企业重金招聘Python工程师标准>>> Apache Torque是一种object-relational mapper.Torque能让用户通过java objec ...

  4. torque安装笔记

    最近做计算中心的网络管理员,学习了高性能计算作业提交系统 现在单位又进来了27台pc电脑,正好验证一下学习效果. 废话少说,下面开始讲解如何安装一个作业提交作业系统 以有名的开源软件torque为例, ...

  5. DC Motors – Voltage Vs. Output Speed Vs. Torque

    AB-032: DC Motors – Voltage Vs. Output Speed Vs. Torque - Precision Microdrives AB-032 DC Motors – V ...

  6. Torque 4.0 下载、安装、配置、提交作业、列队id归零

    PBS是功能最为齐全,历史最悠久,支持最广泛的本地集群调度器之一. PBS的目前包括openPBS,PBS Pro和Torque三个主要分支. 其中OpenPBS是最早的PBS系统,目前已经没有太多后 ...

  7. CentOS下torque集群配置(一)-torque安装与配置

    CentOS下torque集群配置(一)-torque安装与配置 一.Centos7系统的安装及设置 1.给两台电脑安装CentOS7.0,光盘启动路径修改为:/dev/cdrom 修改主机名称 # ...

  8. Centos 6/7安装Torque(单节点)

    Centos 6/7安装Torque(单节点)** 1. 简介 PBS(Portable Batch System)最初由NASA的Ames研究中心开发,主要为了提供一个能满足异构计算网络需要的软件包 ...

  9. Torque 3.0使用指南

    1      使用简明流程 1.1     从已经存在的数据库生成schema XML文件 1.1.1   编辑build.properties 1.2  根据schema XML文件生成java o ...

最新文章

  1. 找出数组中出现次数最多的一项并统计次数
  2. pmp考试中容易混淆的22组概念
  3. 解决jar包乱码 in 创新实训 智能自然语言交流系统
  4. dell的1501和640m,买哪个好呢?
  5. oracle+tns+01106,TNS-01106:Listener using listener name already been started
  6. protobuf java文档_Java中使用Protobuf
  7. arm export 汇编_C/C++与汇编混合编程有什么好处?
  8. 虚拟机 fedora 18 服务器,VM虚拟机中的Fedora设置固定IP上网的方法
  9. python连续质数计算_GitHub - xxqfft/AlgorithmsByPython: 算法/数据结构/Python/剑指offer/机器学习/leetcode...
  10. 2021年,开发者们如何拥抱 5G 消息?
  11. Stimulsoft Reports.Web 2022.2.3 Crack
  12. 人体的神经系统图 分布,人体脑神经系统分布图
  13. 计算机二级什么叫项目符号,项目符号
  14. 建站html代码,HTML代码大全
  15. 2020读书笔记 《马歇尔传记》
  16. shell命令执行完的退出状态详解+if语句的定义方法
  17. 2016-05-20-信息系统实践手记7-对接卡口平台细节
  18. 赛迪研究院发布首本《2019年中国数字营销解决方案市场白皮书》
  19. 2022最新大数据学习路线,超详细
  20. 办公软件应用是计算机二级考试吗,国产办公软件进入全国计算机二级考试

热门文章

  1. 使用云数据库,国庆快速开发一个微信小程序
  2. 4g运行内存手机还能用多久_4g运行内存(手机4g与6g运存的利弊)
  3. 8g内存学习计算机专业够吗,电脑内存4G和8G差距能有多大?电脑装机内存多大合适?...
  4. 万年历编写一年c语言思,万年历C语言
  5. 2022-2027年中国电压互感器行业发展监测及投资战略研究报告
  6. 软件I2C读写MPU6050代码
  7. 一次简单的计网实践——浅谈校园网认证原理、ipv6机制绕过认证限制、双路由器宿舍组网
  8. 基于开发环境MPLAB X IDEX PCKit3.5+进行仿真调试
  9. 旋转机械振动的基本特性分析
  10. 【每日前端】CSS考拉海购和京东官网部分广告模块的实现