BizTalk Summit 2013

This year another BizTalk Summit will take place. A recollection of last year’s event is described in a blog post by Michael Stephenson.

The 2-day conference last year the was held in December on the Microsoft Campus. It was followed up by BizTalk conference in January in Amsterdam, London and Stockholm. Both the US and European BizTalk events were successful. Each with over a 100 or 200

TechNet Wiki Blog

I regularly write blog posts for the TechNet Wiki Blog or WikiNinjas – Official Blog of TechNet Wiki. This blog acts a catalyst for the TechNet Wiki. Every day of the week a blog post is created on different topics (categories):

Monday – Interview with a Wiki Ninja
Tuesday – TNWiki Article Spotlight
Wednesday – Wiki Life
Thursday – Council Spotlight
Friday – International Update
Saturday – Top

Querying BAM Data using BAM’s Web Services

Our BizTalk Practice has recently embarked on the endeavor of creating a tracking portal for one of our new BizTalk solution accelerators. One of the initial steps for me was to devise a proof of concept for querying the BAM Database using the two included web services with BAM, BAMManagementService and BAMQueryService. Microsoft does not […]
Blog Post by: Kevin Morillo

Enterprise Single Sign-On Event ID 10589: The master secret has not been backed up

Enterprise Single Sign-On Event ID 10589: The master secret has not been backed up

In my case this error occurred when I was recovering an old BizTalk Server 2004 development environment: “The master secret has not been backed up. If you lose the master secret all the information stored in the SSO system will be lost permanently and your systems may fail to work correctly. Please use the SSO […]
Blog Post by: Sandro Pereira

BizTalk Server 2013: Eliminating the Dependency on SQL Server 2005 Notification Services

BizTalk Server 2013: Eliminating the Dependency on SQL Server 2005 Notification Services

This post is the twenty-first in a weekly series intended to briefly spotlight those things that you need to know about new features in BizTalk Server 2013. Over the last few years, I’ve had my fair share of times describing to people the installation/configuration process for BizTalk Server and more specifically the Business Activity Monitoring […]
Blog Post by: Nick Hauenstein

Windows Azure, PowerShell: How to start virtual machines in parallel

In Windows Azure, I sometimes have several virtual machines that are part of the same vNet but are spread across different cloud services. Several VMs in the same cloud service are not started in parallel,. However, I have several cloud services so I may want to deploy in parallel my VMs from one script.

In my example, I want to start the following VMs in the same vNet:

They will be part of the following cloud services:

So I thought of foreach-parallel and found this thread in stackoverflow:

http://stackoverflow.com/questions/4016451/can-powershell-run-commands-in-parallel

This lead me to the following script:

‘deswebsvm’, ‘deswebsIIS’, ‘deswebstomcat’ | %{
    echo $_

    $scriptBlock = {
        param($serviceName)

        Import-Module azure

        $subscription = ‘xxx’
        Set-AzureSubscription -SubscriptionName $subscription -CurrentStorageAccount ‘xxx’
        Set-AzureSubscription -DefaultSubscription $subscription

        $allvms = Get-AzureVM -ServiceName $serviceName
        $allvms | select name
        $allvms | Start-AzureVM
    }

    Start-Job $scriptBlock -ArgumentList $_
}

# Wait for it all to complete
While (Get-Job -State "Running")
{
    Start-Sleep 10
    echo ‘—————————‘
    Get-Job
}

# Getting the information back from the jobs
Get-Job | Receive-Job

Remove-Job *

With this, I have virtual machines starting in cloud services deswebsvm, deswebsiis and deswebstomcat in parallel.

In order to stop the same VMs, I have the following script:

‘deswebsvm’, ‘deswebsIIS’, ‘deswebstomcat’ | %{
    echo $_

    $scriptBlock = {
        param($serviceName)

        Import-Module azure

        $subscription = ‘xxx’
        Set-AzureSubscription -SubscriptionName $subscription -CurrentStorageAccount ‘xxx’
        Set-AzureSubscription -DefaultSubscription $subscription

        $allvms = Get-AzureVM -ServiceName $serviceName
        $allvms | select name
        $allvms | Stop-AzureVM -Force
    }

    Start-Job $scriptBlock -ArgumentList $_
}

# Wait for it all to complete
While (Get-Job -State "Running")
{
     Start-Sleep 10
    Get-Job
}

# Getting the information back from the jobs
Get-Job | Receive-Job

Remove-Job *

Benjamin Guineberti%u00e8re (@benjguin)

Blog Post by: Benjamin GUINEBERTIERE