Proliferate commands across nodes?


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Proliferate commands across nodes?
# 1  
Old 09-04-2018
Proliferate commands across nodes?

Hi folks.

I've been a developer for far too many years, but know very little of unix. I have setup a very inexpensive cluster of 6 raspberry pi nodes so I can play around with multi node programming. This is only for fun, but I want to learn properly, else what's the point?!

Setup can be a bit of a ball ache with proliferating code and commands.

Could you please suggest software that will allow me to send commands to node 1 and have that proliferated to the other 5? I have searched for this and found a few possibilities, most do a lot more than I need and the one that looks perfect (fabric) doesn't install in Raspbian, no idea why.

I'm sure I could write a bash with ssh and accomplish the basics, but I like the idea of asynchronous replies which I think is going to be a depth to far.

Any suggestions welcome, and if you have an opinion of one thing over another please let me know why.

Many thanks.
# 2  
Old 09-05-2018
Perhaps you can be more clear?

Do you want to execute remote commands in sequence from one remote host to another, initiating the initial command from your desktop or server to a remote host?

What exactly do you want to accomplish?
# 3  
Old 09-05-2018
We have pssh for parallel ssh on multiple remote hosts
We have Ansible that it uses ssh as well.
We have Salt which can make use of ssh for ad-hoc but it is designed to be configured with an agent.
We have Chef which has a bit of a learning curve but it is very powerful. It requires an agent in the remote hosts.
This User Gave Thanks to Aia For This Post:
# 4  
Old 09-05-2018
Quote:
Originally Posted by Aia
We have pssh for parallel ssh on multiple remote hosts
We have Ansible that it uses ssh as well.
We have Salt which can make use of ssh for ad-hoc but it is designed to be configured with an agent.
We have Chef which has a bit of a learning curve but it is very powerful. It requires an agent in the remote hosts.
Thank for this reply Aia.

I looked at each of the options you posted and was not familiar with a few of the website apps you posted.

Thanks again.
# 5  
Old 09-06-2018
I'll agree on everything said. Those and many other devops tools are available. I will also say that out of those tools Ansible is my favorite by far. Look up 'Ansible for Hackers' if you want a good online tutorial.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Re-cluster 2 HACMP 5.2 nodes

Hi, A customer I'm supporting once upon a time broke their 2 cluster node database servers so they could use the 2nd standby node for something else. Now sometime later they want to bring the 2nd node back into the cluster for resilance. Problem is there are now 3 VG's that have been set-up... (1 Reply)
Discussion started by: elcounto
1 Replies

2. Shell Programming and Scripting

Remove duplicate nodes

Hi all, I have a list of node pairs separated with a comma and also, associated with their respective values. For example: b0015,b1224 1.1 b0015,b2576 1.4 b0015,b3162 2.5 b0528,b1086 1.7 b0528,b1269 5.4 b0528,b3602 2.1 b0948,b2581 3.2 b1224,b0015 1.1... (8 Replies)
Discussion started by: AshwaniSharma09
8 Replies

3. UNIX for Dummies Questions & Answers

One service, two nodes, HA

Hi all. I have two nodes taken different places. They are connected together on a network. So, i have a service, it works on one of nodes and when the node is unavailable the service should will be launched on other node. Solution: rhel cluster, keepalive, hearbeat...may be Carp but what if... (2 Replies)
Discussion started by: Flomaster
2 Replies

4. High Performance Computing

request more nodes

I am new to cluster commands. But I have tried utilizing: -pe, but I do not know my parallel computing environment. We are running SGE, is there a simpler command to request more nodes? also: qsub -N auto -M name@email.com -m abe auto.sh does not email me at all. Help would be appreciated (0 Replies)
Discussion started by: theawknewbie
0 Replies

5. Emergency UNIX and Linux Support

Rebooting 3 to 1 Cluster nodes.

hello Gurus, My current set up is 3 to 1 Cluster (SUN Cluster 3.2) running oracle database. Task is to reboot the servers. My query is about the procedure to do the same. My understanding is suspend the databases to avoid switchover. Then execute the command scshutdown to down the cluster... (4 Replies)
Discussion started by: EmbedUX
4 Replies

6. AIX

i-nodes - out of disk space on /tmp

Usage: We run test build jobs that login to our AIX machines and create many small files in /tmp. After these jobs complete, they delete their temporary files that they have created. Issue: After approximately a week /tmp appears to become full. Issuing the command “df –g... (4 Replies)
Discussion started by: bblondin
4 Replies

7. UNIX for Advanced & Expert Users

du -k shows different size in two nodes

After rcp -rp from remote host, using du -k to verify the file size but total file size have different size. Check on individual file, file size is correct. How can I confirm on the file size after ftp? Pls advise. Thank you. (15 Replies)
Discussion started by: KhawHL
15 Replies

8. UNIX for Advanced & Expert Users

Managing nodes???

Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies

9. UNIX for Dummies Questions & Answers

nodes

how do you list all the nodes in unix :confused: (3 Replies)
Discussion started by: kamisi
3 Replies

10. UNIX for Dummies Questions & Answers

i-nodes

first off, i am new to unix so please bear with me. i was reading somewhere that if your i-nodes get critical that it can slow your network down. what are i-nodes and when do they become a critical number? this is what mine states: / (/dev/root ): 777058 blocks 569290 i-nodes... (4 Replies)
Discussion started by: djatwork
4 Replies
Login or Register to Ask a Question