public String getResourcePools(final String dcName) throws VMWareException {
        ServiceInstance si = null;

        StringBuilder buffer = new StringBuilder();

        try {

            si = this.getServerInstance();
            Folder rootFolder = si.getRootFolder();

            Datacenter dc = (Datacenter) new InventoryNavigator(rootFolder).searchManagedEntity("Datacenter", dcName);

            ManagedEntity[] entity = new InventoryNavigator(dc).searchManagedEntities("ResourcePool");

            for (ManagedEntity me : entity) {
                if (me instanceof ResourcePool) {
                    ResourcePool pool = (ResourcePool) me;
                    buffer.append(pool.getName()).append(", ");
                }
            }

            return buffer.toString();
        } catch (PlatformConfigFault f) {
            throw new VMWareException(f);
        } catch (RemoteException exc) {
            throw new VMWareException(exc);
        } catch (Exception exc) {
            throw new VMWareException(exc);
        }
    }