The ConfigEngine.sh script is used to add, remove and validate entries in the Portal configuration engine. Refer to IBM Portal - Configuring wkplc.properties for the steps on how to configure the workplace properties file (wkplc.properties) so that ConfigEngine.sh can make a connection to Portal.
The list-all-virtual-portals option is used to list each virtual Portal. You would invoke ConfigEngine.sh like this.
- PortalAdminPwd can be defined in the wkplc.properties file so that you don't need to use the -DPortalAdminPwd command line option
- WasPassword can be defined in the wkplc.properties file so that you don't need to use the -DWasPassword command line option
/opt/WebSphere/AppServer/profiles/your_profile/ConfigEngine/ConfigEngine.sh list-all-virtual-portals -DPortalAdminPwd=itsasecret -DWasPassword=itsasecret
Something like this should be returned.
list-all-virtual-portals: [wsadmin] _____________________________________________________ [wsadmin] VirtualPortal: [wsadmin] Title: WebSphere Portal [wsadmin] Description: The initial Virtual Portal instance. [wsadmin] Realm: [wsadmin] Object ID: Z18_000000000000GCF74A9BG00000 [wsadmin] Hostname: <cannot be retrieved> [wsadmin] Context: [wsadmin] Short ID: 0 [wsadmin] _____________________________________________________