在安裝範例或管理設定檔時,原生 WebSphere Application Server 環境中使用的指令,有時會與包含 IBM WebSphere Application Server Hypervisor Edition 的環境中使用的指令不同。
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./adminctl start
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./adminctl stop
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./apachectl start
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./apachectl stop
使用 manageprofiles 指令時有一些差異。 依預設,WebSphere Application Server 內含的範例應用程式會安裝在 IBM WebSphere Application Server Hypervisor Edition 8.5 版虛擬映像檔中。在使用原生的 WebSphere Application Server GUI 安裝程式時,依預設不會安裝範例應用程式。如果已啟用管理安全,且您使用 manageprofiles.sh Script 建立其他的設定檔, 請併入下列選項以避免驗證錯誤:
設定檔建立與擴增作業的日誌位置不同。針對虛擬映像檔,日誌位於 profile_root/logs/manageprofiles 目錄中。 這適用於所有設定檔。
在原生的 WebSphere Application Server 環境中,設定檔儲存在 opt/IBM/WebSphere/AppServer/Profiles 目錄下。 IBM WebSphere Application Server Hypervisor Edition 則使用不同的位置。在虛擬映像檔中,設定檔儲存在 opt/IBM/WebSphere/Profiles 目錄下。 同樣地,profileRegistry.xml 檔儲存在虛擬映像檔的 <profile_root>/properties 目錄下, 但原生環境則儲存在 <app_server_root>/properties 目錄中。