32.1 指定許可權索引的位置

當您安裝 Identity Applications 時,安裝程序將為應用程式伺服器建立一個許可權索引。如果您未指定該索引的位置,安裝程式會在暫存目錄中建立一個資料夾。例如:

  • JBoss:/tmp/permindex

  • Tomcat:/opt/netiq/idm/apps/tomcat/temp/permindex

  • WebSphere:/tmp/permindex

在測試環境中,該位置一般來說是無關緊要的。但是,在線上或預備環境中,您可能不想將許可權索引放在暫存目錄中。

若要指定索引的位置:

  1. 停止應用程式伺服器。

  2. 在文字編輯器中,開啟 ism-configuration.properties 檔案。

  3. 在該檔案的末尾新增以下文字:

    com.netiq.idm.cis.indexdir = path/permindex
    

    例如︰

    com.netiq.idm.cis.indexdir = /opt/netiq/idm/apps/permindex
    
  4. 儲存然後關閉該檔案。

  5. 刪除暫存目錄中現有的 permindex 資料夾。

  6. 啟動應用程式伺服器。