230 likes | 325 Views
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
E N D
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 • In short, most Linux Distributions will work
service installation • Automatic • Can also be installed manually after install
starting/stopping advantage • Starting ADS with the service • Stopping ADS with the service
--continued--starting/stopping advantage • Manual Start • Manual Shutdown
network setup • Server should have a default gateway • Server should “know” its name
--continued --network setup • /etc/hosts file should be formatted correctly • Incorrect • Correct
--continued--network setup • Firewall Present? • Disable • Configure Firewall to work with ADS • Configure Advantage to use specific port • Allow traffic to this UDP port
connection paths • Valid Connection paths: • //IP_Address:port/directory • //Servername:port/directory * • //servername/directory * • X:/directory * • *only use these if using Samba
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
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
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
User Group Other File Owner Group Owner File Name filesystem permissions • Permissions overview
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>
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)
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
samba share setup • Sample share • Disable “oplocks” and “ole locking” to prevent corruption
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
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