Ok.
So in order to have ATM functional for ASE's which are not installed by SAP installation routines you have:
1. Add sapsa login
sp_addlogin sapsa, *******, saptools
go
2. Follow the 1593987 - SYB: Monitoring non-SAP ASE databases with the DBA Cockpit note (and the note that resets the default locking scheme no row level specified in that document).
3. Fix the missing db option on tempdb:
sp_dboption tempdb, "ddl", true
go
4. Add sapsa missing privileges in the note above
--a must
grant role js_admin_role to sapsa
go
exec sp_modifylogin sapsa, 'add default role', js_admin_role
go
-- default installation has it, ATM seems to work without
grant role sybase_ts_role to sapsa
go
exec sp_modifylogin sapsa, 'add default role', sybase_ts_role
go
5. Add the external login to job scheduler configuration
sp_addexternlogin SYB_JSTASK, sapsa, sapsa, {SAPSAPWD}
go
6. Configure ASE to work with xml
exec sp_configure "enable xml", 1
go
7. Navigate to Confniguration->Automatic Table Maintenance in DBA Cockpit and setup ATM.
8. Add manually the maintenance tasks in case you have more than one database in you system which ATM should take care of (I've seen a note that this will be covered in future automatically - 2043922 - SYB Support of cross database ATM profiles.
9. Start the regular 24x7 maintenance window manually and navigate to Diagnositcs->ATM->ATM Logs to see if the jobs really fired (If the status of the Maintenance Window turns to Running it is already a good sign.
That seems to cover the installation requirements for ATM.
Could anyone setup the documentation to cover all this please?
Thank you,
Andrew