Tools for special tasks

Compression of the ACL Database

!

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 -Pwill 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

i

All active connections with clients will be closed.

ÊSave the actual ACL database

e.g. cp /var/opt/lanman/datafiles/acl* /save/datafiles

iTake 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:

Product Manual

U7613-J-Z815-6-76

Page 160
Image 160
Siemens V4.0 manual Cp /var/opt/lanman/datafiles/acl* /save/datafiles