From cf898ea910859ee514d3808a38b2963969c7ff26 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Mon, 17 May 2010 10:36:47 +0300 Subject: [PATCH] admin-scripts: add vm hosts file --- scripts/admin/pssh/pssh-hosts-base.txt | 15 +++-- scripts/admin/pssh/pssh-hosts-vm.txt | 90 ++++++++++++++++++++++++++ scripts/admin/pssh/test-vm | 4 ++ 3 files changed, 103 insertions(+), 6 deletions(-) create mode 100644 scripts/admin/pssh/pssh-hosts-vm.txt create mode 100755 scripts/admin/pssh/test-vm diff --git a/scripts/admin/pssh/pssh-hosts-base.txt b/scripts/admin/pssh/pssh-hosts-base.txt index 49c9b31..ee2af16 100644 --- a/scripts/admin/pssh/pssh-hosts-base.txt +++ b/scripts/admin/pssh/pssh-hosts-base.txt @@ -1,6 +1,9 @@ -root@141.85.224.201 -root@141.85.224.202 -root@141.85.224.203 -root@141.85.224.204 -root@141.85.224.207 -root@141.85.224.208 +p2p-next-01.grid.pub.ro root +p2p-next-03.grid.pub.ro root +p2p-next-04.grid.pub.ro root +p2p-next-05.grid.pub.ro root +p2p-next-06.grid.pub.ro root +p2p-next-07.grid.pub.ro root +p2p-next-08.grid.pub.ro root +p2p-next-09.grid.pub.ro root +p2p-next-10.grid.pub.ro root diff --git a/scripts/admin/pssh/pssh-hosts-vm.txt b/scripts/admin/pssh/pssh-hosts-vm.txt new file mode 100644 index 0000000..d62ba65 --- /dev/null +++ b/scripts/admin/pssh/pssh-hosts-vm.txt @@ -0,0 +1,90 @@ +p2p-next-01.grid.pub.ro:10122 +p2p-next-01.grid.pub.ro:10222 +p2p-next-01.grid.pub.ro:10322 +p2p-next-01.grid.pub.ro:10422 +p2p-next-01.grid.pub.ro:10522 +p2p-next-01.grid.pub.ro:10622 +p2p-next-01.grid.pub.ro:10722 +p2p-next-01.grid.pub.ro:10822 +p2p-next-01.grid.pub.ro:10922 +p2p-next-01.grid.pub.ro:11022 +p2p-next-03.grid.pub.ro:10122 +p2p-next-03.grid.pub.ro:10222 +p2p-next-03.grid.pub.ro:10322 +p2p-next-03.grid.pub.ro:10422 +p2p-next-03.grid.pub.ro:10522 +p2p-next-03.grid.pub.ro:10622 +p2p-next-03.grid.pub.ro:10722 +p2p-next-03.grid.pub.ro:10822 +p2p-next-03.grid.pub.ro:10922 +p2p-next-03.grid.pub.ro:11022 +p2p-next-04.grid.pub.ro:10122 +p2p-next-04.grid.pub.ro:10222 +p2p-next-04.grid.pub.ro:10322 +p2p-next-04.grid.pub.ro:10422 +p2p-next-04.grid.pub.ro:10522 +p2p-next-04.grid.pub.ro:10622 +p2p-next-04.grid.pub.ro:10722 +p2p-next-04.grid.pub.ro:10822 +p2p-next-04.grid.pub.ro:10922 +p2p-next-04.grid.pub.ro:11022 +p2p-next-05.grid.pub.ro:10122 +p2p-next-05.grid.pub.ro:10222 +p2p-next-05.grid.pub.ro:10322 +p2p-next-05.grid.pub.ro:10422 +p2p-next-05.grid.pub.ro:10522 +p2p-next-05.grid.pub.ro:10622 +p2p-next-05.grid.pub.ro:10722 +p2p-next-05.grid.pub.ro:10822 +p2p-next-05.grid.pub.ro:10922 +p2p-next-05.grid.pub.ro:11022 +p2p-next-06.grid.pub.ro:10122 +p2p-next-06.grid.pub.ro:10222 +p2p-next-06.grid.pub.ro:10322 +p2p-next-06.grid.pub.ro:10422 +p2p-next-06.grid.pub.ro:10522 +p2p-next-06.grid.pub.ro:10622 +p2p-next-06.grid.pub.ro:10722 +p2p-next-06.grid.pub.ro:10822 +p2p-next-06.grid.pub.ro:10922 +p2p-next-06.grid.pub.ro:11022 +p2p-next-07.grid.pub.ro:10122 +p2p-next-07.grid.pub.ro:10222 +p2p-next-07.grid.pub.ro:10322 +p2p-next-07.grid.pub.ro:10422 +p2p-next-07.grid.pub.ro:10522 +p2p-next-07.grid.pub.ro:10622 +p2p-next-07.grid.pub.ro:10722 +p2p-next-07.grid.pub.ro:10822 +p2p-next-07.grid.pub.ro:10922 +p2p-next-07.grid.pub.ro:11022 +p2p-next-08.grid.pub.ro:10122 +p2p-next-08.grid.pub.ro:10222 +p2p-next-08.grid.pub.ro:10322 +p2p-next-08.grid.pub.ro:10422 +p2p-next-08.grid.pub.ro:10522 +p2p-next-08.grid.pub.ro:10622 +p2p-next-08.grid.pub.ro:10722 +p2p-next-08.grid.pub.ro:10822 +p2p-next-08.grid.pub.ro:10922 +p2p-next-08.grid.pub.ro:11022 +p2p-next-09.grid.pub.ro:10122 +p2p-next-09.grid.pub.ro:10222 +p2p-next-09.grid.pub.ro:10322 +p2p-next-09.grid.pub.ro:10422 +p2p-next-09.grid.pub.ro:10522 +p2p-next-09.grid.pub.ro:10622 +p2p-next-09.grid.pub.ro:10722 +p2p-next-09.grid.pub.ro:10822 +p2p-next-09.grid.pub.ro:10922 +p2p-next-09.grid.pub.ro:11022 +p2p-next-10.grid.pub.ro:10122 +p2p-next-10.grid.pub.ro:10222 +p2p-next-10.grid.pub.ro:10322 +p2p-next-10.grid.pub.ro:10422 +p2p-next-10.grid.pub.ro:10522 +p2p-next-10.grid.pub.ro:10622 +p2p-next-10.grid.pub.ro:10722 +p2p-next-10.grid.pub.ro:10822 +p2p-next-10.grid.pub.ro:10922 +p2p-next-10.grid.pub.ro:11022 diff --git a/scripts/admin/pssh/test-vm b/scripts/admin/pssh/test-vm new file mode 100755 index 0000000..f3d9995 --- /dev/null +++ b/scripts/admin/pssh/test-vm @@ -0,0 +1,4 @@ +#!/bin/bash + +unset PSSH_OUTDIR +parallel-ssh -O StrictHostKeyChecking=no -p 90 -l root -h pssh-hosts-vm.txt : -- 2.20.1