1 / 23

Tips for Using Advantage with Linux

Tips for Using Advantage with Linux. Agenda. Installation highlights Starting/Stopping Advantage Network Considerations File System Considerations Path Issues Linux Permissions Samba. installation requirements. Kernel 2.2 or greater Glibc 2.1.2-11 or greater

Download Presentation

Tips for Using Advantage with Linux

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tips for Using Advantage with Linux

  2. Agenda • Installation highlights • Starting/Stopping Advantage • Network Considerations • File System Considerations • Path Issues • Linux Permissions • Samba

  3. installation requirements • Kernel • 2.2 or greater • Glibc • 2.1.2-11 or greater • In short, most Linux Distributions will work

  4. getting started

  5. service installation • Automatic • Can also be installed manually after install

  6. starting/stopping advantage • Starting ADS with the service • Stopping ADS with the service

  7. --continued--starting/stopping advantage • Manual Start • Manual Shutdown

  8. network setup • Server should have a default gateway • Server should “know” its name

  9. --continued --network setup • /etc/hosts file should be formatted correctly • Incorrect • Correct

  10. --continued--network setup • Firewall Present? • Disable • Configure Firewall to work with ADS • Configure Advantage to use specific port • Allow traffic to this UDP port

  11. connection paths • Valid Connection paths: • //IP_Address:port/directory • //Servername:port/directory * • //servername/directory * • X:/directory * • *only use these if using Samba

  12. path considerations • All paths are relative to the root of the filesystem (/) • For, example, the path “//IP:Port/data/” tells Advantage to look for the files in /data. • Specify full paths to data location • Put data in a root-level directory • “workaround”: Linux links

  13. case sensitivity • Advantage clients must specify files/paths with “correct” case. • Opening a file using an “incorrect” case on the filename/directory structure can cause a 7008, 7041 or other “file not found” error

  14. case sensitivity workaround • Implement a lowercase-only naming convention. • Then, use this configuration setting: • The Server will then do a lower() operation on all paths before attempting the open

  15. User Group Other File Owner Group Owner File Name filesystem permissions • Permissions overview

  16. changing permissions • “chown” changes file ownership • chown advantage[.advantage] <file> • “chgrp” changes group ownership • chgrp advantage <file> • “chmod” changes file permissions • chmod <u,g,o,a> <+,-> <r,w,x> <file>

  17. giving rights to Advantage • For directories: Give “advantage” ownership, and Read, Write, and Execute permissions • For files: Give “advantage” ownership, and Read/Write permissions • (This user is created by the Server installation)

  18. giving rights to users • Users local to the server • add them to the “advantage” group, and give the group rights. • Users on client machines • Disable Rights-Checking in client apps • Use Samba

  19. samba share setup • Sample share • Disable “oplocks” and “ole locking” to prevent corruption

  20. using samba with Advantage • Samba is not absolutely required • Use samba if you need to: • Give users visibility/rights to files • Allow users to map drives • Allow clients to connect using server name • Samba share names are treated as directories • standard path rules apply: • Samba share names should map to root-level directory paths

  21. announcement • Our next Webinar is on January 11, 2005 • “Simple but useful Advantage Triggers” • Simple triggers for handling database operations • Samples • Trigger for logging database changes • Triggers for event notification • Trigger for inventory updates

  22. questions?

More Related