10 tools in 10 minutesv1

advertisement
Advanced development
requires advanced
tooling
http://www.ukwaug.net
info@elastacloud.com
http://blog.elastacloud.com
Application Scenarios Affected Services
http://sendgrid.net
http://www.mailchimp.com
Transient Faults
Affected Services
Installation
Configuration
http://msdn.microsoft.com/en-us/library/hh680901(v=pandp.50).aspx
Scenarios
Why we need it
http://www.microsoft.com/download/en/details.aspx?id=28189
http://www.windowsazure.com/en-us/develop/net/how-to-guides/autoscaling/
http://msdn.microsoft.com/en-us/library/hh680949(PandP.50).aspx
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4451
http://msdn.microsoft.com/en-us/security/aa570351
http://www.windowsazure.com/en-us/develop/net/how-to-guides/access-control/
http://msdn.microsoft.com/en-us/library/bb897402.aspx
What’s the
Problem?
Some apps run too slowly on
a single computer
• Splitting them up into chunks,
then running those chunks in
parallel on multiple computers
can speed them up
Doing this effectively requires creating
a compute cluster, with:
• Tools to create and manage the
cluster
• A scheduler for running apps on
the cluster
On-premise
Desktop Compute Cloud via
Idle Win 7 Workstation Cores
HPC
Edition
HPC Head Node
Desktop User
HPC Cluster
Broker Node(s)
Azure Compute Proxies
Azure Compute Instances
Components in HPC SDK for Windows Azure
Azure
Scheduler
Distributed Runtimes
System Administration
Job submission API and portal
Job queue and priorities
Task activation and monitoring
Resource sharing policies
Parametric Sweeps
Cluster SOA
MPI
LINQ to HPC
Excel
Cluster Deployment
Monitoring
Diagnostics
Reporting
An illustration
An illustration
With Visual Studio
Without Visual Studio
HPC Services for Excel 2010
Increase business agility and accelerate time to results by easily transitioning desktop calculations to
Windows HPC computations
Life Insurance Actuarial workbook examples
 1700 records that took 14 hours now take 2.5 minutes
 1 million records that took 7.5 days now take 2 hours
 Make better business decisions
 Respond to market trends faster
 Manage risk and portfolio better
http://blogs.msdn.com/b/hpctrekker/
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=10505
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21705
http://blogs.technet.com/b/windowshpc/
x-ms-date: Sun, 30 Nov 2011 06:02:27 GMT
Authorization: SharedKeyLite
smarxtest:yNeUvY5puNFfdMENJdHxRc1n5E/Qetlyyk9
fIX/tVmM=
Content-Type: application/xml
24f43295-e6d5-45f6-abca6da3b99fe758 (response)
makecert -a sha1 -n CN=ukwaug.cloudapp.net -pe-r-sky
exchange -ss My -sr LocalMachine
http://blog.elastacloud.com
http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx
http://msdn.microsoft.com/en-us/library/windowsazure/dd179355.aspx
http://msdn.microsoft.com/en-us/magazine/ee309509.aspx
https://github.com/WindowsAzure-Accelerators/wa-accelerator-webroles
http://partitioncloudqueue.codeplex.com/
http://code.msdn.microsoft.com/Windows-Azure-ASPNET-03d5dc14
http://lwaugbe.table.core.windows.net"/
http://code.msdn.microsoft.com/Synchronizing-Files-to-a14ecf57
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14159
http://code.google.com/p/elmah/
http://support.microsoft.com/kb/2006191
http://code.msdn.microsoft.com/Service-BusExplorer-f2abca5a
http://wag.codeplex.com/
Diagnostics in Windows Azure
App
Service
OS
• Things your application chooses to log
• Things logged by what runs your application
• Things logged by OS container
Application
Service
OS
Familiar diagnostic challenges
Already solved on premises
Hosted Service
Compute capacity within Windows Azure
Massively scalable
No request affinity
Unpredictable application
topology
Storage Account
Storage capacity within Windows Azure
Table
Blobs
Centralised storage area into which each Hosted
Service can write
Where do the logs go?!
Centralised Logging approach
Application
Service
On Demand Transfer
Scheduled Transfer
Operating System
Type
Description
Destination
Trace
With Trace Listener
Table WADLogsTable
IIS Logs
W3svc format
Blob
Windows Event Logs
Table WADWindowsEventLogsTable
Windows Performance Counters
Table WADPerformanceCountersTable
Custom Logs
File based
Crash Dump
Diagnostic Infrastructure Log
Blob
Blob
Metalog
Table WADDiagnosticInfrastructureLogsTable
http://msdn.microsoft.com/en-us/library/windowsazure/gg433048.aspx
http://www.cerebrata.com/products/AzureDiagnosticsManager/
Automation with Powershell
Topic 9
Windows PowerShell® is a taskbased command-line shell and
scripting language designed
especially for system administration.
Built on the .NET Framework,
Windows PowerShell helps IT
professionals and power users
control and automate the
administration of the Windows
operating system and applications
that run on Windows.
Implementations of many common Windows Azure
tasks are available in Windows Azure. It is not Powershell
itself that is performing many of these tasks, but it is
often calling the external resource such as the Windows
Azure Service Management API in order to achieve these
results.
Typical uses are to perform remote setup and
configuration tasks initiated from outside the cloud, and
complex local tasks such as startup tasks that prepare an
instance as it is initializing.
http://wappowershell.codeplex.com
Courtesy of http://michaelwasham.com
http://wappowershell.codeplex.com/documentation
http://michaelwasham.com/
http://www.cerebrata.com/Products/AzureManagementCmdlets/
http://sqlazuremw.codeplex.com/
SQL Azure Migration Wizard is
an open source application that
has been used by thousands of
people to migrate their SQL
database to and from SQL Azure.
SQLAzureMW is a user
interactive wizard that walks a
person through the analysis /
migration process.
The SQLAzureMW tools greatly simplify schema analysis
and migration process. If you don’t have an SQL Azure
account and have been thinking about moving your
data to the cloud (SQL Azure), but have been afraid to
try because of “unknowns” like cost, compatibility, and
effort? SQL Azure Migration Wizard SQLAzureMW is a
free set of open source applications that have been
developed by the database community to help you
address these issues. SQLAzureMW will help you analyze
your SQL Server database for compatibility issues and
will migrate your schema and data to SQL Azure.
http://sqlazuremw.codeplex.com/
SQL Azure Data Sync enables
you to easily create and schedule
bi-directional synchronizations
from within the Data Sync web
site without the need to write a
single line of code.
Windows Azure doesn’t support
Replication, so how do you manage an
existing on-premises database server
syncing to the cloud?
DataSync run through
http://sqlazuremw.codeplex.com/
http://msdn.microsoft.com/en-us/sync/bb736753
Q&A
Thanks for Listening!
Check out http://blog.elastacloud.com – samples will be posted now
For more information on our consultancy, training and product range, contact:
info@elastacloud.com
Download