I’m proposing a design change for pbs_snapshot’s “–additional-hosts” option. Right now, when given a list of hosts, pbs_snapshot captures things like comm_logs, mom_logs, mom_priv and some system commands from each of those hosts (whatever can be captured). This has 2 disadvantages:
- It incurs a lot of data being copied over the network from various hosts to the machine where pbs_snapshot was run.
- copying protected data (e.g - mom_priv) from remote hosts is very tricky if running pbs_snapshot as a non-root user using the new “–with-sudo” option.
So, I propose the following:
- When capturing data from remote hosts, pbs_snapshot will run pbs_snapshot directly on the remote hosts.
- Once the “sub” snapshots are captured completely, the main pbs_snapshot program will copy over the compressed snapshot tarballs as _snapshot.tgz and keep them in the first level of the main snapshot that’s being captured.
Please let me know what you guys think. @scc, requesting you specifically to provide some feedback.