03-26-2007
You can't include the password on the command line. And even if you could, writing the password in a script in plaintext is a bad idea. Anyway, why don't you make entries in the user2's .rhosts file on server2?
The entry should be like 'user1 server1' or 'server1 user1'. I seem to have forgotten the format...
Its been a while since I worked with .rhosts file. Check the manual for the exact format
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I tried to buckup some oracle archive logs (from a solaris machine) to a remote tape (in a HP-UX machine).
I added the solaris machine name and user to .rhosts, and i tried to use this commande :
tar cvf HPhost:/dev/rmt/0mn /u01/*
The probleme that it gives:
HPhost:/dev/rmt/0mn : No such... (1 Reply)
Discussion started by: lasgaa
1 Replies
2. Shell Programming and Scripting
Hi,
Would appreciate if anyone could tell me if it is possible to mount (and use) a remote tape drive on a AIX server, and if so, what are the precise configuration steps needed?
The tape drive to be mounted as a remote tape drive is present on another AIX server in the same network.
... (0 Replies)
Discussion started by: dnicky
0 Replies
3. AIX
Hi,
Would appreciate if anyone could tell me if it is possible to mount (and use) a remote tape drive on a AIX server, and if so, what are the precise configuration steps needed?
The tape drive to be mounted as a remote tape drive is present on another AIX server in the same network.
... (5 Replies)
Discussion started by: dnicky
5 Replies
4. UNIX for Dummies Questions & Answers
We have 2 UNIX machines,
1.HP-UX 11i where oracle database running on it.
2.AIX 5 with Ultrium LTO3 tape drive connected.
My query is, i want to send oracle database archive files from HP machine to the tape drive which connected on AIX machine, everyday.
These files should be appended.
I... (3 Replies)
Discussion started by: yashdbad
3 Replies
5. Solaris
Hi all,
I would like to know what would happen if the tape (media) is not placed on the drive and a tar command is executed to backup on the tape.
My problem is that tar command hanged for multiple days instead of throwing the error,
Is it valid behaviour?
I was unable to test the... (4 Replies)
Discussion started by: jmsathish
4 Replies
6. AIX
Every 3 months we have to do backups (smitth mksysb/lsmksysb + tar) on at least 30 workstations. We have to carry around 2 external tape drives to connect to them. It is a pain to do because it takes at least 3 days to do (evening/night shift) and users sometimes complain that there desk is not put... (1 Reply)
Discussion started by: Browser_ice
1 Replies
7. UNIX for Advanced & Expert Users
I want to use this command to tar to tape:
tar cf - DIR | compress > `hostname`_`date +%m-%d-%y`.DIR.tar.Z
this of course goes to the FS.
How do I modify this to go directly to tape?
My tape device is /dev/rmt/0
thanks.
Having so many posts you should be familiar using code tags.... (7 Replies)
Discussion started by: djehresmann
7 Replies
8. Solaris
Hello all,
I'm trying to backup some files on a solaris 10 machine to the remote tape drive connected to another solaris 10 machine.
I have set up rsh to allow for password-less connection between the servers, but I'm not able to write to the tape with the command:
root@sdp4a>tar cvf... (1 Reply)
Discussion started by: kerrygold
1 Replies
9. UNIX for Advanced & Expert Users
Good day all!
I need to recover FS from backup, but the thing is that tape drive cable is not compatible with the server's input (tape drive's cable is wide, but at the server input (V240) is tight one). So, I want to connect this tape drive to another Solaris based server and mount tape drive... (3 Replies)
Discussion started by: nypreH
3 Replies
10. UNIX for Dummies Questions & Answers
Hello everyone.
I googled a little bit, and the best anwers i had were found in this forum. But , unfortunately, they couldn't give me a solution. So i decided to ask the question completely.
I have two servers:
One RHEL 5 , x64 , with a SCSI DAT72 Tape Drive.
Another (the new one), with... (0 Replies)
Discussion started by: pablobhz
0 Replies
LEARN ABOUT PLAN9
asadmin-stop-instance
asadmin-stop-instance(1AS) User Commands asadmin-stop-instance(1AS)
NAME
asadmin-stop-instance, stop-instance - stops the specified server instance and all the services associated with it
SYNOPSIS
stop-instance [--user admin_user] [--password admin_password] [--host local_host] [--port 4848] [--local=false] [--domain domain_name]
[--secure|-s]instance_name
Use the stop-instance to stop the instance with the instance name specified. The stop-instance can be run both locally and remotely. The
named instance must already exist within the given domain; and the instance must be running.
OPTIONS
--user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--local determines if the command should delegate the request to administrative instance or run locally.
--domain name of the domain.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
OPERANDS
instance_name name of the instance to be stopped.
Example 1: Using stop-instance in local mode
asadmin> stop-instance --local --domain domain1 server1
Instance server1 stopped
Where: the server1 instance associated with the domain1 domain is stopped locally.
Example 2: Using stop-instance in remote mode
asadmin> stop-instance --user admin --password bluestar --host localhost --port 4848 server1
Instance server1 stopped
Where: the server1 instance associated with the named user, password, host and port is deleted from the remote machine.
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
Server Instance page
asadmin-delete-instance(1AS), asadmin-start-instance(1AS), asadmin-create-instance(1AS), asadmin-restart-instance(1AS), asadmin-start-
appserv(1AS), asadmin-stop-appserv(1AS), asadmin-start-domain(1AS), asadmin-stop-domain(1AS)
J2EE 1.4 SDK March 2004 asadmin-stop-instance(1AS)