After looking into this further it looks like the copy
command only works for copying appliance to appliance right now. This is a known issue and will be addressed in a future SolOS release.
The work around for one software event broker to another is to do one of the following:
- Create a file-transfer user on both software event brokers, then copy it
off one event broker to another host then on the other event broker copy in
from that host. Say, for example, if you are using windows, you can use
WinSCP to transfer it off one and put it on another. - Login to the linux shell (you can use
solacectl shell
from the cli) and then do sftp and put the file to another host.
vmr-133-12# show current-config message-vpn default > cliscripts/default.cli
[sysadmin@vmr-133-12 ~]$ solacectl shell
[appuser@vmr-133-12 ~]$ cd /usr/sw/jail/cliscripts
[appuser@vmr-133-12 cliscripts]$ ls -lrt
-rw-rw-rw- 1 appuser root 10530 Oct 25 02:59 default.cli
[appuser@vmr-133-12 cliscripts]$ sftp -oPort=2222 sftp@192.168.X.X
Solace PubSub+ Enterprise
Password:
Connected to 192.168.X.X.
sftp> cd cliscripts
sftp> put default.cli
Uploading default.cli to /cliscripts/default.cli
default.cli
[appuser@vmr-133-13 cliscripts]$ ls -lrt
-rw-r--r-- 1 sftp solgroup 10530 Oct 25 05:01 default.cli