We have Server A and Server B. We are using Oracle 8i on a Win2000 server. Archive logs are getting generated on...
Server A. I want to ship archive logs of Server A to Server B automatically. How can I do it?
There are a couple of ways to do this. Probably the easiest is to make a network connection from Server A to Server B's disk drive. If both servers are Windows, this is pretty easy. Then, on your database on Server A, you'll want to tell the archiver process, ARCH, to archive to both destinations, local and remote. This can be done with the LOG_ARCHIVE_DEST_n parameter. Set them as follows:
LOG_ARCHIVE_DEST_1 = \localdir\ LOG_ARCHIVE_DEST_2 = \remotedir\Don't forget to bounce the database for this to take effect. Now, ARCH will archive to both destinations! I strongly suggest that you look up the rest of the options in the Oracle Reference guide for this parameter. You can make the archive destinations mandatory or optional. This may be important to you.
For More Information
- Dozens more answers to tough Oracle questions from Brian Peasland are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.
Dig Deeper on Oracle database design and architecture
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.