5.2 Verify DIRECTORY Privileges Before AI Profile Rebuild
- If they were dropped in an already-deployed environment, the DBA should recreate the fixed `DIRECTORY` objects (`TSAM_USERDOC_DIR`, `TSAM_CONSOLEDOC_DIR`, and `TSAM_FOLLOWUPDOC_DIR`) with the same database-host paths and grant `READ, WRITE` to the existing TSAM Plus DB AI user before continuing to next step.
- Rerun `
TSAMDBUserProvision.sh -enableAI -aiSourceMode LOCAL` only when you intentionally recreate the TSAM Plus database users. - Keep `
AI_VECTORINDEX_SOURCE_MODE="LOCAL"` in `TSAMSetup.cfg` before continuing to next step.
- CREATE OR REPLACE DIRECTORY TSAM_USERDOC_DIR AS '/u02/tsam_ai/userdoc';
- CREATE OR REPLACE DIRECTORY TSAM_CONSOLEDOC_DIR AS '/u02/tsam_ai/consoledoc';
- CREATE OR REPLACE DIRECTORY TSAM_FOLLOWUPDOC_DIR AS '/u02/tsam_ai/followupdoc';
- GRANT READ, WRITE ON DIRECTORY TSAM_USERDOC_DIR TO <TSAM_DB_AI_USER>;
- GRANT READ, WRITE ON DIRECTORY TSAM_CONSOLEDOC_DIR TO <TSAM_DB_AI_USER>;
- GRANT READ, WRITE ON DIRECTORY TSAM_FOLLOWUPDOC_DIR TO <TSAM_DB_AI_USER>;
Parent topic: Upgrade Knowledge Base