<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Babulal Ghule's Blog</title><link>http://blogs.technet.com/b/babulalghule/</link><description>Microsoft System Center</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>How to configure notification workflow to notify if assigned to user is empty or Incident is not assigned</title><link>http://blogs.technet.com/b/babulalghule/archive/2013/05/05/how-to-configure-notification-to-notify-if-assigned-to-user-is-empty-or-incident-is-not-assigned.aspx</link><pubDate>Sun, 05 May 2013 11:54:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3570811</guid><dc:creator>Babulal Ghule</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/babulalghule/rsscomments.aspx?WeblogPostID=3570811</wfw:commentRss><comments>http://blogs.technet.com/b/babulalghule/archive/2013/05/05/how-to-configure-notification-to-notify-if-assigned-to-user-is-empty-or-incident-is-not-assigned.aspx#comments</comments><description>&lt;p&gt;In this blog post, I will walk you through the steps to configure the notification workflow to notify if assigned to user field is empty for Incident/Service Request.&lt;/p&gt;
&lt;p&gt;We get frequent requests from customers on how to create notification workflow to notify if assigned to user filed is empty for Incident or Service Request. Currently this is not possible out of the box but this can be done using XML magic.&lt;/p&gt;
&lt;p&gt;For this blog post, I'll create the notification workflow which will notify helpdesk every 10 mins until the Incident/Service Request is assigned.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So lets start,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For detailed steps on creating notification workflow in Service Manager, please refer this TechNet link &lt;a href="http://technet.microsoft.com/en-us/library/hh519719.aspx"&gt;http://technet.microsoft.com/en-us/library/hh519719.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1: Create notification template.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Refer this TechNet &lt;a href="http://technet.microsoft.com/en-us/library/hh519719.aspx"&gt;http://technet.microsoft.com/en-us/library/hh519719.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2: Create notification workflow (periodic subscription)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I selected the target class as Incident but if you want to notify for Service Request then select&amp;nbsp;Service Request.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4604.sub-1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4604.sub-1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1464.sub-2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1464.sub-2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Add&lt;strong&gt; 'First assigned date'&lt;/strong&gt; in the criteria. This field will be updated with the date time when Incident/Service Request is assigned to user. So if this field is empty then incident is not assigned to any user yet. So we need to check if this field &lt;strong&gt;isNull or isEmpty&lt;/strong&gt; but we don't have these operators in the UI.&amp;nbsp;Add any&amp;nbsp;temporary criteria here like &lt;strong&gt;"is less than &lt;/strong&gt;&lt;strong&gt;or equal"&lt;/strong&gt; to '05/05/2013' as UI will not allow to click next until we specify something here.&amp;nbsp;We will modify this MP and add isNull operator from XML.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;We can also add additional criteria's here based on the requirement, like if you have multiple helpdesks (ex. Network, SQL).&amp;nbsp;make sure that you add all the criteria that you need here along with first assigned date as we will not be able modify this workflow form UI after we do the changes in XML.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3323.sub-3.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3323.sub-3.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;In recurring notification section, specify the criteria that suits your requirement for recurring notifications. For this scenario, I want to notify helpdesk every 10 mins until the incident&amp;nbsp;is assigned to analyst. If you want to notify once then you can set &lt;strong&gt;'End after number of occurrences' = 1&lt;/strong&gt;.&amp;nbsp;&amp;nbsp;This workflow&amp;nbsp;will run every 10 mins if criteria is true. This criteria will be false when incident has assigned to user.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2234.sub-4.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2234.sub-4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Select the notification template and add required recipients on the next screen.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3718.sub-5.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3718.sub-5.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So we are done with creating notification workflow from UI, now its time to modify it from XML. Export management pack and open it in XML editor.&lt;/p&gt;
&lt;p&gt;Locate the &lt;span style="color: #000000;"&gt;&lt;strong&gt;&amp;lt;Criteria&amp;gt;&lt;/strong&gt;&lt;/span&gt; section in the MP for &lt;strong&gt;"First assigned date"&lt;/strong&gt; as below.&lt;/p&gt;
&lt;p&gt;&amp;lt;Criteria&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;Expression&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;SimpleExpression&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ValueExpressionLeft&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property&amp;gt;&lt;span style="background-color: #ffff00;"&gt;$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/FirstAssignedDate$&lt;/span&gt;&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ValueExpressionLeft&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Operator&amp;gt;LessEqual&amp;lt;/Operator&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ValueExpressionRight&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Value&amp;gt;&lt;span style="background-color: #ffff00;"&gt;2013-04-27T18:30:00&lt;/span&gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ValueExpressionRight&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/SimpleExpression&amp;gt;&lt;br /&gt;&amp;lt;/Expression&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Criteria&amp;gt;&lt;/p&gt;
&lt;p&gt;We need to replace the lines between the tag &lt;span style="background-color: #ffff00;"&gt;&lt;strong&gt;&amp;lt;Expression&amp;gt; &amp;lt;/Expression&amp;gt;&lt;/strong&gt;&lt;/span&gt; with below code.&lt;/p&gt;
&lt;p&gt;&amp;lt;UnaryExpression&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="background-color: #ffff00;"&gt;&amp;lt;ValueExpression&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Property&amp;gt;$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/FirstAssignedDate$&amp;lt;/Property&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Operator&amp;gt;IsNull&amp;lt;/Operator&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;/UnaryExpression&amp;gt;&lt;/p&gt;
&lt;p&gt;So this will look like as below.&lt;/p&gt;
&lt;p&gt;&amp;lt;Criteria&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Expression&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;lt;UnaryExpression&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property&amp;gt;$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/FirstAssignedDate$&amp;lt;/Property&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Operator&amp;gt;IsNull&amp;lt;/Operator&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #ffff00;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/UnaryExpression&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Expression&amp;gt;&lt;br /&gt;&amp;lt;/Criteria&amp;gt;&lt;/p&gt;
&lt;p&gt;Save the management pack and re-import it back and you're done with XML code changes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Once you modify and re-import the MP, do not modify it from the UI as it will break the XML code.&lt;/p&gt;
&lt;p&gt;I have attached sample MP with this post.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3570811" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-57-08-11/ManagementPack.3bef2f9daf4e454ba542aa8e44e4786a.xml" length="16862" type="text/xml" /><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/Assigned+to+User+is+Empty/">Assigned to User is Empty</category></item><item><title>How to configure notifications for assignment/re-assignment, action log/user comment updates for Incident/Service Request</title><link>http://blogs.technet.com/b/babulalghule/archive/2013/05/04/how-to-configure-notifications-for-assignment-re-assignment-action-log-user-comments-updates-for-incident-service-request.aspx</link><pubDate>Sat, 04 May 2013 17:31:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3570762</guid><dc:creator>Babulal Ghule</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/babulalghule/rsscomments.aspx?WeblogPostID=3570762</wfw:commentRss><comments>http://blogs.technet.com/b/babulalghule/archive/2013/05/04/how-to-configure-notifications-for-assignment-re-assignment-action-log-user-comments-updates-for-incident-service-request.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In this blog post, I will walk you through the steps to configure the notification for assignment/re-assignment, action log/user comment updates for Incident/Service Request.&lt;/p&gt;
&lt;p&gt;In SCSM 2010, we used xml mp to create notification for action log/user input updates but in 2012 we have new classes which we can use for the notifications.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/b/servicemanager/archive/2010/08/30/notifying-the-affected-user-when-the-analyst-has-updated-the-action-log.aspx"&gt;http://blogs.technet.com/b/servicemanager/archive/2010/08/30/notifying-the-affected-user-when-the-analyst-has-updated-the-action-log.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this post we will cover below scenarios.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Notify Analyst when user adds comments from portal on the Incident or Service Request.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Notify End User when Analyst updates the action log from console on the Incident or Service Request.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you are using Exchange connector to create and update incident from emails.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;3. Notify Analyst when end user reply to email notifications with comments (or provides new information) for incident or Service Request.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Notify End User when analysts reply to emails requesting more information (reply to assigned to user notification or analyst notification which will be logged as Analyst&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;comments on the Incident or Service Request)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. Service Request assignment/re-assignment workflow &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;We will modify assignment/re-assignment management pack to notify for assignment re-assignment of Service Request.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Let&amp;rsquo;s start with the process of creating notifications.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;For detailed steps on creating notifications in Service Manager, please refer this TechNet link &lt;a href="http://technet.microsoft.com/en-us/library/hh519719.aspx"&gt;http://technet.microsoft.com/en-us/library/hh519719.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is a good blog post on creating Notification templates &lt;a href="http://blogs.technet.com/b/servicemanager/archive/2009/09/28/creating-notification-templates-in-system-center-service-manager.aspx"&gt;http://blogs.technet.com/b/servicemanager/archive/2009/09/28/creating-notification-templates-in-system-center-service-manager.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;A) Scenario 1 &amp;amp; 3&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This notification workflow will cover both the scenarios for Incident and Service Request.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1: &lt;/strong&gt;Create notification template&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5148.Notificaton-Template_2D00_-1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5148.Notificaton-Template_2D00_-1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select the target class&lt;strong&gt; &amp;ldquo;Trouble Ticket Analyst Comments&amp;rdquo; &lt;/strong&gt;(Click on Browse and Select All Basic classes)&lt;strong&gt;, &lt;/strong&gt;this contains the analyst comments for Incident and Service Request class.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4403.Notification-tamplate-_2D00_-2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4403.Notification-tamplate-_2D00_-2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you are sending notification for incidents,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;To get incident ID: Select &lt;strong&gt;&amp;lsquo;Has Analyst Comment &amp;lsquo;-&amp;gt; WorkItem -&amp;gt;ID&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are sending notification for Service Request,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;To get SR ID: Select &lt;strong&gt;&amp;lsquo;Work Item Has Comment &amp;nbsp;Log&amp;lsquo;-&amp;gt; WorkItem -&amp;gt; ID&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;Same way you can get the Title, Status fields from respective classes as mentioned above.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;To get the Assigned to user for Incident/Service Request&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6064.Notificaton-Template_2D00_-3.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6064.Notificaton-Template_2D00_-3.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To get the Analyst comments for Incident/Service Request. (&lt;strong&gt;Note: This will only include latest comment)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5023.Notificaton-Template_2D00_-4.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5023.Notificaton-Template_2D00_-4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;Do not forget to select&lt;strong&gt; &amp;ldquo;Send as HTML&amp;rdquo;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7635.Notificaton-Template_2D00_-5.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7635.Notificaton-Template_2D00_-5.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2: &lt;/strong&gt;Create Notification workflow (subscription)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;Select &lt;strong&gt;&amp;ldquo;When Object of selected class is created&amp;rdquo;&lt;/strong&gt; and Target class as &lt;strong&gt;&amp;ldquo;Trouble Ticket Analyst Comments&amp;rdquo;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0447.sub-1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0447.sub-1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select the template that we created.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2656.sub-2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2656.sub-2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add related Recipients&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;For Incident&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5756.sub-3.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5756.sub-3.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;For Service Request&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8715.sub-4.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8715.sub-4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are done with the creating the subscription/template for an action log update.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;B) Scenario 2 &amp;amp; 4&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;Same way we can create the notification subscription/template but target class will be &lt;strong&gt;&amp;ldquo;Trouble Ticket User Comments&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;C) Scenario 5:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;This blog&amp;nbsp;provides the&amp;nbsp;instruction to create the notification workflow for Incident assignment/re-assignment&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/servicemanager/archive/2009/12/15/custom-notification-workflow-on-incident-assignement-or-re-assignment.aspx"&gt;http://blogs.technet.com/b/servicemanager/archive/2009/12/15/custom-notification-workflow-on-incident-assignement-or-re-assignment.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;We will modify this so that it will notify for Service Request assignment/re-assignment.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First let&amp;rsquo;s understand how this MP works.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This MP has two main sections that we need to understand before we make modification.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;1.&amp;nbsp;When to notify (criteria section)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Rule ID="IncidentAssignmentChanges" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.SubscriptionWorkflowTarget" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;Category&amp;gt;Discovery&amp;lt;/Category&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;DataSources&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;DataSource ID="DS" TypeID="SystemCenter1!Microsoft.SystemCenter.CmdbInstanceSubscription.DataSourceModule"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Subscription&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RelationshipSubscription RelType="$MPElement[Name='WorkItem!System.WorkItemAssignedToUser']$" SourceType="$MPElement[Name='CoreIncident!&lt;span style="background-color: #ffff00;"&gt;System.WorkItem.Incident'&lt;/span&gt;]$" TargetType="$MPElement[Name='System!System.Domain.User']$"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AddRelationship&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/AddRelationship&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/RelationshipSubscription&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Only change will be SourceType.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Rule ID="ServiceRequestAssignmentChanges" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.SubscriptionWorkflowTarget" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;Category&amp;gt;Discovery&amp;lt;/Category&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;DataSources&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;DataSource ID="DS" TypeID="SystemCenter1!Microsoft.SystemCenter.CmdbInstanceSubscription.DataSourceModule"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Subscription&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RelationshipSubscription RelType="$MPElement[Name='WorkItem!System.WorkItemAssignedToUser']$" SourceType="$MPElement[Name='WorkItem_ServiceRequest!System.&lt;span style="background-color: #ffff00;"&gt;WorkItem.ServiceRequest'&lt;/span&gt;]$" TargetType="$MPElement[Name='System!System.Domain.User']$"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AddRelationship&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/AddRelationship&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/RelationshipSubscription&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;Whom to notify.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This will decide whom to send the notification. This we can change based on the requirement.&lt;/p&gt;
&lt;p&gt;&amp;lt;WorkflowArrayParameter Name="UserAliasOrRelationships" Type="string"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Item&amp;gt;$MPElement[Name='WorkItem!System.&lt;span style="background-color: #ffff00;"&gt;WorkItemAssignedToUser&lt;/span&gt;']$&amp;lt;/Item&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/WorkflowArrayParameter&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/WorkflowParameters&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have attached 2 MPs with this blog for all 5 scenarios.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3570762" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-57-07-62/MPs.zip" length="4403" type="application/zip" /><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/assignment+notification+for+Incident_2F00_Service+Request/">assignment notification for Incident/Service Request</category><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/Notify+Recent+action+log+comments+to+user/">Notify Recent action log comments to user</category><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/Service+Manager+Custom+Notification/">Service Manager Custom Notification</category></item><item><title>How to install Service Manager 2012 SP1 with a SQL 2012 AlwaysON Availability Groups?</title><link>http://blogs.technet.com/b/babulalghule/archive/2013/02/17/how-to-install-service-manager-2012-sp1-with-a-sql-2012-alwayson-availability-groups.aspx</link><pubDate>Sun, 17 Feb 2013 05:16:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3553069</guid><dc:creator>Babulal Ghule</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/babulalghule/rsscomments.aspx?WeblogPostID=3553069</wfw:commentRss><comments>http://blogs.technet.com/b/babulalghule/archive/2013/02/17/how-to-install-service-manager-2012-sp1-with-a-sql-2012-alwayson-availability-groups.aspx#comments</comments><description>&lt;p&gt;In this blog post, I walk you through the steps to install Service Manager 2012 SP1 with a SQL 2012 AlwaysON Availability Groups.&lt;/p&gt;
&lt;p&gt;First, let&amp;rsquo;s understand the two scenarios for using SQL AlwaysON availability Groups for Service Manager.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Service Manager is already installed.&lt;/li&gt;
&lt;li&gt;New installation of Service Manager.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In first scenario, we need to create availability group for already installed Service Manager Database and follow the Service Manager Database movement process (&lt;a href="http://blogs.technet.com/b/servicemanager/archive/2012/04/22/moving-the-service-manager-and-dw-databases.aspx"&gt;link&lt;/a&gt;) and use availability group listener as new SQL server name.&lt;/p&gt;
&lt;p&gt;For second scenario, create availability group and use availability group listener name as SQL server name for installing service manager.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here are the high level steps:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install two node windows server 2012 cluster.&lt;/li&gt;
&lt;li&gt;Install SQL Server 2012 on both the nodes.&lt;/li&gt;
&lt;li&gt;Create and configure AlwaysON Availability Group.&lt;/li&gt;
&lt;li&gt;Pre-requisite for Service Manager 2012 SP1 install on SQL AlwaysON.&lt;/li&gt;
&lt;li&gt;Install Service Manager.&lt;/li&gt;
&lt;li&gt;Test failover.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Let&amp;rsquo;s start with brief overview of SQL AlwaysON Availability Groups&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;An availability group supports a failover environment for a discrete set of user databases, known as availability databases that fail over together. An availability group supports a set of primary databases and one to four sets of corresponding secondary databases. Availability groups leverage Windows Server Failover Clustering (WSFC) functionality and enable multiple features not available in database mirroring.&lt;/p&gt;
&lt;p&gt;Please refer this (&lt;a href="http://technet.microsoft.com/library/ff877884(v=SQL.110).aspx"&gt;link&lt;/a&gt;) TechNet for&amp;nbsp;the details on SQL AlwaysON Availability Groups.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1: &amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Setup windows Server 2012 cluster, I recently wrote a blog on installing windows cluster on virtual machines.&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/babulalghule/archive/2013/02/16/how-to-configure-two-node-windows-server-2012-cluster-on-virtual-machines-for-testing.aspx"&gt;http://blogs.technet.com/b/babulalghule/archive/2013/02/16/how-to-configure-two-node-windows-server-2012-cluster-on-virtual-machines-for-testing.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Install SQL Server 2012 on both the nodes with SQL Service running on domain account.&lt;/p&gt;
&lt;p&gt;For detailed pre-requisite for SQL AlwaysON Availability Groups refer this &lt;a href="http://technet.microsoft.com/en-US/library/ff878487"&gt;link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Enable SQL alwaysON feature on both the nodes.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SQL Server Configuration Manager -&amp;gt; SQL Server Services -&amp;gt; Open properties of the SQL Service&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;AlwaysON High Availability&amp;rdquo; tab and check &amp;ldquo;Enable AlwaysON Availability Groups&amp;rdquo; and restart SQL Service for changes to take effect.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3108.EnableSQLAlwaysON.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3108.EnableSQLAlwaysON.jpg" alt="" width="388" height="215" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Create SQL AlwaysON Availability Group&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pre-Requisite:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Need minimum one database to create availability group.&lt;/li&gt;
&lt;li&gt;Any databases that you are planning to add to availability groups should have &lt;strong&gt;&amp;ldquo;Full&amp;rdquo; &lt;/strong&gt;recovery&lt;strong&gt; &lt;/strong&gt;mode.&lt;/li&gt;
&lt;li&gt;Take the full backup of database which you&amp;nbsp;are adding to the availability groups.&lt;/li&gt;
&lt;li&gt;Need shared network location which is accessible to both the nodes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We will create sample database in order to create availability group for Service Manager Installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create Sample database with full recovery mode and take the full backup of the database.&lt;/li&gt;
&lt;li&gt;Create shared network location&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;m using same windows cluster setup which is described on this &lt;a href="http://blogs.technet.com/b/babulalghule/archive/2013/02/16/how-to-configure-two-node-windows-server-2012-cluster-on-virtual-machines-for-testing.aspx"&gt;blog&lt;/a&gt;&amp;nbsp;post.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Created share (\\iSCSITarget\SQLAlwaysON) on my iSCSI target server from Server Manager -&amp;gt; File and Storage Services -&amp;gt; Shares.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Create Availability Group &lt;/strong&gt;(Refer this &lt;a href="http://msdn.microsoft.com/en-us/library/hh403415.aspx"&gt;link&lt;/a&gt; for details)&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open SQL Management studio on any of the SQL Server node.&lt;/li&gt;
&lt;li&gt;AlwaysON High Availability -&amp;gt; right click on Availability Groups&amp;nbsp; and select &amp;ldquo;New Availability Group Wizard&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0042.NewAvaalabilityGroupWizard.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0042.NewAvaalabilityGroupWizard.jpg" alt="" width="381" height="307" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Specify Availability Group Name.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6038.AGName.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6038.AGName.jpg" alt="" width="424" height="213" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;SampleDB &lt;/strong&gt;on databases selection tab.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1856.SelectDB.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1856.SelectDB.jpg" alt="" width="434" height="246" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add secondary SQL node on Specify Replicas tab.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0882.SpecifyReplica.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0882.SpecifyReplica.jpg" alt="" width="437" height="284" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0363.SelectSecondNode.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0363.SelectSecondNode.jpg" alt="" width="437" height="346" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select the options on each of the four tabs (Replicas, Endpoints, Backup preferences and listener) which suit your requirement. This TechNet &lt;a href="http://msdn.microsoft.com/en-us/library/hh213088.aspx#ReplicasTab"&gt;link&lt;/a&gt;&amp;nbsp;has very good explanations on all four tabs and options available.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4010.relicas2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4010.relicas2.jpg" alt="" width="495" height="299" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4401.backuppref.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4401.backuppref.jpg" alt="" width="492" height="333" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On Listener tab select Create an availability group listener.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;Listener DNS Name:&lt;/strong&gt; Specify the network name of the listener. This name must be&amp;nbsp;unique on the domain and can contain only alphanumeric characters, dashes&amp;nbsp; (&lt;strong&gt;-&lt;/strong&gt;), and hyphens (&lt;strong&gt;_&lt;/strong&gt;), in any order. When specified&amp;nbsp;by using the Listener tab, the DNS name can up to 15 characters long.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000; background-color: #ffffff;"&gt;&lt;strong&gt;&amp;nbsp;This DNS Name will be used as SQL Server Name for Service Manager Installation.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Port: &lt;/strong&gt;Specify the TPC port used by this listener.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;This port will be used as SQL Server port for Service Manager Communications with database.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5873.listener.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5873.listener.jpg" alt="" width="487" height="290" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On Initial Data Synchronization page, select option (Full, Join Only and Skip initial data synchronization) which suits your requirement. This TechNet &lt;a href="http://msdn.microsoft.com/en-us/library/hh231021.aspx"&gt;link&lt;/a&gt; has very good explanations on all three options available.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6661.InitialDataSync.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6661.InitialDataSync.jpg" alt="" width="536" height="269" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On Validation page, see if all success.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8322.validation.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8322.validation.jpg" alt="" width="522" height="251" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click on Finish on Summary page and then click on Close to finish the availability group creation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In SQL Management studio, this availability group and listener will look like as below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4857.SQLMgmt2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4857.SQLMgmt2.jpg" alt="" width="373" height="203" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On Failover cluster Manager, it will appear under Roles.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4478.fcm1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/4478.fcm1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Now, it&amp;rsquo;s time to install Service Manager&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Follow the planning and deployment guides for all the standard Service Manager installation pre-requisite.&lt;/li&gt;
&lt;li&gt;During the installation specify the Database server as Availability Group listener DNS name.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3482.SMDBPage.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3482.SMDBPage.jpg" alt="" width="532" height="252" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;And complete the installation steps as per the service manager deployment guide.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configure Service Manager Database for Availability Groups&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service Manager Installation using the SQL availability group listener does not configure Service Manager Database in availability groups.&lt;/li&gt;
&lt;li&gt;To configure Service Manager database in availability group, change the recovery model (refer this &lt;a href="http://msdn.microsoft.com/en-us/library/ms189275.aspx"&gt;link&lt;/a&gt; for details on Recover Model) from &lt;strong&gt;Simple &lt;/strong&gt;to&lt;strong&gt; Full&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Take full backup of Service Manager Database.&lt;/li&gt;
&lt;li&gt;Right click on Availability Databases -&amp;gt; &amp;nbsp;Add Database wizard and follow the instruction on wizard to add Service Manager Database to the Availability Databases.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7607.AddDB.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7607.AddDB.jpg" alt="" width="384" height="438" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Verify that if you see the Service Manager database on secondary node.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6431.node2DB.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/6431.node2DB.jpg" alt="" width="398" height="438" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Now, it&amp;rsquo;s time to test Service Manager Database failover&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open failover cluster manager and verify the owner node.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2654.FCM2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2654.FCM2.jpg" alt="" width="529" height="250" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on availability group and move to secondary node.&lt;/li&gt;
&lt;li&gt;If you are using immediate failback option then this will immediately failback to primary.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In my case I&amp;rsquo;m using prevent failback.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7288.AGProperty.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7288.AGProperty.jpg" alt="" width="397" height="540" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open Service Manager Console and verify if everything is working fine after failover.&lt;/li&gt;
&lt;li&gt;After failover I got few errors in the OpsMgr logs, first thing I provided permission for Service Manager SDK service account on SM database on secondary node.&lt;/li&gt;
&lt;li&gt;Restarted the SDK restart and got the below error.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Operations Manager&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataAccessLayer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16-02-2013 12:37:17&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33333&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Task Category: None&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Warning&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCSMSP1.monlab.com&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Description: &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;Data Access Layer rejected retry on &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;SqlError:&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;Request: ObjectTemplateByCriteria --&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;(LanguageCode1=ENN), (LanguageCode2=ENU), &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;(TypeID0=4b1e00f8-1f3d-ad95-acdb-5587b3cf7147), (LastModified0=16-02-2013&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;19:43:53)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;Class: 16&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;Number: 6263&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ffff00;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;Message: Execution of user code in the .NET Framework is disabled. &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;Enable "clr enabled" configuration option&lt;/span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Executed below query on secondary node&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sp_configure 'clr&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enabled', 1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; go&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reconfigure&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; go&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I forgot to run this SQL query on secondary node before attempting to failover.&lt;/p&gt;
&lt;p&gt;Now everything&amp;nbsp;works as expected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3553069" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/SQL+AlwaysON+Availability+Group/">SQL AlwaysON Availability Group</category><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/Service+Manager+Installation/">Service Manager Installation</category></item><item><title>How to configure two node Windows Server 2012 cluster on Virtual Machines for testing?</title><link>http://blogs.technet.com/b/babulalghule/archive/2013/02/16/how-to-configure-two-node-windows-server-2012-cluster-on-virtual-machines-for-testing.aspx</link><pubDate>Sat, 16 Feb 2013 10:44:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3553016</guid><dc:creator>Babulal Ghule</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/babulalghule/rsscomments.aspx?WeblogPostID=3553016</wfw:commentRss><comments>http://blogs.technet.com/b/babulalghule/archive/2013/02/16/how-to-configure-two-node-windows-server-2012-cluster-on-virtual-machines-for-testing.aspx#comments</comments><description>&lt;p&gt;In this blog post, I walk you through the steps to quickly setup windows server 2012 cluster on virtual machines in test lab.&lt;/p&gt;
&lt;p&gt;To start with, we need 3 windows server 2012 virtual machines. Out of 3, one will be used as an iSCSI target (&lt;a href="http://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-of-iscsi-target-in-windows-server-2012.aspx"&gt;details on iSCSI target&lt;/a&gt;) and other two will be part of the two node windows cluster.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1: Configure iSCSI target&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pre-requisite&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Created Virtual Machine with Windows Server 2012 OS&lt;/li&gt;
&lt;li&gt;Joined to my test lab domain&lt;/li&gt;
&lt;li&gt;Added extra virtual hard disk (100 GB) to this machine which I will use as shared storage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Install the iSCSI Target Server feature&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add Roles and Features Wizard -&amp;gt; Server Roles -&amp;gt; File and Storage Services -&amp;gt; File and iSCSI Service&lt;/li&gt;
&lt;li&gt;Select iSCSI Target Server and then click on Add Features&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5102.iSCSITarget.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5102.iSCSITarget.jpg" alt="" width="437" height="248" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5672.iSCSITarget_2D00_AddFeatures.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5672.iSCSITarget_2D00_AddFeatures.jpg" alt="" width="399" height="260" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="text-align: left;"&gt;Restart the virtual machine to complete the feature installation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Start iSCSI Initiator on the two Cluster nodes&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Server Manager -&amp;gt; Tools -&amp;gt; Click on the iSCSI Initiator&lt;/li&gt;
&lt;li&gt;Click on yes to start the iSCSI service and then click on OK on iSCSI Initiator property window&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5430.iSCSIInitiator.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5430.iSCSIInitiator.jpg" alt="" width="361" height="146" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configure iSCSI Target Server&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Server Manager -&amp;gt; File and Storage Services -&amp;gt; iSCSI&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7450.ConfigureISCSITarget_2D00_1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7450.ConfigureISCSITarget_2D00_1.jpg" alt="" width="463" height="198" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click on&lt;strong&gt; &amp;ldquo;To Create an iSCSI virtual disk, start the new iSCSI virtual Disk Wizard&amp;rdquo;.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This disk will be used as a shared disk on the two cluster nodes.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select the storage location and click Next&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3324.ConfigureISCSITarget_2D00_2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3324.ConfigureISCSITarget_2D00_2.jpg" alt="" width="425" height="366" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Provide the name for this iSCSI virtual disk&lt;/li&gt;
&lt;li&gt;Specify iSCSI virtual disk size&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8664.ConfigureISCSITarget_2D00_3.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8664.ConfigureISCSITarget_2D00_3.jpg" alt="" width="430" height="149" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create the iSCSI target&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1004.ConfigureISCSITarget_2D00_4.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1004.ConfigureISCSITarget_2D00_4.jpg" alt="" width="437" height="337" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Provide the suitable name for iSCSI target, I&amp;rsquo;m using server name as iSCSI target name&lt;/li&gt;
&lt;li&gt;Add the servers who can access this iSCSI storage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3187.ConfigureISCSITarget_2D00_5.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3187.ConfigureISCSITarget_2D00_5.jpg" alt="" width="399" height="514" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3364.ConfigureISCSITarget_2D00_6.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3364.ConfigureISCSITarget_2D00_6.jpg" alt="" width="497" height="182" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click Next on Enable Authentication&lt;/li&gt;
&lt;li&gt;Click create on Confirmation tab and on successful completion, you will see below screen&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7115.ConfigureISCSITarget_2D00_7.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7115.ConfigureISCSITarget_2D00_7.jpg" alt="" width="399" height="257" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configure iSCSI initiator on both nodes&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Server Manager -&amp;gt; Tools -&amp;gt; iSCSI initiator&lt;/li&gt;
&lt;li&gt;Type the target server name and click on Quick Connect&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7587.ConfigureISCSIInitiator_2D00_1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/7587.ConfigureISCSIInitiator_2D00_1.jpg" alt="" width="367" height="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If connection successful, you will see below screen&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8737.ConfigureISCSIInitiator_2D00_2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8737.ConfigureISCSIInitiator_2D00_2.jpg" alt="" width="365" height="505" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configure the Disks on the iSCSI initiators i.e. Cluster Nodes&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Server Manager -&amp;gt; Computer Management -&amp;gt; Disk Management&lt;/li&gt;
&lt;li&gt;Select the disk and make it online and then initialize it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8865.OnlineDisk.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8865.OnlineDisk.jpg" alt="" width="395" height="106" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5314.InitializeDisk.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5314.InitializeDisk.jpg" alt="" width="393" height="141" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create the simple volume&lt;/li&gt;
&lt;li&gt;Also on other node, make the disk online&lt;/li&gt;
&lt;li&gt;Now this disk will be visible on both the nodes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Installing Windows Cluster&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On Both the nodes install Failover Clustering feature from Server Manager -&amp;gt; Add Roles and Features -&amp;gt; Features&lt;/li&gt;
&lt;li&gt;Login to one of the node and open the Failover cluster Manager (Server Manager -&amp;gt; Tools)&lt;/li&gt;
&lt;li&gt;Click on Validate configuration&lt;/li&gt;
&lt;li&gt;Add both the node names and run the validation test.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5850.Cluster1.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5850.Cluster1.jpg" alt="" width="392" height="330" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;After validation tests are successful, click on finish to create the cluster&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0564.Cluster2.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0564.Cluster2.jpg" alt="" width="397" height="349" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Provide the suitable name for your cluster&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3771.Cluster3.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3771.Cluster3.jpg" alt="" width="407" height="190" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click Next on Confirmation and Create New Cluster tabs and click on finish once the creation is complete.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now cluster is ready to use, have fun!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3553016" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/WinSrv+2012+VM+Clustering/">WinSrv 2012 VM Clustering</category></item><item><title>How to create alternate URL for Service Manager Self Service Portal?</title><link>http://blogs.technet.com/b/babulalghule/archive/2013/01/10/how-to-create-alternate-url-for-service-manager-self-service-portal.aspx</link><pubDate>Thu, 10 Jan 2013 14:16:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3545153</guid><dc:creator>Babulal Ghule</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/babulalghule/rsscomments.aspx?WeblogPostID=3545153</wfw:commentRss><comments>http://blogs.technet.com/b/babulalghule/archive/2013/01/10/how-to-create-alternate-url-for-service-manager-self-service-portal.aspx#comments</comments><description>&lt;p&gt;In this blog post, I will walk you through the scenario where Web Content Server (WCS) and SharePoint web parts are on different servers.&lt;/p&gt;
&lt;p&gt;First, let&amp;rsquo;s understand how self-service portal works.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1307.Dataflow.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1307.Dataflow.png" alt="" width="318" height="163" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;The flow of data is as follows:&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The client accesses the Self-Service Portal with a browser by specifying the URL for the SharePoint server.&lt;/li&gt;
&lt;li&gt;The SharePoint server returns Silverlight code that creates a web page containing the basic framework of the Self-Service Portal and also the URL for the web content server computer. The URL for the web content server computer was defined when you installed the Self-Service Portal.&lt;/li&gt;
&lt;li&gt;The client computer, which is now running the Silverlight code, makes a connection to the web content server computer using the URL in step 2.&lt;/li&gt;
&lt;li&gt;The web content server computer reads and writes data to the Service Manager database. The computer name for the Service Manager Database was defined when you installed the web content server.&lt;/li&gt;
&lt;li&gt;The web content server computer returns the data that makes up the center pane on the Self-Service Portal page.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;If you install Self-Service Portal (SSP) with SSL, things to remember.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The certificates that you use for the Self-Service Portal must be issued from a Certification Authority that is trusted by the client.&lt;/li&gt;
&lt;li&gt;The name on the certificate for the SharePoint website server must match the URL that your users enter into the browser. For example, if the user types the URL &lt;a href="https://portal/SMPortal"&gt;https://ServiceDesk/SMPortal&lt;/a&gt;, then the certificate must have been issued to&amp;nbsp;&lt;strong&gt;ServiceDesk&lt;/strong&gt; and not to FQDN, for example, &lt;strong&gt;ServiceDesk.woodgrove.com&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The name on the certificate for the web content server must match the name that you entered when you deployed the SharePoint website server.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;If you are deploying both the SharePoint website server and web content server on the same computer, you need only one certificate. That one certificate will work for both ports. If you are deploying the SharePoint website server and web content server on different servers (which is recommended in a production environment), you will need one certificate for each computer.&lt;/p&gt;
&lt;p&gt;Please refer these TechNet links for more details&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/hh914195.aspx"&gt;http://technet.microsoft.com/en-us/library/hh914195.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/hh667343.aspx"&gt;http://technet.microsoft.com/en-us/library/hh667343.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Ok, let&amp;rsquo;s continue with our scenario.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I will&amp;nbsp;install the WCS and SharePoint on two different servers and will use &lt;a href="https://servicedesk/SMPortal"&gt;https://ServiceDesk/SMPortal&lt;/a&gt; as my portal&amp;nbsp;URL and not the &lt;a href="https://%3cservername%3e/SMPortal"&gt;https://&amp;lt;ServerName&amp;gt;/SMPortal&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We need to create the DNS record for &lt;strong&gt;ServiceDesk&lt;/strong&gt; and point it to Service Manager Portal Server (in this scenario to the server where we will&amp;nbsp;install SharePoint web parts).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2287.DNSRecord.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2287.DNSRecord.png" alt="" width="417" height="240" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step2:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Here, we need to create two certificates one for WCS and other for alias name (Sharepoint server)&lt;/p&gt;
&lt;p&gt;1. Create the certificate for this alias name.&lt;/p&gt;
&lt;p&gt;For our scenario, I&amp;rsquo;ll create it from IIS -&amp;gt; Server Certificates -&amp;gt; Create Domain Certificate&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8203.Cert.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/8203.Cert.png" alt="" width="504" height="373" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On next page you need to select CA.&lt;/p&gt;
&lt;p&gt;When you create the certificate it will look like this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1754.Cert2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/1754.Cert2.png" alt="" width="424" height="556" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Issued to name should be same as URL&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2. I'll use same method to create the certificate for&amp;nbsp;WCS server (this certificate issued to name will be same as URL in&amp;nbsp;the application settings on the SharepointServer)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0317.WCSCert.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/0317.WCSCert.png" alt="" width="424" height="581" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sharepoint Server -&amp;gt; IIS -&amp;gt; Service Manager Portal -&amp;gt; Application Settings&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2313.appsetting.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/2313.appsetting.png" alt="" width="394" height="248" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note :&lt;/strong&gt; WCS certifcate issued to name and name in this URL should match.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 3: Install SSP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Install WCS, refer&amp;nbsp;this link for details &lt;a href="http://technet.microsoft.com/en-us/library/hh524264.aspx"&gt;http://technet.microsoft.com/en-us/library/hh524264.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and then Install Sharepoint WebPart, refer this link for details &lt;a href="http://technet.microsoft.com/en-us/library/hh495676.aspx"&gt;http://technet.microsoft.com/en-us/library/hh495676.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 4: &lt;/strong&gt;&lt;strong&gt;Configure the Alternate Access Mappings (AAM)&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Alternate Access Mappings (AAM) allows you to modify results URLs based on the access URLs for a site. For SSP we are using the URL as &lt;strong&gt;ServiceDesk&lt;/strong&gt; and not server name so to allow this in SharePoint we need to configure AAM.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Steps to configure it: &lt;/strong&gt;&lt;a href="http://technet.microsoft.com/en-us/sharepoint/ff679917.aspx"&gt;http://technet.microsoft.com/en-us/sharepoint/ff679917.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SharePoint Central Administration -&amp;gt; Application Management -&amp;gt; Configure Alternate Mappings -&amp;gt; Select the Service Manager Portal URL -&amp;gt; Edit Public URLs -&amp;gt; and update the alternate URL&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5582.SP1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/5582.SP1.png" alt="" width="685" height="232" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3581.SP2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-53/3581.SP2.png" alt="" width="486" height="300" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3545153" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/babulalghule/archive/tags/Service+Manager+Self+Service+Portal/">Service Manager Self Service Portal</category></item></channel></rss>