环境:四台同网段的Linux虚拟机
apt-get update && apt-get install -y curl
首先,查找此虚拟机的IP
命令行输入ifconfig -a,红框的即为虚拟机IP

将此IP替换192.168.87.132,输入如下命令
sudo curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD=wmcoder /bin/bash -s -- --no-dry-run --central-manager 192.168.87.132192.168.87.132用Central Manager角色虚拟机的IP来替换
sudo curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD=wmcoder /bin/bash -s -- --no-dry-run --submit 192.168.87.132192.168.87.132用Central Manager角色虚拟机的IP来替换
sudo curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD=wmcoder /bin/bash -s -- --no-dry-run --execute 192.168.87.132登录到提交计算机上的用户应该能够查看池中的执行计算机(使用condor_status),提交作业(使用condor_submit)以及运行(使用condor_q)。显示的为两台执行角色的虚拟机。


sh -c "apt-get -y remove --purge htcondor && apt-get -y autoremove --purge && rm -fr /etc/condor"欢迎访问本人博客:https://wmcoder.site/posts/1f58.html 未经本人同意,禁止转载。 参考链接: https://htcondor.readthedocs.io/en/latest/getting-htcondor/install-linux-as-root.html https://htcondor.readthedocs.io/en/latest/getting-htcondor/admin-quick-start.html#admin-quick-start-guide