- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Configure catalog item instance config to provisio...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 04:31 AM
01-16-2023 04:31 AM
Configure catalog item instance config to provision to a default folder
Each tenant has a folder in vCenter, we need the catalog item to default to that folder when the catalog item is ordered.
This variable in the catalog config section needs to be set to the default tenant folder in the cloud
“type”: “MSWin”,
“config”: {
“createUser”: false,
“isEC2”: false,
“isVpcSelectable”: true,
“noAgent”: false,
“smbiosAssetTag”: null,
“nestedVirtualization”: null,
“vmwareFolderId”: “/”,
“resourcePoolId”: “<%= customOptions.selectedrespool %>”,
“poolProviderType”: null
},

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 08:29 AM
01-18-2023 08:29 AM
Re: Configure catalog item instance config to provision to a default folder
No this does not apply to resource pool. You have to specify the resource pool in the catalog item’s JSON config. However you can set a default resource pool per cloud in Morpheus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 07:24 AM
01-18-2023 07:24 AM
Re: Configure catalog item instance config to provision to a default folder
This is really useful , would the same apply to the resource pool?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 06:38 AM
01-16-2023 06:38 AM
Re: Configure catalog item instance config to provision to a default folder
yep, should be a value like group-vxxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 06:18 AM
01-16-2023 06:18 AM
Re: Configure catalog item instance config to provision to a default folder
Is it this bit that is required to be substituded with the default folder that is currently assigned to the tenant that is provisioning the catalog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 08:03 AM
08-15-2023 08:03 AM
Re: Configure catalog item instance config to provision to a default folder
Hey Wabbas,
Just got around to revisiting this, although I have a work around which is having a resource pool field in the catalog item that displays the only resource pool that the tenant has access too via permissions on the cloud, it doesnt seem possible to create a default resource pool for a tenant , it seems you can create one per cloud but not per tenant.
Have any changes been made to allow auto select of the resource pool in the JSON or as part of the provisioning in the later versions?
This is what i have in my JSON, folder defaults by using the “/” would be useful if resource pool could do the same.
“config”: {
“poolProviderType”: null,
“isVpcSelectable”: true,
“smbiosAssetTag”: null,
“isEC2”: false,
“resourcePoolId”: “<%=customOptions.selectedResourcePool%>”,
“createUser”: true,
“nestedVirtualization”: null,
“vmwareFolderId”: “/”,
“noAgent”: false
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 02:27 AM
01-19-2023 02:27 AM
Re: Configure catalog item instance config to provision to a default folder
Removing the resource pool from JSON config will not work as Morpheus doesn’t automatically assign the default pool when ordering the catalog item.
But you can use custom options list with the following endpoint and translation script to get the default pool set on the cloud.
Endpoint:
api/zones/cloud_id_here/resource-pools
Translation Script:
for(var x=0;x < data.resourcePools.length; x++) {
poolName = data.resourcePools[x].name;
poolId = data.resourcePools[x].id;
isDefaultPool = data.resourcePools[x].defaultPool;
if (isDefaultPool){//Get default pool
results.push({name:poolName,value:poolId});
}
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 07:09 AM
01-18-2023 07:09 AM
Re: Configure catalog item instance config to provision to a default folder
The following configuration works if we are setting the default folder in Morpheus.
-
Navigate to Infrastructure >> Cloud >> select VMware cloud >> Resource.
-
Under ‘Folders’, Click ‘Actions >> Edit’ on the folder that you want to assign to a specific tenant.
- Search for the tenant you want to assign this folder to, and check the default checkbox next to it and save changes.
- On the JSON config for the catalog item, remove the ‘vmwareFolderId’ attribute completely and save the catalog.
When provisioning with this setup Morpheus will automatically create the VMs in the default folder assigned to the tenant on step 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 08:49 AM
01-18-2023 08:49 AM
Re: Configure catalog item instance config to provision to a default folder
I was thinking perhaps remove from the json and set as default then it should work?