IBM Spectrum Computing

IBM Spectrum Computing

Connect with Spectrum Computing subject matter experts and discuss how hybrid cloud Solutions from IBM meet today's business needs.

 View Only

Bursting IBM Spectrum Symphony into Microsoft Azure with the new Azure Compute Fleet cloud provider

By Jeff Karmiol posted 09/30/26 01:00 PM

  

Bursting IBM Spectrum Symphony into Microsoft Azure with the new Azure Compute Fleet cloud provider

IBM and Microsoft are excited to launch IBM® Spectrum Symphony Provider Plugin for Microsoft Azure Compute Fleet, a new cloud resource connector that enables organizations to dynamically extend Symphony clusters into Microsoft Azure using an intelligent, capacity-driven model. By combining Symphony with Azure Compute Fleet, organizations gain faster access to cloud resources, improved workload throughput, lower cloud costs, and simplified operations.

Customers using this new plugin and Azure Compute Fleet service will see many advantages over direct provisioning, including:

  • Higher probability of obtaining capacity
  • Better Spot utilization and lower eviction rates
  • Faster fulfillment of large capacity requests
  • Select optimal resources based on cost and availability

This post walks through what the feature does and how to set it up end-to-end, from IAM permissions to your first host template.

Learn more about Azure Compute Fleet and IBM Spectrum Symphony.

1. What's new

  • A new provider plug-in, azurefleet, is added to the IBM Spectrum Symphony host factory feature.
  • The plug-in allocates VM capacity from Azure using the Azure Compute Fleet resource type, which can request On-Demand and Spot instances together, across several VM SKUs, in a single deployment.
  • Configuration can be done either through the IBM Spectrum Symphony cluster management console or directly using JSON configuration files on the management hosts.
  • Authentication supports both Service Principal and Managed Identity.

For additional information on IBM Spectrum Symphony host factory and the Azure Compute Fleet overview, refer to the following:

2. Before you start: requirements

Requirement Detail
Operating system Linux 64-bit
Product version IBM Spectrum Symphony 7.3.2 with Fix 602717

You'll also require an Azure subscription with permission to create service principals (or configure managed identity), a resource group, a virtual network or subnet, and ideally a custom VM image with IBM Spectrum Symphony pre-installed.

3. Step 1 — Prepare the cluster for installation

Log in as the cluster administrator and shut down the HostFactory service cleanly prior to applying the update:

> egosh user logon -u Admin > egosh service stop HostFactory

4. Step 2 — Install the fix on every management host

On each management host, create a working directory and download the fix package into it:

> mkdir -p /symfixes > copy hfcore-1.2.0.0_x86_64_build603022.tar.gz into /symfixes

Install it using the egoinstallfixes command:

> egoinstallfixes /symfixes/hfcore-1.2.0.0_x86_64_build603022.tar.gz --silent
Important: egoinstallfixes automatically backs up your current binaries to a fix backup directory. Don't delete that directory — you'll need it if you ever have to roll back.

Verify the installation using the pversions command:

> pversions -b 603022

5. Step 3 — Back up your host factory configuration

On one management host, back up the three JSON files that host factory uses:

> cd $EGO_CONFDIR/../../hostfactory/conf/providerplugins > cp hostProviderPlugins.json hostProviderPlugins.json.603022

> cd $EGO_CONFDIR/../../hostfactory/conf/providers > cp hostProviders.json hostProviders.json.603022

> cd $EGO_CONFDIR/../../hostfactory/conf/requestors > cp hostRequestors.json hostRequestors.json.603022

From the primary host, restart the HostFactory service so the fix's binaries are picked up:

> egosh service start HostFactory

6. Step 4 — Enable the Azure Compute Fleet provider

You have two options here: using the cluster management console GUI or editing JSON by hand. Pick one.

Option A: Cluster management console

  1. Go to Resources > Cloud > Host > Providers.
  2. Click New to add a new provider, then click Apply.
  3. Switch to the Instances tab, click New to add a new provider instance, and then click Apply.

The provider instance template at $EGO_CONFDIR/../../hostfactory/conf/providers/azurefleetinst/azurefleetinstprov_config.json can only be edited from the command line — the console won't let you touch it directly.

After you create the Azure Compute Fleet provider instance, use the command line to update your requestor instances so they reference the new provider instance (see step 4 in the command line steps).

Option B: Command line

  1. Stop the HostFactory service:

    > egosh service stop HostFactory
  2. Add the provider plug-in:

    a. Edit hostProviderPlugins.json:

    > vi $EGO_CONFDIR/../../hostfactory/conf/providerplugins/hostProviderPlugins.json

    b. Add to the JSON file:

    { "name": "azurefleet", "enabled": 1, "scriptPath":"${HF_TOP}/${HF_VERSION}/providerplugins/azurefleet/scripts/" }
  3. Add the provider instance:

    a. Edit hostProviders.json:

    > vi $EGO_CONFDIR/../../hostfactory/conf/providers/hostProviders.json

    b. Add to the JSON file:

    { "name": "azurefleetinst", "enabled": 1, "plugin": "azurefleet", "confPath": "${HF_CONFDIR}/providers/azurefleetinst/", "workPath": "${HF_WORKDIR}/providers/azurefleetinst/", "logPath": "${HF_LOGDIR}/" }
  4. Point your requestors at the new provider instance:

    a. Edit hostRequestors.json:

    > vi $EGO_CONFDIR/../../hostfactory/conf/requestors/hostRequestors.json

    b. Add azurefleetinst to the providers array of every requestor instance that should be able to burst into Azure:

    "providers":["azurefleetinst"],

    c. Restart the HostFactory service:

    > egosh service start HostFactory

7. Step 5 — Tune the host factory timeouts and batch limits

Large Fleet deletions and bulk provisioning benefit from a longer provider action timeout and a smaller demand batch size. Edit $EGO_CONFDIR/../../hostfactory/conf/hostfactoryconf.json:

"HF_PROVIDER_ACTION_TIMEOUT": 600, "HF_DEMAND_BATCH_LIMIT": 100, "HF_RETURN_BATCH_LIMIT": 1000

Keeping the HF_DEMAND_BATCH_LIMIT value to around 100 template units reduces the chance of a request failing due to Azure quota limits. The provider will simply create more (smaller) Fleet requests instead.

8. Step 6 — Pre-configuration steps for the provider on every management host

A few OS or network-level settings matter at scale:

  • MTU: Set it to the network architecture's maximum, since Azure doesn't support UDP fragmentation.
  • ARP cache: Raise the hard limit to 8192 — the maximum number of VMs you expect to provision — on every management host.
  • Open file limit: Increase to 1,048,576 on every management host. Check the current value with ulimit -n.

Enable debug logging (optional, for testing). Edit $EGO_CONFDIR/../../hostfactory/conf/providers/azurefleetinst/log4j2.xml:

<Logger name="com.ibm.spectrum" level="debug" additivity="false">

9. Step 7 — Set up Azure permissions

The provider authenticates as a service principal — a non-human Azure AD (Microsoft Entra ID) identity — either created with the az CLI or by using managed identity on the IBM Spectrum Symphony management hosts.

Simplest option: grant the Contributor role at the Resource Group scope. That covers everything the provider needs.

Least-privilege option: create a custom role scoped to the resource groups where VMs will be provisioned, with these permissions:

Microsoft.Compute/virtualMachines/read Microsoft.Compute/virtualMachines/write Microsoft.Compute/virtualMachines/delete Microsoft.Compute/virtualMachineScaleSets/read Microsoft.Compute/virtualMachineScaleSets/write Microsoft.Compute/virtualMachineScaleSets/delete Microsoft.Compute/galleries/read Microsoft.Compute/galleries/images/read Microsoft.Compute/galleries/images/versions/read Microsoft.Compute/images/read Microsoft.Compute/locations/vmSizes/read Microsoft.Compute/capacityReservationGroups/read Microsoft.AzureFleet/fleets/read Microsoft.AzureFleet/fleets/write Microsoft.AzureFleet/fleets/delete Microsoft.Network/virtualNetworks/read Microsoft.Network/virtualNetworks/subnets/read Microsoft.Network/virtualNetworks/subnets/join/action Microsoft.Network/networkSecurityGroups/read Microsoft.Network/networkSecurityGroups/join/action Microsoft.Network/networkInterfaces/read Microsoft.Network/networkInterfaces/write Microsoft.Network/networkInterfaces/delete Microsoft.Network/publicIPAddresses/read Microsoft.Network/publicIPAddresses/write Microsoft.Network/publicIPAddresses/delete Microsoft.Resources/deployments/read Microsoft.Resources/deployments/write Microsoft.Resources/deployments/delete Microsoft.Resources/subscriptions/resourceGroups/read

Also grant read access to any Shared Image Gallery or custom image resource group, if it's different from the one used for VMs.

Creating a Service Principal credentials file

# 1. Install Azure CLI 2.0+ on your local machine

# 2. Log in > az login # If you're not in the Azure public cloud, set the correct cloud first: > az cloud list > az cloud set --name <cloud_name> > az login # 3. Select the subscription your service principal should access > az account list --out jsonc > az account set --subscription "<subscription_name>" # 4. Create the credentials file > az ad sp create-for-rbac --sdk-auth > credentials.json

credentials.json contains the service principal (with the Contributor role or your custom role), the default subscription, and Azure service endpoint URIs.

Using Managed Identity instead

If the management hosts already have an Azure-assigned managed identity, you can skip storing secrets entirely: set AZUREFLEET_USE_MANAGED_IDENTITY to true and remove clientId or clientSecret from the credentials file. You'll still need subscriptionId and tenantId.

10. Step 8 — Configure the provider (azurefleetinstprov_config.json)

{ "AZUREFLEET_CREDENTIAL_FILE": "credentials.json", "AZUREFLEET_REGION": "centralus", "ACCEPT_PROPAGATED_LOG_SETTING": true, "AZUREFLEET_USE_MANAGED_IDENTITY": false, "AZUREFLEET_LOG_ARM_TEMPLATE": false, "AZUREFLEET_INSTANCE_PENDING_TIMEOUT_SEC": 300, "AZUREFLEET_STATUS_RETRY_COUNT": 20, "AZUREFLEET_STATUS_RETRY_INTERVAL_MS": 500 }
Parameter Required? Notes
AZUREFLEET_CREDENTIAL_FILE Required Full path to the credentials file on the primary host.
AZUREFLEET_REGION Required Azure region code.
AZUREFLEET_USE_MANAGED_IDENTITY Optional Either true or false. The default is false.
AZUREFLEET_LOG_ARM_TEMPLATE Optional Either true or false. The default is false. Enables INFO-level logging of the generated Arm template.
AZUREFLEET_INSTANCE_PENDING_TIMEOUT_SEC Optional Time before a pending instance is terminated. Valid range is 180–10000 seconds. The default is 180 seconds.
AZUREFLEET_STATUS_RETRY_COUNT Optional Retries while polling Fleet status. The default is 20.
AZUREFLEET_STATUS_RETRY_INTERVAL_MS Optional Delays between status polls. The default is 500 ms.

11. Step 9 — Define a host template (azurefleetinstprov_templates.json)

This is where you describe what to provision — instance types, image, networking, and allocation strategy.

{ "templateId": "Template-VM", "maxNumber": 200, "attributes": { "type": ["String", "X86_64"], "ncpus": ["Numeric", "2"], "nram": ["Numeric", "32768"] }, "imageId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/Symphony/providers/Microsoft.Compute/galleries/Symphony/images/SymphonyCompute/versions/1.0.0", "capacityReservationGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Symphony/providers/Microsoft.Compute/capacityReservationGroups/sym-reservation-group", "vmTypes": { "Standard_E4ads_v5": 2, "Standard_E8ads_v5": 1, "Standard_E16ads_v5": 0 }, "percentOnDemand": 0, "fleetRequestExpiryMinutes": 10, "regularAllocationStrategy": "Prioritized", "spotAllocationStrategy": "CapacityOptimized", "osType": "Linux", "rootDeviceVolumeSizeGB": 200, "resourceGroup": "Symphony", "virtualNetwork": "vnet-symphony", "subnet": "sym_dev_subnet1", "securityGroup": "symphony-nsg", "sshPubKeyFile": "/root/.ssh/azurekey.pub", "withPublicIP": false, "rootUserName": "azureuser", "userDataScript": "post_install.sh", "hostPrefix": "a1-", "vcpusPerCore": 2, "maxSpotPrice": 1, "useVMExtension": false, "instanceTags": "group=symphony;company=acme" }

Key parameters

Sizing

maxNumber — Required. The cap on VMs provisioned from this template (1–10000, or -1 for unlimited up to 10,000, or 0 to disable).

attributes.ncpus or attributes.nram — Required. CPU and RAM (MB) advertised to IBM Spectrum Symphony for scheduling.

vmTypes — Required. A rank-ordered map of Azure VM SKUs to provision from. Pick SKUs with core counts that are multiples of ncpus. If vcpusPerCore uses the default value of 2, that means multiples of ncpus x 2 vCPUs.

Image and capacity

imageId — Required. The Azure Compute Gallery image (with IBM Spectrum Symphony pre-installed) to boot from. Drop the /versions/x.y.z suffix to always use the latest version.

capacityReservationGroupId — Optional. Ties the request to a pre-purchased capacity reservation.

Pricing and allocation mix

percentOnDemand — Optional. Percentage of the requested capacity that should be On-Demand rather than Spot (0–100, default 0). Formula: requested_instances x percentOnDemand / 100, rounded to the nearest integer.

regularAllocationStrategy — Optional. LowestPrice (default) or Prioritized (respects vmTypes rank).

spotAllocationStrategy — Optional. CapacityOptimized, PriceCapacityOptimized (default), or LowestPrice.

maxSpotPrice — Optional. Ceiling price in dollars for Spot instances; 0 means no limit.

fleetRequestExpiryMinutes — Optional. How long an unfulfilled Fleet request stays open before being cancelled. The default is 30 minutes.

Networking

resourceGroup, virtualNetwork, subnet, and securityGroup — Required. All four values must pre-exist in Azure.

withPublicIP — Optional. Keeps compute hosts on private subnets. The default is false.

Provisioning behavior

osType — Optional. Linux (only supported value today).

rootDeviceVolumeSizeGB — Optional. Must exceed the image's own volume size.

useVMExtension — Optional. A value of true runs userDataScript using a VM extension instead of cloud-init.

userDataScript — Required. Post-provisioning script, path or filename under the conf directory.

armTemplateFile — Optional. Custom Arm template; otherwise, IBM Spectrum Symphony's built-in template is used.

hostPrefix — Optional. Up to 10 characters, used to build hostnames, such as mycluster-h012.

rootUserName — Optional. Administrator username on Linux VMs. The default is azureuser. Do not use root.

sshPubKeyFile — Optional. Path to the SSH public key installed on provisioned VMs.

instanceTags — Optional. Semicolon-separated key=value pairs applied to VMs for cost tracking. For example, "company=abc;project=cloudburst;team=xyz".

Generating the SSH key referenced by sshPubKeyFile

To generate the SSH key, run the ssh-keygen command:

> ssh-keygen -t rsa -b 2048 # copy the .pub file to your primary host, then reference it: "sshPubKeyFile": "/opt/sym/hostfactory/conf/providers/azure/conf/server-key.pub"

12. Verifying and testing

  1. Confirm the fix is installed: > pversions -b 603022.
  2. Confirm the provider shows up under Resources > Cloud > Host > Providers in the cluster management console.
  3. Submit a workload that requires more hosts than are currently available and watch the host factory logs ($HF_LOGDIR) as it requests capacity through the azurefleetinst instance.
  4. If you enabled AZUREFLEET_LOG_ARM_TEMPLATE, check the generated Arm template in the logs to confirm networking, image, and instance mix look right before you scale up.

13. Uninstalling (if needed)

  1. Log in as the cluster administrator and shut down the HostFactory service:

    > egosh user logon -u Admin > egosh service stop HostFactory
  2. On each management and compute host, roll back the fix using the standard egoinstallfixes rollback procedure, and restore your backed-up hostProviderPlugins.json, hostProviders.json, and hostRequestors.json files from Step 3 if you want the provider fully removed.

Conclusion

The azurefleet provider gives IBM Spectrum Symphony a native way to burst into Azure requesting a cost-optimized mix of On-Demand and Spot capacity, without requiring any change in how workloads are submitted. Once configured, its operation is transparent to end users, and they can focus on the analysis of workload output rather than the complexities of where the workloads run.

0 comments
11 views

Permalink