Pages

Tuesday 14 October 2014

Convert Windows Server Evaluation Version into Windows Server Retail(Full) Version (Activation of Windows Server 2012/2012 R2)

Procedure for Activating Windows Server 2012/2012 R2 Evaluation version into Retail(Full) Version is not possible with the GUI wizard.

It can be done only using Command-Prompt.

Follow the below procedure for activating Windows Server 2012/2012 R2 Evaluation Version into Windows Server 2012/2012 R2 Retail(Full) Version-

i) Open Command-Prompt with Run as Administrator.

ii) Enter the following command to check the current edition of installed operating system-
   
    dism /online /get-CurrentEdition



iii) Enter the next command to upgrade it to full version (Standard Eval to Standard Full Version/ Datacenter Eval to Datacenter Full Version/ Standard Eval to Datacenter Full version)

Note:- You cannot downgrade the version. Ex- If Current Edition is Datacenter Eval edition, then it cannot be downgraded to Standard Full version.

Run this command to upgrade it to the full edition-

   dism /online /Set-Edition: ServerStandard /ProductKey:"Enter your Product key here" /AcceptEula



iv) Enter "Y" to restart the computer.



v) Click Close.




Hope it helps!

If any issues, please post your comments/feedback so that we can provide much better solutions.








Monday 13 October 2014

Ports Required for Agent Push Installation for Windows Computers/Servers Monitoring using SCOM console

I have observed that people face Ports related issues many times. So here, I have listed all the Ports Requirements require for Agent Push Installation for Windows Computers/Servers using Discovery Wizard in SCOM console.

      Source Server                                 Destination Server                  Ports
Agent-Managed computers            SCOM Management Server          5723/TCP
SCOM Management Server          Agent-Managed computers            137/UDP, 138/UDP, 139/TCP,
                                                                                                              445/TCP, 135/TCP.


Note:- If the ports mentioned below are not opened between Agent-Managed Computers and SCOM Management Server, then this discovery wizard will not be able to push SCOM agent on those computers using Discovery Wizard in SCOM console.

  • RPC/DCOM High ports (for Windows Server 2000/2003 OS) Ports 1024-5000 Protocol: TCP/UDP
  • RPC/DCOM High ports (for Windows Server 2008/2008 above OS) Ports 49152-65535 Protocol: TCP/UDP


Steps for Agent Push Installation using SCOM Console-

i)          Log on to the Operations console with an account that is a member of the Operations Manager Administrators role.
ii)         Click Administration.
iii)                 At the bottom of the navigation pane, click Discovery Wizard.
iv)                 On the Discovery Type page, click Windows computers. Click Next.
          

v)                  Select Advanced discovery, continue with the following steps.
a.       In the Computer and Device Classes list, select Servers Only.
b.      In the Management Server list, click the Management server or Gateway server to discover the computers.

vi)                 Click Next.
vii)               On the Discovery Method page, Select Browse for, or type-in computer names, and click Browse, specify the names of the computers that you want to manage, and then click OK.  
       
viii)              Click Next.
ix)                 On the Administrator Account page, Select Other user account and then type the username and password, and then select the Domain from the list.  
x)                  Click Discover to display the Discovery progress page.
       
xi)                 On the Select Objects to Manage page, do the following:
a. Select the computers that you want to be agent-managed computers.
b. In the Management Mode list, click Agent and then click Next.
             
xii)               Click Next.
xiii)              On the Summary page, review the Installation directory. Leave Agent Action Account set to the default, Local System and click Finish. 
           

            xiv)   In the Agent Management Task Status dialog box, the Status for each selected computer changes from Queued to Success; the computers are ready to be managed. Click Close.
               


Hope it helps!

If any improvement is required in this post, please post your comments/feedback so that we can provide much better solutions.



Wednesday 1 October 2014

Resolution: Cannot connect to the Service Manager portal WCF service in Service Manager 2012 SP1/R2

In my case, I installed Service Manager Self-Service Portal with the "HTTP" binding and behavior with the custom ports like 446 and 447. The portal was installed successfully but the Data Access Service was not able to run due to default configuration of "HTTPS binding and behavior" configured in the web.config file under the path "C:\inetpub\wwwroot\System Center Service Manager Portal\ServiceHost".
Server Error in '/ServiceHost' Application.
Could not find a base address that matches scheme https for the endpoint with binding CustomBinding.
Registered base address schemes are [http].
-------------------------------------------------------------------------------
Solution-->
Default Configuration of Web.config file in my case-->
<services>
      <!--Data Access service-->
      <service behaviorConfiguration="DefaultHttpsServiceBehavior" name="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.DataAccessService">
        <!--Note:Recommended bindingConfiguration is DefaultHttpsBinding for production environment.
        If bindingConfiguration=DefaultHttpsBinding then behaviorConfiguration should be DefaultHttpsServiceBehavior-->
        <endpoint address="" binding="customBinding" bindingConfiguration="DefaultHttpsBinding"
                  contract="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.IDataAccessService">
        </endpoint>
      </service>
    </services>
Corrected Configuration of Web.config file in my case-->
<services>
      <!--Data Access service-->
      <service behaviorConfiguration="DefaultHttpServiceBehavior" name="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.DataAccessService">
        <!--Note:Recommended bindingConfiguration is DefaultHttpsBinding for production environment.
        If bindingConfiguration=DefaultHttpsBinding then behaviorConfiguration should be DefaultHttpsServiceBehavior.
       If bindingConfiguration=DefaultHttpBinding then behaviorConfiguration should be DefaultHttpServiceBehavior-->
        <endpoint address="" binding="customBinding" bindingConfiguration="DefaultHttpBinding"
                  contract="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.IDataAccessService">
        </endpoint>
      </service>
    </services>

Hope it helps!

If any improvement is required in this post, please post your comments/feedback so that we can provide much better solutions.

Configure Global Service Monitor in SCOM

I was recently working on configuring GSM in SCOM and during that time, I faced some issues in configuring GSM.

The issue which I getting in SCOM is mentioned below-

Global Service Monitor Modules:  Failed step: 'Couldn't get the ACS endpoint from discovery service. SubscriptionId: '1f156904-532e-416f-b570-1141438392a3', OutsideInServiceBaseUri: 'https://gsm-prod.systemcenter.microsoft.com/''. Diagnostic context: RequestId = '0fe72d85-989c-4c1b-89c1-1f4b641c1578', New ConfigHash = '65afc4b6-c18d-5e68-56d3-482e2db1851a', '1' tests, Last ConfigHash = '00000000-0000-0000-0000-000000000000'. Exception: 'There was no endpoint listening at https://gsm-prod.systemcenter.microsoft.com/DiscoveryService/1f156904-532e-416f-b570-1141438392a3/Endpoints that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.'


I worked a lot to resolve this issue and then I got the solution. The issue due to which my SCOM server was not able to connect to GSM was GSM Subscription was not activated. I found everywhere that Windows Azure Subscription is also needed but it was not mentioned on the Microsoft site. You need Microsoft Software Assurance License Agreement to use GSM. Microsoft gives 30-days free trial to use Microsoft Software Assurance for Global Service Monitor.

I have provided the below steps to configure GSM Subscription:-
i) Here, I have highlighted the license terms required for subscription. Please read it.

ii) If you don't have any Organizational account, then Sign up for GSM. 

 iii) Goto the Services tab, click on System Center Global Service Monitor.

iv) Click on Use as a Software Assurance Benefit.

v) Fill the required details and Accept the license terms.

vi) Now, click on Download to download the GSM setup.

vii) Run this GSM.msi setup on the SCOM Management Server and then Open the SCOM console.
viii) Navigate to the SCOM Administration pane and  Import the GSM Management Packs. from the installed location.
ix) After the GSM MP’s are imported, look into the Administration pane and you will see the Global Service Monitor Required Configuration Task window.
x) Click on Install Windows Identity Foundation.
xi) To Install WIF on Windows Server machine, Goto Server Manager, click on Add Roles and Features. To install WIF on the client machine (ex.- Windows 7/Windows 8), download WIF 3.5 setup and install it.
xii) Click Next till you goto the Features page.
xiii) On the Features page, select Windows Identity Foundation 3.5 and click Next.
xiv) Click Install.
xv) After installation of the WIFGo back to the SCOM Administration pane, in the Global Service Monitor windows, click on Start subscription.
xvi) Enter the Subscription Credentials details using your Organizational account credentials. Click Next.
xvii) Select either the default pool All Management Servers Resource Pool or create a new Resource pool for GSM. Please make sure the Management Servers which are a part of this pool must have access to Internet.
xviii) Specify proxy server details, if any and then click Next.
xix) Click on Start Subscription.
xx) Click Finish
xxi) Click on Configure Web Application Availability Tests.
xxii) Select Web Application Availability Monitoring and click Next.
xxiii) Create a Management pack for GSM and the website you want to monitor.
xxiv) Enter the website name and URL that you want to monitor from the external locations.
xxv) On the Where to monitor From page, select Add in the External locations and search for the locations where you want to monitor your website from.
xxvi) When selected click OK to add the watcher nodes.
xxvii) Review your test result and Close the test Result pane.
xxviii) Click on View test state.



Hope it helps!

If any improvement is required in this post, please post your comments/feedback so that we can provide much better solutions.

Tuesday 19 August 2014

Issues in booting the Windows Server OS after installation???

Are you getting issues in booting OS?? Then you are on the right page to find the solution to fix this issue.

I was facing the same issue in booting my Windows Server 2012 R2 VM due to missing of Boot Partition.

The following error was occurring on the screen-
"Boot failure. Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device"

This issue mostly occurs when your default OS partition is missing on the disk. To Fix it, boot your VM or physical machine from Windows Server 2012 R2 OS media and then select "Repair your computer"
Then choose an option "Troubleshoot" and then select "Command Prompt".
Under Command prompt screen, type the following commands
X:\Sources> cd recovery (Press Enter)
X:\Sources\recovery> StartRep.exe (Press Enter)

Wait for few seconds...

Now restart your machine and boot your OS from Hard drive....................

Cheers!!


Hope it helps!

If any improvement is required in this post, please post your comments/feedback so that we can provide much better solutions.

Monday 4 August 2014

Exchange Server 2013 Monitoring View in System Center Operations Manager 2012 SP1/R2

During the delivery of SCOM projects, I have gone through a no. of objections/questions for Exchange Server 2013 Monitoring View in System Center Operations Manager 2012 SP1/R2.

The questions was related to :-
a) Why there are only 3 views in Exchange Server 2013 Management Pack unlike Exchange Server 2010?
b) Exchange Services Alerts are not coming into SCOM console.
c) If any Exchange Database is mounted, then alert should be raised in SCOM.
d) If Mail queues goes beyond 100, it should create alerts in SCOM.e) A separate view for Size of Mailbox database.


Hereby, as per my understanding and experience, I would like to provide you with an explanation for why we have only 3 views by default in "Exchange Server 2013 Management Pack".

The Microsoft Exchange Server 2010 monitoring management pack is designed to be used for monitoring Exchange 2010 events, collecting Exchange component-specific performance counters in one central location, and for raising alerts for operator intervention as necessary. By detecting, sending alerts, and automatically correlating critical events, this management pack helps indicate, correct, and prevent possible service outages or configuration problems, allowing you to proactively manage Exchange servers and identify issues before they become critical. The management pack monitors and provides alerts for automatic notification of events indicating service outages, performance degradation, and health monitoring. The Exchange Server 2010 management pack includes a new Windows service component called the correlation engine. This service determines the best alert to raise by examining the Exchange 2010 health model through the Operations Manager SDK service. In short, this service maintains the Exchange health model in memory, reviews the faults for instances within the Health Model over the last 90 seconds and raises an alert for the fault lowest in the health model. The end result is fewer false alerts, as the correlation engine attempts to raise an alert for the source cause of the service

Now this complete architecture of monitoring has been changed in Exchange Server 2013 with the introduction of a new feature called “Managed Availability”. In the Exchange 2013 Management Pack, the correlation engine is no longer used. Each monitored Exchange server 2013 is responsible for monitoring its own health, and simply reports this via the Operations Manager agent. There is a little bit of roll-up going on, from Exchange server to Organization health. There are no special components running on the Operations Manager Management Servers.
“Managed Availability” contains logic for how to determine Exchange health. It detects issues, automatically performs recoveries (Exchange calls these “responders”) and ultimately notifies operators of issues, if the recoveries were not successful. The purpose of this of course, is high availability. Managed Availability is explained in more detail here.
In other words All the monitors in Exchange server 2010 MP, are simple event-based monitors using events in the Microsoft-Exchange-Managed Availability/Monitoring event log, logged by each Exchange server. So, each Exchange server is responsible for monitoring itself and its health.


So the key points here :
+ In Ex 2010, we used to probe and then decide the health of Exchange using probes, scripts, monitors, rules and correlation engine
+ In Ex 2013, this is built-in to Exchange
+ Every Exchange server monitors its own health and tries to handle any issues that it finds on its own, this is called Managed Availability .
+ What it cannot handle is logged as an event in the managed availability - MA event log
+ Exchange 2013 MP looks at this event log and then change state/generate alerts.
+ So unlike the Ex 2010 MP, there is pretty much no scope of customization in the Ex 2013 MP
+ This is because all thresholds and limits are now a part of Exchange(2013) itself.
+ These are not properties of the MP workflows anymore.
+ There is NO way to configure the Ex 2013 Mp to behave exactly like the Ex 2010 MP
+ All changes in behavior and thresholds need to be done on the Exchange side now.
+ These are not configurable through SCOM

If you want to change a threshold for some monitor, this is done in the Exchange Managed Availability engine via PowerShell cmdlets. This does not involve Operations Manager at all. The Exchange Management Pack Guide walks through this scenario in some detail here. Since this kind of override is a modification of Exchange behavior, this kind of override is most commonly done by the Exchange administrator. In terms of interoperability, this Management Pack does not upgrade the Exchange 2010 Management Pack, this is a completely new MP. It is possible to run these Management Packs side-by-side as you upgrade your Exchange environment from 2010 to 2013.

Please find the useful articles below:
System Center: Operations Manager Engineering Blog
MP Blog: Exchange 2013 Management Pack released

Lessons from the Datacenter: Managed Availability

Customizing Managed Availability

What's New in Exchange 2013
http://technet.microsoft.com/en-us/library/jj150540(v=exchg.150).aspx



Hope it helps!

If any improvement is required in this post, please post your comments/feedback so that we can provide much better solutions.

Wednesday 6 February 2013

Do you know "How to install Windows Server 2012 Operating System" ??

In this post, I have provided the steps required for installation of  both Windows Server 2012 Standard Edition / Datacenter Edition - Server Core Installation, Server with a GUI


First, your system should meet the basic requirements, otherwise you will not be able to install this OS correctly. 

After completing the first step, follow the given steps below:
1) Insert Windows Server 2012 DVD into your computer.
2) Boot it from DVD
3) Press Enter when "Press any key to boot from CD or DVD.." prompts on your screen 
4) Choose your Language and click NEXT
5) On the next screen, Click Install now
6) Select the operating system you want to install ( for ex- I have chosen Datacenter Evaluation-Server with a GUI)

7) Accept the License Terms, and Click NEXT

8) On the next screen, Select "Custom: Install Windows Only (advanced)"

9) Choose the partition where you want to install Windows, and then Click Next

10) Installing Windows will prompt on the next screen.

11) It will prompt on your screen after completion of installation

12) In this step, Type Password for the built-in administrator account.

13) Now, you are ready to use your Windows. Press Ctrl+Alt+Delete to login into your computer

14) It will ask for password to login into the computer. Enter your password here.


To download the evaluation copy of Windows Server 2012, Click on this link-  http://technet.microsoft.com/en-in/evalcenter/hh670538.aspx


Hope it helps!

If any improvement is required in this post, please post your comments/feedback so that we can provide much better solutions.