Using other options  Chapter 7: Log and Trace Files

Chapter 6: Using Service Name Redirection

Implementing a service name redirection file

After you use snrfck to create or update a service name direction file, you can implement the modified file on the DirectConnect server, as described in the following sections.


Substitute a modified file

StepsTo implement a new service name redirection file or copy a modified file

  1. Use snrfck to create a new file, or to modify the existing file and validate it.

  2. Stop the DirectConnect server.

  3. Copy or rename the file, as applicable.

  4. Restart the server.


Update a running server

You can use snrfck to create or update a service name redirection file, validate the file, and send it to a running DirectConnect server.

Using this method allows you to replace the contents of the snrf.tbl file that is read when the server starts, write the contents to disk, and update the memory table so the changes take effect immediately.

StepsTo update to a running server using snrfck

  1. Use snrfck to create a new file or to modify the existing file and validate it.

  2. Send the file to the server using the following syntax:

    snrfck [-v][-?]|-h] [-t[-oresult]]
     [-Ssvc -Uuser -Aappl] -ifile
    
    or
    
    snrfck -c -Ssrv -Uuser -Ppwd ifile
    

where:





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 7: Log and Trace Files

View this book as PDF