Siemens V4.0 User Manual

Page of 365
Tools for special tasks
Compression of the ACL Database
Product Manual
U7613-J-Z815-6-76
©
 S
iem
e
n
s
 N
ix
dor
In
fo
rm
at
io
n
s
s
y
s
te
m
e
 A
G
 1
9
9
5
 
P
fad
: D:
\O
7
613
e6
\u
761
3e
.k
07
  
The AS/X 
acladm
 utility with its different options removes entries identified as super-
fluous in the configuration when the command is called. You must therefore make 
sure that the system configuration is complete (i.e. all file systems are mounted) 
and that the AS/X configuration is up to date. For example, if you change the AS/X 
MixedCaseSupport registry parameter to a different value than that at Advanced 
Server runtime, it may happen, for example, that 
acladm -P
 will delete too many ACL 
entries.
The following description shows how an the ACL database can be reorganized using 
several tools from Advanced Server for UNIX. During the reorganization process the server 
has to be stopped, therefore you should use a maintenance date for compression. 
Depending on the size of the database the compression may take some time.
Ê
Check available disk space
In the file system where /var/opt/lanman is located the free space should be at least the 
size of the ACL database.
Ê
Stop the server
net stop server
  
All active connections with clients will be closed.
Ê
Save the actual ACL database
e.g. 
cp /var/opt/lanman/datafiles/acl* /save/datafiles
  
Take care that there is enough space in 
/save
.
Ê
Clean old ACL database
Cleaning of the database takes place in two steps: In the first step you have to check 
the data for correctness and you have to repair them in case of need. Then you can 
remove all entries which are no longer necessary, e.g. entries of files and directories 
which are no longer existing in UNIX.
Ê
Check the 
/var/opt/lanman/datafiles/acl
 database:
/var/opt/lanman/bin/acladm -C -n
The -n option, when used with the -P or -C options, will give a complete list of all entries 
that need to be deleted or fixed. No changes are made to the ACL store.
Ê
If necessary repair it:
!
i
i