1836889 Members
2360 Online
110111 Solutions
New Discussion

executing remote command

 
SOLVED
Go to solution
Igor Sovin
Super Advisor

executing remote command

Hi!

I need to execute make_net_recovery from my ignite UX server on remote host. What options do I need to provide?
Now I get those errors:

root@lev /EvaBC>ssh adam make_net_recovery -s lev.snos.ru
sh: make_net_recovery: not found.

ssh keys are configured so I can login to remote host without prompting a password.
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor
Solution

Re: executing remote command

Hi Igor,

try this,

# ssh adam /opt/ignite/bin/make_tape_recovery -s lev.snos.ru

Robert-Jan
Muthukumar_5
Honored Contributor

Re: executing remote command

Use full path of make_net_recovery as /opt/ignite/bin/make_tape_recovery.

ssh adam /opt/ignite/bin/make_tape_recovery -s lev.snos.ru.

You have started another thread as well. I will ask administrators to close one of them.

--
Muthu
Easy to suggest when don't know about the problem!
Senthil Prabu.S_1
Trusted Contributor

Re: executing remote command

Hi,
The problem was make_net_recovery is not set in your path. So specify the command with full path as;
/opt/ignite/bin/make_tape_recovery

You can also use rsh to execute this command;

rsh adam /opt/ignite/bin/make_tape_recovery -s lev.snos.ru

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Igor Sovin
Super Advisor

Re: executing remote command

thank you!

I've mistaken with the name of thread while opening it. I think administrator may close it.
Borislav Perkov
Respected Contributor

Re: executing remote command

Hi,

Try maybe to put full path of make_net_recovery command.
Can you explain what you realy want to do?
If you want to make it from client to a server here is extraction from the manual.
Create recovery
from the client
These commands create a system recovery archive from the client, using
settings from the last invocation of Ignite-UX, and using the options file
on the Ignite-UX server (myserver) in the default location,
/var/opt/ignite/clients/0xLLA/recovery/:
make_net_recovery -s myserver
Create a recovery
tape on a client
that includes the
volume group,
vg00
To create a system recovery archive from the client that includes files
from all file systems in the vg00 volume group, enter:
make_net_recovery -s myserver -x inc_entire=vg00
Preview system
recovery
To preview the creation of the system recovery archive enter:
make_tape_recovery -s myserver -p
The use of the -p option can be particularly helpful during a tape
recovery to be sure of the tape contents before attempting the recovery.

Best Regards,
Borislav
Muthukumar_5
Honored Contributor

Re: executing remote command

Hi,

I have asked administrators to close that duplicate thread. You just close this thread with your answer here. You can see close thread in this question. Close this with that.

--
Muthu
Easy to suggest when don't know about the problem!