Rename a machine (relay03) and add the cloud.

Remove useless comment.
This commit is contained in:
gardouille 2015-07-27 09:51:13 +02:00
parent cd327ae278
commit c10e8dc9d3
2 changed files with 59 additions and 3 deletions

57
splitCLUSTER Normal file
View File

@ -0,0 +1,57 @@
#### Session --------------------------------------------------------------
# -sX : numéro de la session
# -nNOM_TERMINAL : nom du terminal
# -d : indique à tmux de ne pas attacher la session et de ne pas prendre les
# nouvelles fenêtres comme une fenêtre courante
# -t0:X : modifier les paramètres de la fenêtre X de la session 0. !Attention
# la fenêtre doit exister avant de pouvoir modifier ses paramètres!
# monitor-activity : permet de mettre en avant une fenêtre quand son contenu reçoit un événement
#
new -A -sCluster
neww -d -nSSH1 'exec ssh simpatix60.univ-rennes1.fr'
selectw -t 2
selectp -t 1
# Pane 1
splitw -v -p 20 -t 1 'exec ssh simpatix61.univ-rennes1.fr'
splitw -h -p 33 -t 2 'exec ssh simpatix62.univ-rennes1.fr'
splitw -h -p 50 -t 2 'exec ssh simpatix63.univ-rennes1.fr'
## Pane 5
splitw -v -p 25 -t 1 'exec ssh simpatix64.univ-rennes1.fr'
splitw -h -p 33 -t 5 'exec ssh simpatix65.univ-rennes1.fr'
splitw -h -p 50 -t 5 'exec ssh simpatix66.univ-rennes1.fr'
## Pane 8
splitw -v -p 50 -t 1 'exec ssh simpatix67.univ-rennes1.fr'
splitw -h -p 33 -t 8 'exec ssh simpatix68.univ-rennes1.fr'
splitw -h -p 50 -t 8 'exec ssh simpatix69.univ-rennes1.fr'
## Pane 9
splitw -h -p 33 -t 1 'exec ssh simpatix70.univ-rennes1.fr'
splitw -h -p 50 -t 1 'exec ssh simpatix71.univ-rennes1.fr'
## SSH2
neww -d -nSSH2 'exec ssh simpatix72.univ-rennes1.fr'
selectw -t 3
selectp -t 1
# Pane 1
splitw -v -p 20 -t 1 'exec ssh simpatix73.univ-rennes1.fr'
splitw -h -p 33 -t 2 'exec ssh simpatix74.univ-rennes1.fr'
splitw -h -p 50 -t 2 'exec ssh simpatix75.univ-rennes1.fr'
## Pane 5
splitw -v -p 25 -t 1 'exec ssh simpatix76.univ-rennes1.fr'
splitw -h -p 33 -t 5 'exec ssh simpatix77.univ-rennes1.fr'
splitw -h -p 50 -t 5 'exec ssh simpatix78.univ-rennes1.fr'
## Pane 8
splitw -v -p 50 -t 1 'exec ssh simpatix79.univ-rennes1.fr'
splitw -h -p 33 -t 8 'exec ssh simpatix80.univ-rennes1.fr'
splitw -h -p 50 -t 8 'exec ssh simpatix81.univ-rennes1.fr'
## Pane 9
splitw -h -p 33 -t 1 'exec ssh simpatix82.univ-rennes1.fr'
splitw -h -p 50 -t 1 'exec ssh simpatix83.univ-rennes1.fr'

View File

@ -15,11 +15,9 @@ selectp -t 1
splitw -v -p 25 -t 1 'exec ssh work.www'
splitw -h -p 50 -t 2 'exec ssh work.dhcp'
# Pane 3
splitw -h -p 50 -t 1 'exec ssh work.tunnelviarelay03'
splitw -h -p 50 -t 1 'exec ssh work.tunnel.relay03'
splitw -v -p 50 -t 1 'exec ssh work.tools'
#splitw -v -p 50 -t 4 'exec sleep 5 && ssh work.localhost -p 9322'
splitw -v -p 50 -t 4 'exec ssh work.tunnel1'
#splitw -v -p 50 -t 4 'exec ssh work.localhost -p 9322'
neww -d -nSSH2 'exec ssh work.puppet1'
selectw -t 3
@ -37,6 +35,7 @@ selectw -t 4
selectp -t 1
# Pane 1
splitw -v -p 50 -t 1 'exec ssh work.logsrv1'
splitw -h -p 50 -t 2 'exec ssh work.cloud'
neww -d -nHyper0x 'exec ssh work.hyper01'
selectw -t 5