by community-syndication | May 24, 2013 | BizTalk Community Blogs via Syndication
I just encountered an error using the BAM views. None of the BAM views could be opened and I got following error: An unspecified error has occurred. Use the navigation bar on the left to access Business Activity Monitoring views. If the problem persists, contact your System Administrator. Unfortunately, this error doesn’t give much information […]
Blog Post by: Cnext
by community-syndication | May 24, 2013 | BizTalk Community Blogs via Syndication
| This sample script shows how to create virtual machines in Windows Azure to prepare an installation of SharePoint Server. |
Le script suivant montre comment automatiser la cr%u00e9ation de machines virtuelles dans Windows Azure destin%u00e9es %u00e0 accueillir une installation de SharePoint Server |
#region set default Windows Azure subscription
Import-Module azure
#select default subscription and storage account
$subscription = 'My Azure subscription'
Set-AzureSubscription -SubscriptionName $subscription -CurrentStorageAccount 'mystockageazure'
Set-AzureSubscription -DefaultSubscription $subscription
#endregion
#$adminPassword="******obfuscated*****"
#region secret
$adminPassword="MWfvsoor75"
#endregion
#region other initializations
$serviceName = 'confsharepointc05'
$virtualNetworkName = 'network123'
$adminUsername = 'c05admin'
# get the credential as PSCredential (same type as what would be retrieved by the following command:
# $credential = Get-Credential -UserName ".\${adminUsername}"
# )
$SecureStringadminPassword = ConvertTo-SecureString -String $adminPassword -AsPlainText -Force
$credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $adminUsername, $SecureStringadminPassword
# One can select an image by issuing commands like
# get-azurevmimage | select Label, ImageName, IsPremium
# get-azurevmimage | where { $_.Label -Match 'Windows Server 2012 Datacenter, Apri' }
$WindowsServer2012ImageName = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201304.01-en.us-127GB.vhd'
$WindowsAndSqlServerImageName = 'fb83b3509582419d99629ce476bcb5c8__Microsoft-SQL-Server-2012SP1-Standard-CY13SU04-SQL11-SP1-CU3-11.0.3350.0-B'
#create an empty collection of VMConfigs
$vms = @()
#endregion
#region create domain controller
$DcVmName = 'C05DC1'
Write-Host "creating $DcVmName"
$adminPort = 52101
#create a new VM Config
$newVM = `
New-AzureVMConfig -ImageName $WindowsServer2012ImageName -InstanceSize Small -Name $DcVmName `
-AvailabilitySetName "C05DC" -DiskLabel "${DcVmName}os" `
-HostCaching ReadWrite -Label "$DcVmName" |
Add-AzureProvisioningConfig -Windows -AdminUsername $adminUsername -Password $adminPassword -NoRDPEndpoint |
Add-AzureDataDisk -CreateNew -DiskSizeInGB 30 -DiskLabel "${DcVmName}data1" -LUN 0 |
Add-AzureEndpoint -LocalPort 3389 -Name "RDP" -Protocol tcp -PublicPort $adminPort |
Set-AzureSubnet 'DCSubnet'
#add the VM config to the collection
$vms += ,$newVM
#show the collection
$vms | format-table
#create the VM and wait for boot
New-AzureVM -ServiceName $serviceName -VMs $vms -VNetName $virtualNetworkName -WaitForBoot
#endregion
#region function definition for PowerShell remoting
function InstallWinRMCert($serviceName, $vmname)
{
$winRMCert = (Get-AzureVM -ServiceName $serviceName -Name $vmname | select -ExpandProperty vm).DefaultWinRMCertificateThumbprint
$AzureX509cert = Get-AzureCertificate -ServiceName $serviceName -Thumbprint $winRMCert -ThumbprintAlgorithm sha1
$certTempFile = [IO.Path]::GetTempFileName()
Write-Host $certTempFile
$AzureX509cert.Data | Out-File $certTempFile
# Target The Cert That Needs To Be Imported
$CertToImport = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $certTempFile
$store = New-Object System.Security.Cryptography.X509Certificates.X509Store "Root", "LocalMachine"
$store.Certificates.Count
$store.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$store.Add($CertToImport)
$store.Close()
Remove-Item $certTempFile
}
#endregion
#region install features on DC
$uri = Get-AzureWinRMUri -ServiceName $serviceName -Name $DcVmName
InstallWinRMCert $serviceName $DcVmName
# Use native PowerShell Cmdlet to execute a script block on the remote virtual machine
Invoke-Command -ConnectionUri $uri.ToString() -Credential $credential `
-ArgumentList $SecureStringadminPassword -ScriptBlock `
{
param($SecureStringadminPassword)
$logLabel = $((get-date).ToString("yyyyMMddHHmmss"))
$logPath = "$env:TEMP\init-webservervm_webserver_install_log_$logLabel.txt"
Import-Module -Name ServerManager
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools -LogPath $logPath
$disks = Get-Disk | where { $_.NumberOfPartitions -eq 0 }
foreach ($d in $disks)
{
# there should be one disk only
$diskNumber = $d.Number
echo "will format disk $diskNumber"
Initialize-Disk $diskNumber
New-Partition -DiskNumber $diskNumber -UseMaximumSize -AssignDriveLetter
Format-Volume -DriveLetter F -Confirm:$False
get-volume -DriveLetter F
}
Import-module ADDSDeployment
Install-ADDSForest -DomainName "c05.compiouting.fr" -InstallDns:$true -DatabasePath "F:\NTDS" `
-LogPath "F:\NTDS" -SysvolPath "F:\SYSVOL" -NoRebootOnCompletion:$false -Force:$true `
-SafeModeAdministratorPassword $SecureStringadminPassword
}
#endregion
#region wait for reboot and start a new collection
Start-Sleep -Seconds 45
$DcVm = Get-AzureVM -ServiceName $serviceName -Name $DcVmName
While ($DcVm.InstanceStatus -ne "ReadyRole")
{
write-host "Waiting for DC to be ready... Current Status = " $DcVm.InstanceStatus
Start-Sleep -Seconds 15
$DcVm = Get-AzureVM -ServiceName $serviceName -Name $DcVmName
}
$vms = @()
#endregion
#region SQL Server
$prefix = 'C05SQL'
for($i=1; $i -le 2; $i++)
{
Write-Host "creating $prefix${i}"
$adminPort = 53100 + $i
#create a new VM Config
$newVM = `
New-AzureVMConfig -ImageName $WindowsAndSqlServerImageName -InstanceSize Small -Name "$prefix$i" `
-AvailabilitySetName "$prefix" -DiskLabel "$prefix${i}os" `
-HostCaching ReadWrite -Label "$prefix${i}" |
Add-AzureProvisioningConfig -WindowsDomain -AdminUsername $adminUsername -Password $adminPassword `
-Domain "c05" -DomainUserName $adminUsername -DomainPassword $adminPassword -JoinDomain "c05.compiouting.fr" `
-NoRDPEndpoint |
Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -LUN 0 -DiskLabel "$prefix${i}data1" |
Add-AzureEndpoint -LocalPort 3389 -Name "RDP" -Protocol tcp -PublicPort $adminPort |
Set-AzureSubnet 'SQLSubnet'
#add the VM config to the collection
$vms += ,$newVM
}
#endregion
#region SharePoint Server
$prefix = 'C05SP'
for($i=1; $i -le 2; $i++)
{
Write-Host "creating $prefix$i"
$adminPort = 52200 + $i
#create a new VM Config
$newVM = `
New-AzureVMConfig -ImageName $WindowsServer2012ImageName -InstanceSize Small -Name "$prefix$i" `
-AvailabilitySetName "$prefix" -DiskLabel "$prefix${i}os" `
-HostCaching ReadWrite -Label "$prefix${i}" |
Add-AzureProvisioningConfig -WindowsDomain -AdminUsername $adminUsername -Password $adminPassword `
-Domain "c05" -DomainUserName $adminUsername -DomainPassword $adminPassword -JoinDomain "c05.compiouting.fr" `
-NoRDPEndpoint |
Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -LUN 0 -DiskLabel "$prefix${i}data1" |
Add-AzureEndpoint -LocalPort 3389 -Name "RDP" -Protocol tcp -PublicPort $adminPort |
Add-AzureEndpoint -LocalPort 80 -Name "Web" -Protocol tcp -PublicPort 80 `
-LBSetName "SPWebLB" -ProbePort 8080 -ProbeProtocol http -ProbePath '/' |
Set-AzureSubnet 'SP2013Subnet'
#add the VM config to the collection
$vms += ,$newVM
}
#endregion
#region create SharePoint and SQL Server VMs and wait for them to boot
#show the collection
$vms | format-table
#create the VM and wait for boot
New-AzureVM -ServiceName $serviceName -VMs $vms -WaitForBoot
#endregion
#region install features on SharePoint Servers
$prefix = 'C05SP'
for($i=1; $i -le 2; $i++)
{
$vmName = "$prefix$i"
$uri = Get-AzureWinRMUri -ServiceName $serviceName -Name $vmName
InstallWinRMCert $serviceName $vmName
# Use native PowerShell Cmdlet to execute a script block on the remote virtual machine
Invoke-Command -ConnectionUri $uri.ToString() -Credential $credential -ScriptBlock `
{
$logLabel = $((get-date).ToString("yyyyMMddHHmmss"))
$logPath = "$env:TEMP\init-webservervm_webserver_install_log_$logLabel.txt"
Import-Module -Name ServerManager
Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature -IncludeManagementTools -LogPath $logPath
}
}
#endregion
Benjamin
Blog Post by: Benjamin GUINEBERTIERE
by community-syndication | May 23, 2013 | BizTalk Community Blogs via Syndication
BizTalk Server includes a powerful publish/subscribe mechanism for messaging applications that works by creating and filling subscriptions, which provides a highly efficient and scalable platform for service-oriented architecture (SOA) applications. The BizTalk ESB Toolkit extends the functionality of BizTalk Server to provide a range of new capabilities focused on building robust, connected, service-oriented applications that […]
Blog Post by: Sandro Pereira
by community-syndication | May 23, 2013 | BizTalk Community Blogs via Syndication
Many of will like myself will code once and a while. As a BizTalk professional it is inevitable that you will code for instance a pipeline component, a helper class, functoid, or other custom code to support your solution or test.
There are many tools available to make you more productive and provide you ability to create robust and high quality code. Either you find open source tools through
by community-syndication | May 23, 2013 | BizTalk Community Blogs via Syndication
I was doing some research on Power View capabilities recently and came across some good blogs on it, thought I will compile and share it:
Video Series: Visualizing the Summer Olympics. Microsoft Senior Program Manager Sean Boon created a good blog series on Power View. He talks about how you can set custom images in power […]
Blog Post by: kadasani
by community-syndication | May 23, 2013 | BizTalk Community Blogs via Syndication
If you happen to be close to Oslo, Norway June 6th you should definitely attend this event The event is hosted by Microsoft Norway and is purely dedicated to BizTalk and especially BizTalk 2013. Here’s the agenda: 12.00 -12.30 welcome and a little inspiration around integrations. 12.30 – 13.15 Integration – from strategy to successful […]
Blog Post by: Tord Glad Nordahl
by community-syndication | May 23, 2013 | BizTalk Community Blogs via Syndication
BizTalk Terminator is a very useful tool for troubleshooting common BizTalk issues. It also provides various tasks to view information like Spool Count and Orphaned Instances from the MsgBoxDB.
Sometimes while executing a Terminator task you might come across this exception
************************************************************
DataAccess::RunExecutionAsync: Invalid column name ’Relationship’. Invalid column name ’Relationship’
************************************************************
The Terminator tool works by executing WMI and SQL scripts against your BizTalk SQL Server.
In this particular case the ’View Spool Message Count of Instances’ executes a SQL script. You can view the script in the ’Description’ tab.
The script internally uses a table called TempMessageReferences to aggregate all the information needed to calculate the Spool count.
The table TempMessageReferences is created in the MsgBoxDB temporarily it is supposed to be created at the beginning of the Terminator script and dropped at the end.
In this particular case the script was failing because the TempMessageReferences table did not have a column called Relationship.
The table structure expected by the ’View Spool Message Count of Instances’ script is
but the one present in the MsgBoxDB was
The table name TempMessageReferences is used across various SQL scripts that the BTS Terminator uses. So in this case for some reason the TempMessageReferences table was created from a different SQL script (Terminator Task) and when the ’View Spool Message Count of Instances’ was being run it was failing.
To resolve this issue we just dropped the TempMessageReferences table from the MsgBoxDB and reran the Terminator task. Most likely two administrators had run a Terminator Task against the same BizTalk Cluster which overwrote the table.
The Terminator tool though very useful and easy to use has to be used with great precaution. I have personally seen a lot of administrators simply ignore the initial warnings of stopping the host instances, SQL Agent and backing up the DB.
Few tasks in Terminator under the View section, even though just query information create and drop tables in the MsgBoxDB. The tasks under the Delete and Manage section directly make changes to the tables that BizTalk uses.
Blog Post by: Shinva
by community-syndication | May 22, 2013 | BizTalk Community Blogs via Syndication
UDDI Services provides Universal Description, Discovery, and Integration (UDDI) capabilities for sharing information about Web services within an organization’s intranet, between business partners on an extranet, or on the Internet. UDDI Services can help improve the productivity of developers and information technology (IT) professionals with more reliable and manageable applications. With UDDI Services you can […]
Blog Post by: Sandro Pereira
by community-syndication | May 22, 2013 | BizTalk Community Blogs via Syndication
For BizTalk people probably you don’t need any introduction to Message Box Viewer. It became as the de-facto tool to analyse and fix any issue you find in your environment. The tool was initially built as hobby project by one of the Microsoft PSS (support) person called Jean-Pierre Auconie (JP) and over the years it’s […]
The post Message Box Viewer 13 included in BizTalk Server 2013 appeared first on BizTalk360 Blog.
Blog Post by: Saravana Kumar
by community-syndication | May 21, 2013 | BizTalk Community Blogs via Syndication
BizTalk Adapter Pack 2010 along with BizTalk AppFabric Connect, RFID features, UDDI services and ESB Toolkit are not automatically installed with the default installation process, instead you have to additional install this features The Microsoft BizTalk Adapter Pack contains adapters that enable enterprise applications and databases to interface with each other by implementing a common […]
Blog Post by: Sandro Pereira