A hosted pool is a logical unit that groups multiple hosted iServer servers for management. Administrators can add one or more iServer servers to the same hosted pool and assign the pool to specific users, departments, or groups based on permissions.

When users upload data and publish services in iPortal, the system automatically selects an available iServer server from the authorized hosted pools to complete the publication.

Hosted pools are suitable for the following scenarios:

  • Different departments or project teams use independent iServer resources to achieve resource isolation
  • Fine-grained control over which users can use which iServer servers
  • Assign high-load business to dedicated server pools to ensure service stability

Enable Hosted Pool Assignment

Edit [iPortal installation package]\webapps\iportal\WEB-INF\iportal.xml, and add the following configuration under the <IportalConfig> node:

<serversConfig>
<enableHostedIserverAssignment>true</enableHostedIserverAssignment>
</serversConfig>

After modifying the configuration, restart iPortal for the changes to take effect.

Note: After enabling the hosted pool assignment feature, you must complete the hosted pool assignment before users can normally use hosted servers to publish services.

Add Hosted Servers

Hosted pools consist of hosted servers. If you have not added any hosted servers to your iPortal, complete this step first.

Go to iPortal Management Interface > Left Sidebar > Servers > Server List, then click the "Add Server" button, fill in the iServer server information and save. After adding, you can see the added servers in the server list.

Create a Hosted Pool and Assign Servers

Go to iPortal Management Interface > Left Sidebar > Servers > Hosted Servers, and switch to the "Manage Hosted Pools" tab on the right panel.

Click the "Add Hosted Pool" button, add a hosted pool, set the hosted pool name and authorization scope, and add hosted servers to the current hosted pool. By setting the authorization scope, you can specify that a department (including sub-departments), group (group members), or user can use the current pool when publishing services. After adding, you can see the newly added hosted pool in the list below.

Edit a Hosted Pool

In the hosted pool list, you can edit existing hosted pools. Performing the following operations requires management permissions for hosted pools.

  • Modify the authorization scope: add or remove users, departments, or groups that can use the hosted pool
  • Adjust hosted servers: add or remove iServer servers from the pool
  • Delete a hosted pool: after deletion, servers in the pool will no longer be available to users of that pool

Hosted Pool Usage Rules

  • The system provides a built-in hosted pool named "Default Pool". The default pool is open to all users without additional authorization. If a user is not authorized for any hosted pool, the system will use the default pool to publish services.
  • Newly added iServer servers are not automatically added to any hosted pool; the administrator must manually assign them to the specified hosted pool.
  • If no iServer server is assigned to a hosted pool, that pool cannot be used to update data or republish services. If multiple iServer servers are assigned to a hosted pool, the system will randomly select one from the pool to publish services.
  • When a user publishes a service, the system takes the union of iServer servers from all hosted pools authorized for the user, and randomly selects an available server from that union to publish the service.

Configuration Examples

1. Assign Independent Hosted Servers to Two Departments

(1) Add two iServer servers: iServer-A and iServer-B;

(2) Create Hosted Pool A, add server iServer-A, and set the authorization scope to Department A; then create Hosted Pool B, add server iServer-B, and set the authorization scope to Department B.

2. Assign Different Hosted Servers to Different Users

(1) Add multiple iServer servers: iServer-01, iServer-02, iServer-03 ...

(2) Create Hosted Pool UserA-Dedicated, add server iServer-01, and set the authorization scope to User A; create Hosted Pool UserB-Dedicated, add server iServer-02, and set the authorization scope to User B; and so on ...