Operating System - Tru64 Unix
1748242 Members
3989 Online
108759 Solutions
New Discussion юеВ

vdump over ssh from Tru64 to Sol. 9

 
SOLVED
Go to solution
Nigel Henden
Advisor

vdump over ssh from Tru64 to Sol. 9

I need some help - I'm new to Tru64.

I am making a backup script to backup filesystems - advfs and UFS from an AlphaStation (Tru64 5.1-B) to an Ultra2 (Solaris 9) via ssh2, and I'm encountering problems.






15 REPLIES 15
Ralf Puchner
Honored Contributor

Re: vdump over ssh from Tru64 to Sol. 9

try it without ssh, if it works try to fix the ssh problem.

It is easier for troubleshooting to split the script and trying to fix it seperately.
This is absolut OS indepentent....

Help() { FirstReadManual(urgently); Go_to_it;; }
Nigel Henden
Advisor

Re: vdump over ssh from Tru64 to Sol. 9

Ralph,

Thank you for replying.

Without ssh the machine can not find host tokora1-1 to which the tape drive is attached.

By the way, I got the "permission denied" messages when I used the following syntax too:


/sbin/vdump -b 60 -f - -D /var | rsh tokora1-1 "dd bs60 of=/dev/rmt/0n"

Thank you.

Nigel
Johan Brusche
Honored Contributor

Re: vdump over ssh from Tru64 to Sol. 9


For the rsh permission problem, you will have to enter the Tru64 host/user in the $HOME/.rhosts at the Solaris side.

Same thing for ssh, the equivalent file is $HOME/.shosts

Rgds,
Johan.

_JB_
Michael Schulte zur Sur
Honored Contributor

Re: vdump over ssh from Tru64 to Sol. 9

Hi,

it seems, that you have access problems for those files, who do not have read access for group system like ldb.

greetings,

Michael
Nigel Henden
Advisor

Re: vdump over ssh from Tru64 to Sol. 9

ssh2, sftp2, and rsh are all set up properly on both hosts.
.rhosts in operator's home directory (both hosts)

/home/operator/.ssh2/authorization
/home/operator/.ssh2/identification

public keys are fine.

I can rsh and ssh to each host.

Nigel
Nigel Henden
Advisor

Re: vdump over ssh from Tru64 to Sol. 9

Michael,

Right. I noticed they are set at 600.

I will have to think of the securist way to go now.
I don't want to run the final script as root.

Thanks

Nigel
Michael Schulte zur Sur
Honored Contributor

Re: vdump over ssh from Tru64 to Sol. 9

Nigel,

have you decided what you will do?
Give read rights for the group?

greetings,

Michael
ps. do you know the points system
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Nigel Henden
Advisor

Re: vdump over ssh from Tru64 to Sol. 9

Michael

I will set up an ACL for user operator.

Thank you.

Nigel
Nigel Henden
Advisor

Re: vdump over ssh from Tru64 to Sol. 9

Michael,

There are a lot of file which give me permission problems - not only those in group system.
As you can see from the attachement, even my own files.

P.S.
Where is the button located to award points?