Windows Server 2012 Direct Access Part 1 What’s New

May 3, 2012

http://blogs.technet.com/b/meamcs/archive/2012/05/03/windows-server-2012-direct-access-part-1-what-s-new.aspx

Microsoft Management Summit 2012 Istanbul

May 3, 2012

I will also have a session at MMS regarding System Center Configuration Manager 2012.

Register Now for Microsoft Management Summit 2012 Istanbul!

http://www.mms2012istanbul.com/Sayfalar/program.aspx

image

System Center 2012 Orchestrator – Link Conditions

April 9, 2012

System Center 2012 Orchestrator – Link Conditions

Windows Server 8 – Disk Management with PowerShell 3.0

April 6, 2012

Windows Server 8 – Disk Management with PowerShell 3.0

Windows Server 8 – Web Based PowerShell !

April 5, 2012

Windows Server 8 – Web Based PowerShell !

PowerShell 3.0 – Shell from Future

March 30, 2012

PowerShell 3.0 – Shell from Future

Windows Server 8 – Manage Hyper-V 3.0 with PowerShell

March 27, 2012

http://blogs.technet.com/b/meamcs/archive/2012/03/27/windows-server-8-manage-hyper-v-3-0-with-powershell.aspx

Windows Server 8–Storage Migration Video

March 24, 2012

Windows Server 8 – Storage Migration Video

Windows Server 8–Live Migration Demo

March 23, 2012

http://blogs.technet.com/b/meamcs/archive/2012/03/23/windows-server-8-truly-live-storage-migration.aspx

Service Manager 2012 Console Task to Bulk Remove Instances

March 16, 2012

http://blogs.technet.com/b/meamcs/archive/2012/03/16/service-manager-2012-console-task-to-bulk-remove-instances.aspx

System Center Orchestrator 2012 – Test & Start RunBooks

March 14, 2012

In this part of Orchestrator 2012 RunBook Concepts series, let’s cover how to test, save and run your existing RunBooks.

For the first two parts:

Part1: http://blogs.technet.com/b/meamcs/archive/2012/03/06/system-center-2012-orchestrator-runbook-basics.aspx

Part2: http://blogs.technet.com/b/meamcs/archive/2012/03/09/system-center-2012-orchestrator-runbook-activities.aspx

In RunBook Designer console, on the top bar you’ll notice three button:

image

Check Out: To be able to edit an existing RunBook, it must be checked out. Main purpose for that action is to prevent concurrent editing of same RunBook by different users.

image

If someone else is already editing RunBook, you will notice a pop-up window informing that someone is already editing RunBook.

Check In:After you finish your editing, you can Check In RunBook and so that all your changes will be committed. And also other users can then edit RunBook.

Undo Check Out: If you click Undo Check Out button when editing the RunBook, all changes you made are reverted.

Testing RunBooks

Before you run Runbooks, you can test it with RunBook Tester and also easily debug each activity or entire RunBook. This is especially helpful for troubleshooting issues. But don’t be confused about terms, RunBook Tester will apply each activity changes to your current environment, that means it will not use a demo or isolated env.

Please also note that tester runs in the currently logged user context. Orchestrator Service account will not be used for testing purposes. So it would be better to open RunBook Tester as Administrator with high-level security token.

image

When you click RunBook Tester from the toolbar, Tester starts and loads relevant RunBook

image

RunBook tester interface consists of five panes;

Run Time Properties:This is one of the mostly used pane. It displays resolved published data items. It’s important because if you use several published items for activities, you may want to see what data is carried between activities. Best way to see them in a clear way is RunBook Tester.

Design Time Properties: Displays design-time information for each activity. This is same with Activity details page.

image

Workspace: Displays active current Runbook. You can set a breakpoint for each activity.

image

Breakpoint will be marked with a red round on activity and tester will stop on it.

Log: Displays detailed information for each activity.

image

You can expand each entry to show details.

image

Resource Browser: Displays the counters, variables, computer groups and schedules.

image

You can predefine each of them and make available for all RunBooks.

Computers Groups and global items can be added within Connections Node.

image

Lets add a computer set to use it within activities.

image

image

Now you can use Computer Group within an activity;

image

image

image

This activity will be performed for all computers which members of previously created Computer Group.

Starting Test

You can start your test with different options;

image

Step Through: Runbook starts with first activity and after completion, it waits for your input. You can click Step button to move one step forward. So you can view design time properties for each activity easily.

image

Waits for my next click..

Starting RunBooks

To start a RunBook, firstly you must click Check In button to commit changes. Then just navigate related Runbook tab and click Run.

image

To stop, just click Stop button on the Toolbar. You can track activity’s success&failure progress on Log Pane;

image

All related events will be logged under Events Pane;

image

Also to track RunBook changes, In the RunBook Designer, select Audit History tab at the bottom and click individual items.

image

image

This is important if there are multiple Runbook designer users in your environment. You can track each Runbook change easily within Audit History.

Next part we’ll cover how to design basic and complex Runbooks.

Generate HTML Report for Mailbox Permissions with PowerShell

March 14, 2012

Greate PS Script from my friend Serkan.

This script creates a HTML Report showing Send as, Full Access and Send on Behalf Permissions information for each mailbox for your Exchange 2010 Organization, for a selected database or for a single user.

If your environment consist of Exchange Server 2010 and lots of complex mailbox/database permissions, just visit Technet Script Repository and give Serkan’s script a try.

http://gallery.technet.microsoft.com/scriptcenter/Generate-HTML-Report-for-da0f5132

Worth reading

March 14, 2012

A blog post from a former “Googler”

http://blogs.msdn.com/b/jw_on_tech/archive/2012/03/13/why-i-left-google.aspx

System Center 2012 Orchestrator–RunBook Activities

March 9, 2012

http://blogs.technet.com/b/meamcs/archive/2012/03/09/system-center-2012-orchestrator-runbook-activities.aspx

TechNet Wiki Articles

March 6, 2012

Here is my referenced wiki articles about Orchestrator and Service Manager 2012 on product blogs.

http://blogs.technet.com/b/orchestrator/archive/2012/03/06/system-center-2012-orchestrator-runbook-basics.aspx

http://blogs.technet.com/b/servicemanager/archive/2012/03/01/collation-in-system-center-2012-service-manager.aspx

System Center 2012 Orchestrator–RunBook Basics

March 6, 2012

http://blogs.technet.com/b/meamcs/archive/2012/03/06/system-center-2012-orchestrator-runbook-basics.aspx

System Center Orchestrator 2012 which is a new member of System Center 2012 family and next version of Opalis, takes place at the center of Private Cloud scenarios. During automation of your dynamic datacenters, Orchestrator can move your operations one more step forward and can integrate with Microsoft and non-Microsoft solutions with just a few clicks.

Let me give you a few examples;

  • You can trigger Orchestrator workflows through an incident management system such as Service Manager 2012.
  • Periodic installation processes can be automated. For example during installation you can take actions on active directory, stop load balancer pools, check service status etc.
  • Active directory operational tasks such as user create, user delete, group create, change memberships etc. can be moved to the orchestrator RunBooks.
  • You can monitor SCOM alerts and trigger custom RunBooks. For example when a virtual machine run out of disk, SCOM generates an alert and orchestrator can assign additional disk through triggered RunBook.

In this blog post series we’ll cover of how to design RunBooks from basic to complex. And at end of the series you will understand what Orchestrator 2012 can do and how can you integrate it into your current environment.

For the first part “RunBook Basics” I’ll mention basic RunBooks concept and activities that resides within RunBooks.

A RunBook consists of automated tasks and process steps. Also each automated step within RunBooks is called activities.

Here is the very basic RunBook design;

clip_image001[4]

That RunBook reads a static text file and maps each line to the server names then restarts a service for each remote server automatically.

Before going into the RunBook creation details, let’s look at the RunBook properties.

clip_image002[4]

Right click a previously created RunBook and click Properties.

GENERAL:

clip_image003[4]

On the General tab, you can customize name and description fields. Name is an important field because if you decide to import your RunBooks into the Service Manager as activities, you will recognize each RunBook with its name. (Yes you can import your RunBooks into the Service Manager!)

Also on general tab, you can set a schedule to allow RunBook runs only on dates and times you specify.

RUNBOOK SERVERS:

clip_image004[4]

Each RunBook needs a RunBook server to run. In case of requirement High Availability , you must add additional RunBook Servers. For each RunBook, primary and standby RunBook Servers can be set.

Failure of primary RunBook server will trigger standby RunBook server to act as primary.

clip_image005[4]

To set Primary and Standby RunBook Server for RunBooks, click Add and specify your RunBook servers.

LOGGING:

In this section you can choose more logging options to store in Orchestrator Database and show up within Orchestrator Console.

I’ll talk about in more details in future posts.

clip_image006[4]

EVENT NOTIFICATION

clip_image007[4]

On event notification tab, additional log file can be generated when a RunBook fails to run or run for more than specified seconds. Related log files can be viewed with Designer Console or Web Console.

JOB CONCURRENCY

clip_image008[5]

One of the most critical option is Job Concurrency. Even you configure this setting for one single RunBook, in fact it has impact on overall Orchestrator RunBook Servers. Main purpose is specifying concurrent jobs for this RunBook. A RunBook server can have maximum 50 concurrent jobs. So that if you need more than this limit you must deploy additional RunBook servers.

RETURNED DATA

clip_image009[4]

If you finalize your activities with “Return Data” activity, this RunBook can carry out defined data to the other RunBooks.

clip_image010[4]

In this blog post we cover basic RunBook concept. For the next parts we’ll drive in more detail about designing and deploying RunBooks over multiple RunBook servers.

Technet Wiki Articles

March 6, 2012

Here is my referenced wiki articles about Orchestrator and Service Manager 2012 on product blogs.

http://blogs.technet.com/b/orchestrator/archive/2012/03/06/system-center-2012-orchestrator-runbook-basics.aspx

http://blogs.technet.com/b/servicemanager/archive/2012/03/01/collation-in-system-center-2012-service-manager.aspx

System Center 2012 Orchestrator–RunBook Nedir?

March 5, 2012

System Center 2012 ailesi içerisinde bulunan yeni ürünlerden System Center Orchestrator 2012 özellikle Private Cloud senaryolarının tam ortasında yer alıyor. Kendi özel bulut altyapınızı oluşturduktan sonra datacenter’ınızda bulunan Microsoft ve Microsoft olmayan bir çok ürün arasındaki entegrasyonu sağlayabilen Orchestrator ile veri merkezi otomasyonunu tam anlamıyla gerçekleştirebilirsiniz.

Birkaç örnek vermek gerekirse;

  • Service Manager ya da herhangi bir çağrı yönetimi uygulamanızda açılan çağırılara göre tanımladığınız akışların tetiklenmesini sağlayabilirsiniz.
  • Belirli periyodlar ile gelen kurulum taleplerini, tüm detayları ile birlikte otomatize edebilirsiniz. Örneğin her ay web sunucularınız üzerinde güncellenmiş msi paketlerinin kurulumları planlanmıştır. Ancak bu kurulum sırasında active directory üzerinde, load balancer üzerinde, web.config dosyalarında değişiklikler insan eli ile ve onay mekanizmaları kullanılarak gerçekleştiriliyor. İşte bu noktada kurulum çağırılarını Service Manager üzerinden açtırıp geri kalan tüm aksiyonları orchestrator’un gerçekleştirmesini sağlayabilirsiniz. Kurulum öncesi hazırlıkları gerçekleştirir, router yada load balancer üzerinde gerekli aksiyonları alır, servis durumlarını kontrol eder, kurulumları bitirir ve herhangi bir adımda problem çıktığında bunu size geri bildirim ve özelleştirilmiş mesajlar ile iletir.
  • Active Directory üzerinde kullanıcı açma, üyelik değiştirme, grup oluşturma gibi operasyonel işlerinizi Orchestrator’a aktarabilirsiniz.
  • SCOM tarafından üretilen alert’leri yakalayarak özelleştirişmiş akışların tetiklenmesini sağlayabilirsiniz.
  • Private Cloud sanal ortamınızda bulunan tüm sanallaştırma mimarisini yönetebilirsiniz. Örneğin SCOM ile izlediğiniz Hyper-V sunucularınızda bir performans problemi yaşandığında Orchestrator’un gerekli aksiyonu otomatik almasını sağlayabilirsiniz. Ya da sunucular üzerinde disklerde bir problem çıktığında Orchestrator yeni bir LUN dedike edebilir.

Bu makale serimizde ise Orchestrator üzerinde basitten başlayarak complex’e doğru nasıl iş akışlarI (Runbook) oluşturabileceğimize değineceğiz. Böylece siz de Orchestrator’un yapabildiklerini her bölümde daha iyi kavrayarak ortamınıza entegre edebileceksiniz.

İlk bölümümüzde temel Runbook konseptinden ve runbooklar içerisinde yer alan aktivitlerden bahsedeceğiz.

Runbook otomatikleştirilmiş görevler ya da işlemler için adımları içerir. Her bir runbook içerisindeki adımlara ise aktiviteler denmektedir.

Orchestrator içerisinde oluşturulan basit bir Runbook aşağıda gösterilmektedir.

clip_image001

Görüldüğü gibi Runbook tanımlanmış aktiviteleri gerçekleştiren, bunu gerçekleştirirken aynı zamanda verileri kullanan ve diğer yandan veriyi diğer aktivitelerin kullanması için taşıyan akışlardır.

Yukarıda görülen örnek runbook ile bir text dosyasının içeriği okunarak sunucu isimleri map edilir ve bu sunuculardaki Dhcp Client servisi yeniden başlatılır.

Runbook oluşturma detaylarına girmeden önce aktiviteleri içeren RunBookların temel özelliklerini inceleyelim.

clip_image002

GENERAL:

clip_image003

General sekmesinde runbook için gerekli olan isim ve tanımlama bilgisi girilebilir. Bunun yanında ilgili runbook’un çalışması için bir schedule tarihi belirlenebilir. Bu noktada girilen isim önemlidir çünkü Service Manager entegrasyonu ile ilgili Runbookları Service Manager aktivitesi olarak import ettiğinizde bu isimleri görüyor olacaksınız.

RUNBOOK SERVERS:

clip_image004

Herhangi bir Runbook’un çalışması için bir Runbook sunucuya ihtiyaç vardır. Orchestrator sunucunuzda Runbooklar kritik öneme sahip ise yüksek erişebilirlik çözümlerini planlamanız gerekmektedir. Herhangi bir runbook için primary ve standby runbooklar belirlenebilir. Böylece runbook sunucuda bir problem olduğunda standby runbook sunucusu ilgili runbook’u çalıştırmaya devam edebilir.

clip_image005

Bu işlem için Add butonuna basarak Primary ve Standby runbook sunucuları eklenebilir.

LOGGING:

Bu bölümde daha sonrasında konsol içerisinde görüntülenmesi için veritabanı içerisinde saklamak istediğiniz ekstra verileri seçebilirsiniz.

Bu noktada bahsedilen Published Data kavramını detaylı olarak ilerleyen bölümlerde inceleyeceğiz.

clip_image006

EVENT NOTIFICATION

clip_image007

Bu bölümde herhangi bir Runbook belirli bir süre çalışmadığında ya da çalışma başarısız olduğunda bir log üretmesi sağlanabilir. İlgili mesaj Designer Console yada Web Console üzerinde log sekmesinde görüntülenebilir.

JOB CONCURRENCY

clip_image008

En önemli özelliklerden bir tanesi Jıb Concurrency’dir. Bu ayar tek bir Runbook için veriliyor olsa da temel amaç sizin Runbook sunucunuzun aynı anda kaç farklı Runbook çalıştırabileceğini ve ne kadar isteği karşılayabileceğini belirtir. Bir Runbook server aynı anda 50 işi çalıştırabilir. Bu sebeple bu sayının üzerinde bir değer verirseniz fazladan Runbook Server’ı ortamınıza katmanız gerekmektedir.

RETURNED DATA

clip_image009

Eğer Runbook içerisindeki aktiviteleri “Return Data” aktivitisi ile bitirirseniz bu Runbook’un tanımlanmış bilgileri aktarmasını sağlayabilirsiniz.

clip_image010

Bu noktada tanımlanan veriler Runbook çalışmayı bitirdiğinde döndürülür ve diğer runbookları çağırmak için kullanılabilir.

The Windows Consumer Preview and Windows Server 8 Beta Builds are Now Available for Download

February 29, 2012

http://blogs.technet.com/b/meamcs/archive/2012/02/29/the-windows-consumer-preview-and-windows-server-8-beta-builds-are-now-available-for-download.aspx

Service Manager 2012 – Orchestrator 2012 Integration Video Series – Part 2

February 27, 2012

http://blogs.technet.com/b/meamcs/archive/2012/02/27/service-manager-2012-orchestrator-2012-integration-video-series-part-2.aspx

How to force Winrm to listen interfaces over HTTPS

February 25, 2012

http://blogs.technet.com/b/meamcs/archive/2012/02/25/how-to-force-winrm-to-listen-interfaces-over-https.aspx

Technet Wiki makalelerinin Türkçeleştirilmesine yardımcı olun!

February 25, 2012

http://social.technet.microsoft.com/wiki/

Technet Wiki üzerinde İngilizce olmayan içeriğin kendi dilimiz olan Türkçe’ye çevrilmesi için sayfanın içerisinde gömülü gelen bir Translation Widget bulunuyor. Bu widget sayesinde ilgili makeleyi istediğiniz dile okuma esnasında çevirebilirsiniz.

Türkçe çevrilmiş bir makalede her bir cümle üzerine geldiğinizde ise size başlangıçta otomatik çevrilen bu çeviriyi geliştirme imkanı sunuluyor. Yapmanız gereken tek şey bir öneri sunmak ya da önceki önerileri puanlamak. Böylece widget ile otomatik çevrilen ancak cümle akışı bozuk olan çevirileri geliştirme imkanına sahipsiniz.

Türkçe dilinde yaptığınız tüm çeviri önerilerini Live ID’niz ile oturum açarak gerçekleştirdiğiniz takdirde technet aktivitesi olarak bunların kayıtları tutulmaktadır.

Bir diğer güzel haber ise Türkçe alanında yaptığınız çeviri önerilerini ben onaylıyorum.

Bu yüzden yaptığınız en ufak öneriler bile bizim için çok değerli.

Görüşmek dileğiyle.

untitled

http://social.technet.microsoft.com/wiki/

Service Manager 2012 – Orchestrator 2012 Video Series

February 24, 2012

My post on MEA MCS Technet Blog. Service Manager – Orchestrator Integration Video Series

http://blogs.technet.com/b/meamcs/archive/2012/02/24/service-manager-2012-orchestrator-2012-integration-video-series-part-1.aspx

Increasing Maximum Concurrent Policy Instances on Orchestrator 2012

February 4, 2012

As ın opalis, Orchestrator has a limit of total number of concurrrent policies that a action server can run. This setting is also known as Action Server Policy Throttle.

If maximum allowed number of policies exceeds, error messages will return or exceptions captured in Policy Module logs.

This setting is configurable by using aspt.exe which found in C:\Program Files (x86)\Microsoft System Center 2012\Orchestrator\Management Server directory.

Syntax is simple;

astp.exe ActionServerName MaxNumber

image

Sealing MP in Service Manager 2012

January 30, 2012

As is the case in Operations Manager, all customizations for notification templates, groups, list items, workflows etc. in Service Manager are stored in Management Packs. A management pack can consist of two types;

Sealed and Unsealed.

A sealed management pack has a .mp extension and can not be modified directly. So Microsoft, other vendors or you can prevent modifications on Management Pack itself.

Unsealed management packs have a .xml file extension and con be modified with SM console, authoring tool or directly within XML file.

For example, if you want to add list items to a list that is defined in a sealed management pack, you have to store this modifications in a unsealed management pack. Or if you want to add some fields to a form that is defined in a sealed management pack, again you have to store modifications in an unsealed MP.

Just because of this certain rule,

A MP (sealed or unsealed) can depend on a sealed MP.

A MP (sealed or unsealed) can depend on an unsealed MP.

Lets think about following scenario;

You create a new Management Pack in Service Manager 2012 which includes custom forms, notification templates and item lists. After a couple of months, other SM administrator created another Management Pack for a custom  need and that MP references for list items and other objects to your firstly created MP. In case of such a scenario your first MP must be sealed to have base definitions for other MP’s in your organization.

Sealing a management pack is easy and clear process. First requirement to seal an MP is signing the file to ensure that file is not modified when you transfer it between locations. So before sealing a MP you must create a key pair with Strong Name Tool (sn.exe). Key pair will have an .snk extension.

Strong name tool is automatically installed with Visual Studio. Also if you installed Microsoft .NET Framework 4.0 on your machine sn.exe is available in the following location;

%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools

To create key pair, at the command prompt run the following command;

image

After you created snk key pair, in the Auhtoring Tool, in the management pack explorer right click an unsealed MP and choose "Seal Management Pack”.

image

Then choose your key pair and fill out company field.

image

image

Now you can easily import your sealed management pack through Service Manager Console.

image

image

Collation in Service Manager 2012

January 30, 2012

If you decide to install Service Manager 2012 for your private cloud environment, primary requirement is a supported SQL Server. To be able to work with Service Manager, following SQL components must be installed;

  • SQL Server full-text search
  • SQL Server Reporting Services
  • SQL Server Analysis Services

But Service Manager 2012 does not like SQL Server default instance collation configurations. As you know, during a default SQL Server 2008 setup progress, your SQL collation will be configured with SQL_Latin1_General_CP1_CI_AS. If you don’t change default collation, during SCSM 2012 installation you will get a warning message;

1

If you use default collation on your SQL Server, it is not possible to support multiple languages in Service Manager. I mean if you later decide to support for multiple languages you have to use different collation and that means you have to reinstall SQL Server.

On SCSM 2012 technet page, ypu can find supported OS locales and collations.

locale

Exchange 2010 SP2–Cross Site Silent Redirection

December 5, 2011

Exchange Server 2010 SP2 Microsoft download sayfasında yayınlandı. Daha önce SP2 ile birlikte gelecek yenilikler hakkında bilgi sahibi olmuştuk. Artık bunları PROD ortamlarımızda kullanabilir durumdayız.

Bana göre en önemli özelliklerden birisi farklı sitelardaki bulunan CAS sunucuları arasındaki silent redirection mekanizmasındaki gerçekleştirilen geliştirme.

Exchange 2007 ve SP2 öncesi 2010 ile birlikte birden fazla active directory site’ına sahip bir organizasyonda redirection mekanizması aşağıdaki gibi çalışmaktaydı;

Exchange 2010 organizasyonunda iki farklı internet facing CAS sunucusunun iki farklı active directory site’ında yer aldığını düşünelim.

Yukarıdaki gibi bir senaryoda iki farklı datacenter üzerinde bulunan CAS sunucular internet facing şekilde konfigure edilmiştir. Yani kullanıcı mail.datacenter1.com adresine girdiğinde ilk site üzerindeki CAS sunucusu kendisini karşılayacak, mail.datacenter2.com adresine girdiğinde ise ikinci site üzerindeki CAS sunucusu karşılama gerçekleştirecektir. Yapının bu şekilde çalışması için CAS sunucular için external url konfigurasyonlarının doğru yapılması gerekiyor.

Ancak eğer mail.datacenter2.com owa adresine bağlantı gerçekleştiren ancak mailbox’ı site 1 üzerinde tutulan bir kullanıcı için redirection mekanizması devreye girmektedir.

  • Eğer site1 üzerindeki CAS sunucu için bir external URL adresi belirtilmediyse site2’deki CAS sunucusu istemciyi proxy ederek site1’e gönderecektir. Eğer site1 CAS IIS dizinleri için integrated authentication konfigurasyonu gerçekleştirildiyse kullanıcı SSO şekilde tek auth bilgisi girerek doğru site’a yönlendirilecektir.
  • Ancak site1 üzerindeki CAS sunucuda external URL değeri null olarak konfigure edildiyse site2 CAS sunucusu istemciyi proxy yerine redirect mekanizması ile yönlendirecektir. Bu şekilde bir yönlendirmede kullanıcıya aşağıdaki gibi bir ekran çıktısı gösterilir.

image8

Ancak bu şekilde bir yönledirmede ne yazıkki SSO mekanizması devreye girmeyecek ve istemciden bir kez daha auth bilgileri doğru CAS site için istenecektir.

SP2 ile gelen yenilikte ise bu şekilde bir senaryoda FBA auth mekanizması kullanılsa dahi (integrated dışında SSO desteklenmiyordu) SSO ile silent redirection’ın desteklendiğidir.

PowerShell’I konuşturun

November 3, 2011

PowerShell içerisinde SAPI.SpVoice nesnesini oluşturarak çok rahatlıkla istediğiniz metni sesli olarak işitebilirsiniz.

Örneğin sabahları RSS feedlerinizi powershell ile dinleyebilir ya da indirdiğiniz bir dokumanı PowerShell’e okutabilirsiniz.

Aşağıda hazırladığım ufak örnekte powershell makine üzerindeki spooler servisini dinliyor ve durduğunu fark ettiği anda sizi sesli uyarıyor.

 

$Status = 0
$sunucuismi = hostname
Do {
 
$Servis = get-service “spooler”
 
if ($Servis.status -eq “Running”) {
 
Write-Host “”
 
} else {
 
$ses= new-object -com SAPI.SpVoice
$ses.Speak( "Hey Admin……. spooler service has stopped", 1 )
 
}
 
Start-Sleep 10
 
} Until ($Status -eq 1)

Lync Server 2010 – Archives Viewer

August 10, 2011

Lync Server 2010 topolojisi içerisinde Archieve sunucusu konumlandırdığınızda hazırladığınız policylere göre internal yada external IM trafiğini belirlediğini SQL Store üzerine arşivleyebiliyorsunuz.

Ancak arşivlenmiş  bu içeriği görüntülemek istediğinizde Lync Management Shell üzerinde aşağıdaki komutları çalıştırmanız gerekiyor;

Export-CSArchivingData -DBInstance lyncsql.domain.local\Default -StartDate 1/1/2011 -EndDate 10/10/2011 -OutputFolder “C:\ArchivingExports”

Export-CSArchivingData -DBInstance lyncsql.domain.local\Default -StartDate 1/1/2011 -EndDate 10/10/2011 -OutputFolder “C:\ArchivingExports” -UserURI “anilerduran@domain.local

Görüldüğü gibi –DBInstance parametresi ile Lync Server 2010 topolojisindeki Back End sunucuya connection açılıyor. Bu noktada Topology Builder içerisindeki değerleri kullanmanız gerekiyor.

-StartDate ve –EndDate parametreleri ile export edilmek istenen arşivlenmiş içerik için tarih aralığı verebilirsiniz.

Output folder parametresi ile ise belirlediğiniz kriterlere göre export edilecek content için bir dizin belirliyorsunuz.

Eğer useruri parametresi belirtilmez ise var olan tüm kullanıcılar için arşivlenmiş içerik dışarı aktarılacaktır. Ancak bu parametre ile yalnızca spesifik bir kullanıcı için arşivlenmiş IM mesajlarına ulaşılabilir.

Lync Management Shell üzerinde çalıştırılan bu komut ile session bazlı içerikler dışarıya export edilecektir.

image

Ancak görülüğü gibi export edilen content .eml uzantılıdır. Internet Explorer üzerinde sorunsuzca bu içeriği görüntülemek için uzantıları .mht olarak değiştirmemiz gerekiyor.

image

Görüldüğü gibi arşivlenmiş bir içeriği tüm kullanıcılar yada spesifik bir kullanıcı için export etmek için bir kaç adımın ardarda gerçekleştirilmesi gerekiyor.

Bu noktada Lync Server 2010 ve arşiv yapısı kullanan organizasyonlarda kullanılmak üzere PowerShell ve Saphien PrimalForms kullanarak aşağıdaki gibi GUI tabanlı bir script geliştirdim. Tam araştırma imkanım olmadı fakat sanırım bu tip bir tool henüz internet üzerinde yok.

image

Tool basitçe seçtiğiniz tarih aralığında istediğiniz yada tüm kullanıcılar için contentleri getiriyor.

Select Lync Users menusune tıkladığınızda Get-CsUser bazı parametreler ile çalışarak ortamınızda bulunan ve Lync Enable edilmiş tüm kullanıcıları getiriyor. Herhangi bir kullanıcı seçtiğinizde ve Start Exporting tıkladığınızda alt bölümdeki pencereye export edilen ve localde kaydedilen tüm arşivlenmiş içerik listelenecektir.

Aynı zamanda bu dizindeki tüm .eml uzantıları .mht olarak değiştirilecektir.

Bu pencere üzerindeki herhangi bir satıra tıkladığınızda ilgili arşiv dosyası internet explorer üzerinde açılacaktır.

Aynı şekilde “Get Archieved Content for All Users” butonuna tıklarsanız girilen tarih aralığındaki tüm contenti getirecektir.

Herhangi bir user için eğer content yok ise status bar üzerinde bu size bildirilecektir.

image

Programı çalıştırmak için alt kısımda sunduğum ps1 uzantılı script içerisinde $LyncArchieveServer değişkeni içerisine ortamınızdaki lync arşiv sunucusunu yazmanız yeterlidir.

image

ps1 uzantılı dosyanızı Lync Management Shell içerisinden çağırmanız yeterli olacaktır.

Script ile ilgili tüm sorularınızı ve geliştirme isteklerinizi bana iletebilirsiniz.

www.anilerduran.com/scripts/Lync_Archive_Viewer.ps1

Lync Server Enterprise Voice Yenilikleri

July 14, 2011

Lync Server ile organizasyonlar var olan voice altyapılarını Lync ile entegre hale çok daha kolay getirebiliyorlar. Ayrıca Lync Server 2010 ile birlikte önceki sürümlerde var olmayan bazı voice deployment geliştirmeleri bulunuyor. Bunları kısaca inceleyecek olursak;

Media Bypass

Lync Server 2010 ile birlikte Lync istemcisi mediation server ihtiyacı olmadan direk G.711 codec kullanarak IP PBX yada media gateway ile iletişime geçebiliyor. Bildiğiniz gibi mediation G.711 güncel codec bilgisini RTAudio’ya convert ederek Lync üzerine gönderebiliyordu. Buda totalde ses kalitesini arttırırken gecikme sürelerini azaltacaktır. Yükün azalması sebebiyle mediation sunucuyu front end ile collocate çalıştırabilir ve topolojide sunucu sayısında azalmaya gidilebilir.

Lync istemcisi sip sinyalini aynı şekilde mediation sunucuya gönderirken yalnızca media gönderimini direk gerçekleştirebiliyor. Özellikle sip protokolünü desteklemeyen pbx altyapınız var ise mediation rolü Lync ile pbx arasındaki çevrimi gerçekleştiriyordu.

Böylece Lync istemcileri SRTP üzerinden G.711 codec kullanabileceklerdir.

image

 

Routing

Eğer ortamınızda birden fazla IP PBX sunucusu yada Media Gateway’I var ise, önceki sürümlerde her bir endpoint için bir adet mediation sunucu rolünü dedice etmemiz gerekiyordu. Lync Server 2010 ile birlikte bu mimaride geliştirme gerçekleştirildi. Artık tek bir mediation sunucuyu birden fazla gateway yada ip-pbx ile konuşturabiliyoruz. Böylece topoloji içerisindeki mediation sunucu rolümüzü bir adet olarak tutabiliriz.

image

 

Survivable Branch Appliance

Uzak ofislerdeki Lync Enterprise Voice özelliğini kullanan istemciler, eğer WAN trafiğinde bir kesinti olursa, voice özelliklerini kullanamayacaklardır. Lync istemcileri disconnect olacak ve telefon aramalarını gerçekleştiremeyeceklerdir. Lync Server 2010 ile birlikte third-party media gaterway üreticilerinin sundukları box çözüm SBA, PSTN bağlı olarak çalışacak ve WAN hattında çıkan sorunlardan istemcilerin bağlı kalmalarını ve telefon aramalarını gerçekleştirebilmelerini sağlayacaktır.

image

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org