Quantcast
Channel: TechNet Blogs
Viewing all 17778 articles
Browse latest View live

The simplest configuration tool - Itamae

0
0

Now I'm try to investigate ARM related technologies. ARM is a great tool. I can provision servers, networks, and services quite easily using ARM. 

However, ARM is not good at configuring software on a virtual machine. We can use shell extension. However, it works only the first time.  

So the turn around time of testing takes too long.  I'd like to find out simple way to provision something. XP forks said that "So always do the simplest thing that could possibly work next. "

I come up with two solutions. One is Itamae. The other is chef-provisioning-rm. Both looks great. I try Itamae on this post.

Itamae

Itamae (https://github.com/itamae-kitchen/itamae) is very simple configuration tool inspired by Chef.

She is an itamae which means an experienced Japanese food cook. 

Tutorial 

1. Install itamae

You need install ruby in advance. I just install Vagrant and ChefDK.

Vagrant: https://www.vagrantup.com/

ChefDK: https://downloads.chef.io/chef-dk/

Vagrant: 

Then 

$ gem install itamae

Of course, you can use bundler.

2. Create a virtual machine

Create an Ubuntu image. 

Vagrantfile

 VAGRANTFILE_API_VERSION = "2"

  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

    config.vm.box = "ubuntu/trusty64"

    config.vm.provider "virtualbox" do |v|

       v.name = "itamae-vagrant"

    end

end

Then

$ vagrant up

3. Write a recipe

recipe.rb

execute 'apt-get-upgrade' do

  command 'apt-get upgrade -y'

end 

execute 'apt-get update' do

  command 'apt-get update -y'

end

package 'nginx' do

  action :install

end

service 'nginx' do

  action [:enable, :start]

end

4. Execute it

You can execute an itamae recipe on a target machine. Or via SSH. It has an option for Vagrant.

$ bundle exec itamae ssh --vagrant --host default recipe2.rb 

 INFO : Starting Itamae...

 INFO : Recipe: /Users/ushio/Codes/itamae/recipe2.rb

 INFO :   execute[apt-get-upgrade] executed will change from 'false' to 'true'

 INFO :   execute[apt-get update] executed will change from 'false' to 'true'

 INFO :   package[nginx] installed will change from 'false' to 'true'

That's it. Deadly simple.

You can refer some other usages on this GitHub repository. 

https://github.com/itamae-kitchen/itamae

It works fine with ARM.

The only problem is we can't perfectly automate a provisioning task. 

Then we can use chef-provision-rm. ;)  See you soon. Happy provisioning. 

 


Office Mobile および Office Online の新しいクラウド ストレージ オプション

0
0

(この記事は 2016 年 1 月 27 日に Office Blogs に投稿された記事 New cloud storage options for Office mobile and Office Onlineの翻訳です。最新情報については、翻訳元の記事をご参照ください。)

 

今回は、Office チーム担当コーポレート バイス プレジデントを務める Kirk Koenigsbauer の記事をご紹介します。

 

2015 年 2 月、マイクロソフトは Cloud Storage Partner Program (CSPP) を発表 (英語)し、他のクラウド ストレージ プロバイダーのサービスと Office Online および Office for iOS の連携を実現しました。今回、お客様が Office とクラウド ストレージ プロバイダーのサービスをさらに簡単に使用できるように、パートナー クラウド サービスに保存されたドキュメントの Office Online によるリアルタイム共同編集を可能にし、すべての CSPP パートナー様のサービスと Office for iOS の連携、Outlook.com と Dropbox および Box の連携を実現しました。

 

パートナークラウドサービスに保存されたドキュメントの Office Online によるリアルタイム共同編集

2013 年より、マイクロソフトは Microsoft OneDrive および SharePoint Online に保存された Office Online ドキュメントのリアルタイム共同編集機能を提供しています。今回、CSPP に参加しているクラウド ストレージ プロバイダーのサービスにおいてもこの機能を利用できるようになりました。現在、Box (英語)Citrix ShareFile (英語)Dropbox (英語)Egnyte (英語)に保存されたドキュメントにアクセスして Office Online のリアルタイム共同編集機能をご利用になれます。また、本日より CSPP に参加している他のパートナー様も、標準インターフェイスを使用してリアルタイム共同編集機能を有効化できます。

 

各種パートナー サービスと Office for iOS の連携

  

iOS および Android と Dropboxの連携により、Office アプリから Dropbox に保存されているファイルにアクセスし、編集や共有を行えるようになりました。この機能に対して好意的なフィードバックが多く寄せられると共に、他のサービスへの対応を望む声も挙がりました。今回、このご要望にお応えして、新たなオプションが追加されました。

 

本日より、Dropbox に続いて、すべての CSPP パートナー様のサービスと Office for iOS との高度な連携が可能となります。これにより、Microsoft OneDrive や Dropbox と同様に、パートナー様のクラウド サービスを Office ドキュメントの保存場所として指定できるようになります。ユーザーは、お気に入りのクラウド サービスに保存された PowerPoint、Word、Excel の各ファイルを Office アプリから直接閲覧できます。また、これらのファイルはクラウド内で直接更新されるため、安心してファイルを開き、作成や編集を行うことができます。クラウド ストレージ アプリから Office ファイルを開き、クラウドに変更内容を再度保存することもできます。今年後半には、他のモバイル プラットフォームにも対応する予定です。

現在、Box とも連携しており、近日中には Citrix ShareFile、Edmodo、Egnyte といったパートナー サービスも追加される見込みです。iOS 向け WordExcelPowerPointアプリをダウンロードし、ぜひこの機能をお試しください。

 

Dropbox および Box Outlook.com の連携

iOS および Android 向け Outlook アプリでは、以前から Dropbox、Box、OneDrive がサポートされており、デジタル コンテンツの共有やアクセスを実現していましたが、今回 Outlook.com においても、既存の OneDrive のサポートに加えて Dropbox および Box との連携が行われました。今後数週間のうちに、新しい Outlook.com (英語)のユーザーの皆様は、受信トレイから直接 Dropbox、Box、OneDrive のファイルを添付し、従来の添付ファイルまたはクラウドベースのリンクとして送信できるようになります。

 

今回の相互運用性に関する発表は、より多くのお客様やパートナー様に Office を活用していただくための新たな一歩です。クラウド ストレージ プロバイダーの皆様は、ぜひ CSPP のサイト (英語)にアクセスし、プログラムへの参加方法や上記の新機能の活用方法についてご確認ください。

 

いつも Office を利用していただき、ありがとうございます。引き続き、Office UserVoice (英語)までご意見、ご要望をお寄せください。

 

—Kirk Koenigsbauer

 

※ 本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。

亞洲華人設計師跨界打造 Xbox One 猴年奇“機”

0
0

亞洲華人設計師跨界打造 Xbox One 猴年奇

獨一無二八款 Xbox One 設計主機送幸運玩家

  農曆佳節即將到來,台灣微軟以特別的方式向全台玩家賀年,獻上八款出自台灣、香港、大陸以及新加坡共八位頂尖設計師跨界創作的「Xbox One 猴年新春奇機」,每一款 Xbox One 主機都以傳統農曆春節所象徴的團圓、分享、喜慶氛圍,以及猴年特色為核心概念出發,在設計師們天馬行空的靈感加持下,脱胎換骨為八款獨具一格、吸睛亮眼的年節奇機。而未來這八款特色主機將送給八位幸運 Xbox 玩家,詳細活動辦法將於 2016 年 1月 29日公布於 Xbox台灣facebook 粉絲團,想要參加並擁有超級奇機的玩家們必需在活動頁面下方標註一位朋友,並在 88 個字以內説明為何自己是最有資格把其中一款「Xbox One 猴年新春奇機」的人(註)


  台灣微軟消費通路事業群吳勝雄總經理表示:「農曆春節對全亞洲華人來說是最重要的節日,因此今年我們邀集來自亞洲四個不同地區國家的頂尖設計師創作出充分展現農曆春節精神的「Xbox One 猴年新春奇機」系列作品 。我們深信 Xbox 玩家們對這些獨一無二純手工設計打造的特色主機肯定愛不釋手,我們同時也期望透過這一系列主機帶給玩家們不同的樂趣,並在未來一整年都好運滿滿。」

Xbox One 猴年新春八大奇機玩出新年好運味










  台灣微軟消費通路事業群吳勝雄總經理表示:「Xbox 在 2016 年當中即將推出一連串精彩的遊戲及豐富活動,在強檔大作加持之下以及全新的 Xbox One 向下相容 Xbox 360 遊戲功能,數百款向下相容遊戲都可以在 Xbox One 執行。相容 Windows 10 的便利性,玩家可更快進入多人連線及派對、為喜愛的遊戲打造個人化使用經驗等特色,絕對是 Xbox 玩家豐收的一年。」

已經公布今年值得玩家期待的 Xbox 遊戲包括:

  • Lego Marvel Avengers《樂高:復仇者聯盟》
  • Romance of Three Kingdoms 13《三國志13》中文版
  • Cobalt
  • Naruto Shippuden: Ultimate Ninja Storm 4《火影忍者疾風傳:終極風暴》
  • Tom Clancy’s The Division《湯姆克蘭西:全境封鎖》中文版
  • Far Cry Primal《極地戰嚎:野蠻紀源》中文版
  • Plants vs Zombies™ Garden Warfare 2《植物大戰殭屍:花園戰爭 2》中文版
  • EA SPORTS™ UFC®2
  • Quantum Break《量子裂痕》中文版
  • Battleborn《為戰而生》中文版

註:「Xbox One 猴年新春奇機」以設計及展示概念為主,不適用於一般遊戲主機之使用方式,本活動將自 2016年 1月 29日起自 2016年 2月 12日下午六點整截止。

前往活動辦法 >> http://on.fb.me/1ZY7kbI

More Big Tech Products are Being Open Sourced

0
0


One of the most popular trends in the tech community is open source software. While open source has been around for a while, only recently has it truly taken off in terms of popularity. These aren’t some niche startups looking to gain new fans and attention through an open source effort, either. Many of the largest tech companies in the world have seen the benefits of going the open source route, releasing some of their most ambitious products to the public to see how it might be improved and perfected. The movement toward open source has truly gained momentum since so much open source tech can be found in areas like containerisation and cloud computing. As these trends have exploded in popularity, so too has the open source option. The following are just a few big products that come from open source projects in recent years.

Spinnaker

Netflix is no stranger to using large audiences to get feedback. If anything, it works into their business model. So it should come as little surprise that Netflix employs Spinnaker, an open source continuous delivery platform. The move to open source is actually a relatively recent one for Netflix, as they made the announcement in November. Spinnaker helps the company update its software across its entire infrastructure, a massive undertaking if there ever was one. Since Spinnaker works with Amazon Web Services (AWS) and Google Cloud Platform, with support for Microsoft Azure on the way, its attributes lend itself well to open source.

Apache Spark

Apache Spark shouldn’t be unfamiliar to anyone with even a passing interest in open source products. Spark is, put simply, one of the largest Apache projects out there, with thousands of people contributing to improving the tool. Large tech companies like IBM have even invested their money and resources into its success. Spark deals closely with big data and machine learning, which means that getting access to collected data is much easier. The analytic engine also specialises in large-scale data processing, doing some from various different sources, something that has become necessary in the new era of big data we live in.

Kubernetes

Google has also joined in on the open source craze. The tech giant has released Kubernetes, a container orchestration system which basically works as a way to manage and run a whole host of applications that were built in Docker and Rocket containers. The main goal of using Kubernetes is to make online applications a lot more efficient as they are being run, in part, by distributing containers over multiple hosts. This all adds up to an increase in reliability as well. Since Kubernetes can run on several different cloud and data center services, it’s highly versatile and it’s easy to deploy applications to clusters quickly.

Presto

While Kubernetes is a recent development, Presto has been an open source project since 2013. The SQL-on-Hadoop engine was first released by Facebook, and it plays a big role in how the social networking website works. Facebook collects tons of data about its users, and Presto forms the foundation around which the site has built its analysis tools. This is how newsfeeds, recommendations, and advertising is constructed, making Presto a valuable part of Facebook operations.

Mesos

Also of note in the Apache open source project sphere is Mesos, which helps to manage thousands of servers using containers to host these applications. Mesos essentially manages data center resources, treating it like a single computer. With tasks distributed across nodes, more efficient management is offered. Mesos works best for big data applications and programs embedded with analytics. Developers can also run programs like Cassandra, Hadoop, and even Spark on Mesos.

Azure

Azure has long been a supporter of open source software. Late in 2015, Microsoft and Red Hat announced a new partnership offering Red Hat Enterprise Linux on Microsoft Azure. Red Hat and Microsoft will also collaborate on .NET, a software development framework, giving developers access to .NET technologies across Red Hat offerings.

Open sourcing will continue to grow

With so much emphasis being placed on open source technology, it’s no wonder we’re seeing much more of it in current products. No matter which company is promoting it, it appears that pursuing an open source strategy is a trend that will likely continue into the future. We may come to a point where everything, from new mobile applications to software defined storage, will be released to the public at some point. With so many minds and skills going toward making the best product possible, the trend toward open source can best be viewed as a positive development.

Learn the skills

As the number of open sourced products grows, as does the need for IT Pros to be able to make the most of the opportunities that present themselves. Below are a number of Microsoft Virtual Academy courses designed to help you get the skills you need to use Linux in Azure:

Running Linux in Microsoft Azure

Deploying Linux VMs on Microsoft Azure

Building Linux-based solutions on Azure

Windows Server Activation Best Practices

0
0

Windows Server automatic activation is very important for IaaS services. Today I'll share some best practices for Windows Server activation in Service Provider environments. These practices also can be used for Enterprise environments. And of course they can be and must be used for Cloud OS Network Platform :)

I'll use KMS and AVMA activation methods. Enterprises can also leverage Active Directory Based Activation (automatic activation of OS after joining the properly configured domain), but it is not suitable for service provider environments because tenant VMs won't join the domain of service provider.

Install KMS Servers

KMS server is a core of your Windows Server activation process. So go to VLSC site and get Windows Server 2012 R2 Datacenter KMS C key. A good explanation why you should use Level-C key is available here. Then create a VM and install Windows Server 2012 R2 Datacenter on it. Configure KMS server using these commands:

slmgr.vbs /ipk <yourproductkey>
slmgr.vbs /ato

Such KMS server will be able to activate Windows Server 2012 R2 and prior versions with Datacenter, Standard of Enterprise (for Windows Server 2008) editions. For high availability, you can install additional KMS server and configure DNS-based load balancing.

A little remark for future readers - if you are reading this after Windows Server 2016 launch, then go and get Windows Server 2016 Datacenter C key and install it on Windows Server 2016 Datacenter. Windows Server 2012 R2-based KMS server won't be able to activate Windows Server 2016.

Activate Hyper-V hosts

To leverage AVMA, you need to use Windows Server 2012 R2 Datacenter on Hyper-V hosts and Windows Server 2012 R2 Standard/Datacenter on guest VMs. If you are using Free Hyper-V Server edition, Windows Server 2012 R2 Standard or Windows Server 2012 nonR2 - AVMA won't work. If you are not familiar with AVMA - it is a new way to activate Windows Server-based VMs, introduced in Windows Server 2012 R2. It's idea is simple - if Hyper-V hosts is activated, then every new Guest VM will be activated automatically. No need to configure network access to KMS server or to the internet for MAK activation. It is the best approach for service providers.

So, after the KMS servers were deployed, activate Hyper-V hosts using KMS activation. For Windows Server 2012 R2 Datacenter use this command:

slmgr.vbs /ipk W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
slmgr.vbs /ato

I've got this key from here. You can use this key during Windows Server 2012 R2 Datacenter installation to skip the manual activation step.

Hyper-V hosts will try to find a KMS server in the domain, where it is joined to. If you have a separate domain for Hyper-V hosts, that is different from the domain that KMS server was deployed to, use this command to manually specify the address of KMS server before /ato command:

slmgr.vbs /skms <KMSserverDNSnameOrIPAdress>


Configure Guest VMs activation with AVMA

If you are using Windows Server 2012 R2 Datacenter Hyper-V on hosts, you can use AVMA to activate Guest VMs with Windows Server 2012 R2 Datacenter. To leverage this, just use this key in your VM templates or during the OS installation:

Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW- for Windows Server 2012 R2 Datacenter
DBGBW-NPF86-BJVTX-K3WKJ-MTB6V - for Windows Server 2012 R2 Standard

I've got these keys from here.

Configure Guest VMs activation with KMS

For Windows Server versions prior to 2012 R2, you'll need to use traditional KMS activation method. The same story if you are using vSphere or other hypervisor (not Windows Server 2012 R2 Datacenter Hyper-V).

The potential problem for service providers is that Guest OS needs access to KMS server every 180 days at least to prolong the activation, otherwise it will deactivate. And in modern IaaS services, tenants manage their virtual networks by themselves. One of the ways to achieve this is to deploy KMS Server in the DMZ and make it accessible for tenant VMs. Be sure that KMS server is not accessible externally for other users in the internet. By default, KMS server uses TCP port 1688.

When preparing a Windows Server template, run the following command before Sysprep:

slmgr.vbs /skms <KMSserverDNSnameOrIPAdress>

Remember - you don't know which DNS server your tenant will use, so if you specify a DNS name of KMS server - be sure that it is resolvable by public DNS servers. Otherwise specify IP address of KMS server to be sure that tenant VM will be able to connect. After that, use KMS keys for your templates from this page. As an example:

74YFP-3QFB3-KQT8W-PMXWJ-7M648 - for Windows Server 2008 R2 Datacenter
48HP8-DN98B-MYWDG-T2DCC-8W83P - Windows Server 2012 nonR2 Datacenter

New guest VMs will try to connect to the specified KMS server and activate using it shortly after the deployment.

That's all about Windows Server activation for service providers. Remember - if you license your hosts with Windows Server Datacenter license (which allows unlimited guest virtualization), then there is absolutely no need to install Windows Server Standard on Guest VMs.

UR9 for SCOM 2012 R2 – Step by Step

0
0

 

 

 

image48

 

NOTE:  I get this question every time we release an update rollup:   ALL SCOM Update Rollups are CUMULATIVE.  This means you do not need to apply them in order, you can always just apply the latest update.  If you have deployed SCOM 2012R2 and never applied an update rollup – you can go strait to the latest one available.  If you applied an older one (such as UR3) you can always go straight to the latest one!

 

 

KB Article for OpsMgr:  https://support.microsoft.com/en-us/kb/3129774

Download catalog site:  http://catalog.update.microsoft.com/v7/site/Search.aspx?q=3129774

 

Key fixes:

  • SharePoint workflows fail with an access violation under APM
    A certain sequence of the events may trigger an access violation in APM code when it tries to read data from the cache during the Application Domain unload. This fix resolves this kind of behavior.
  • Application Pool worker process crashes under APM with heap corruption
    During the Application Domain unload two threads might try to dispose of the same memory block leading to DOUBLE FREE heap corruption. This fix makes sure that memory is disposed of only one time.
  • Some Application Pool worker processes become unresponsive if many applications are started under APM at the same time
    Microsoft Monitoring Agent APM service has a critical section around WMI queries it performs. If a WMI query takes a long time to complete, many worker processes are waiting for the active one to complete the call. Those application pools may become unresponsive, depending on the wait duration. This fix eliminates the need in WMI query and significantly improves the performance of this code path.
  • MOMAgent cannot validate RunAs Account if only RODC is available
    If there's a read-only domain controller (RODC), the MonAgent cannot validate the RunAs account. This fix resolves this issue.
  • Missing event monitor does not warn within the specified time range in SCOM 2012 R2 the first time after restart
    When you create a monitor for a missed event, the first alert takes twice the amount of time specified time in the monitor. This fix resolves the issue, and the alert is generated in the time specified.
  • SCOM cannot verify the User Account / Password expiration date if it is set by using Password Setting object
    Fine grained password policies are stored in a different container from the user object container in Active Directory. This fix resolves the problems in computing resultant set of policy (RSOP) from these containers for a user object.
  • SLO Detail report displays histogram incorrectly
    In some specific scenarios, the representation of the downtime graph is not displayed correctly. This fix resolves this kind of behavior.
  • APM support for IIS 10 and Windows Server 2016
    Support of IIS 10 on Windows Server 2016 is added for the APM feature in System Center 2012 R2 Operations Manager. An additional management pack Microsoft.SystemCenter.Apm.Web.IIS10.mp is required to enable this functionality. This management pack is located in %SystemDrive%\Program Files\System Center 2012 R2\Operations Manager\Server\Management Packs for Update Rollups alongside its dependencies after the installation of Update Rollup 9.
    Important Note One dependency is not included in Update Rollup 9 and should be downloaded separately:

    Microsoft.Windows.InternetInformationServices.2016.mp

  • APM Agent Modules workflow fail during workflow shutdown with Null Reference Exception
    The Dispose() method of Retry Manager of APM connection workflow is executed two times during the module shutdown. The second try to execute this Dispose() method may cause a Null Reference Exception. This fix makes sure that the Dispose() method can be safely executed one or more times.
  • AEM Data fills up SCOM Operational database and is never groomed out
    If you use SCOM’s Agentless Exception Monitoring to examine application crash data and report on it, the data never grooms out of the SCOM Operational database. The problem with this is that soon the SCOM environment will be overloaded with all the instances and relationships of the applications, error groups, and Windows-based computers, all which are hosted by the management servers. This fix resolves this issue. Additionally, the following management pack’s must be imported in the following order:
    • Microsoft.SystemCenter.ClientMonitoring.Library.mp
    • Microsoft.SystemCenter.DataWarehouse.Report.Library.mp
    • Microsoft.SystemCenter.ClientMonitoring.Views.Internal.mp
    • Microsoft.SystemCenter.ClientMonitoring.Internal.mp
  • The DownTime report from the Availability report does not handle the Business Hours settings
    In the downtime report, the downtime table was not considering the business hours. This fix resolves this issue and business hours will be shown based on the specified business hour values.
    The updated RDL files are located in the following location:

    %SystemDrive%\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\Reporting

    To update the RDL file, follow these steps:

    1. Go to http://MachineName/Reports_INSTANCE1/Pages/Folder.aspxMachineName //Reporting Server.
    2. On this page, go to the folder to which you want to add the RDL file. In this case, click Microsoft.SystemCenter.DataWarehouse.Report.Library.
    3. Upload the new RDL files by clicking the upload button at the top. For more information, see https://msdn.microsoft.com/en-us/library/ms157332.aspx.
  • Adding a decimal sign in an SLT Collection Rule SLO in the ENU Console on a non-ENU OS does not work
    You run the System Center 2012 R2 Operations Manager Console in English on a computer that has the language settings configured to use a non-English (United States) language that uses a comma (,) as the decimal sign instead of a period (.). When you try to create Service Level Tracking, and you want to add a Collection Rule SLO, the value you enter as the threshold cannot be configured by using a decimal sign. This fix resolves the issue.
  • SCOM Agent issue while logging Operations Management Suite (OMS) communication failure
    An issue occurs when OMS communication failures are logged. This fix resolves this issue.

 

There are no updates for Linux, and there are no updated MP’s for Linux in this update as of this time.  The most current Linux MP’s are available below in the Linux section

 

Lets get started.

From reading the KB article – the order of operations is:

  1. Install the update rollup package on the following server infrastructure:
    • Management servers
    • Gateway servers
    • Web console server role computers
    • Operations console role computers
  2. Apply SQL scripts.
  3. Manually import the management packs.
  4. Update Agents

Now, NORMALLY we need to add another step – if we are using Xplat monitoring – need to update the Linux/Unix MP’s and agents.   However, in UR8 and UR9 for SCOM 2012 R2, there are no updates for Linux

 

 

 

1.  Management Servers

image

Since there is no RMS anymore, it doesn’t matter which management server I start with.  There is no need to begin with whomever holds the RMSe role.  I simply make sure I only patch one management server at a time to allow for agent failover without overloading any single management server.

I can apply this update manually via the MSP files, or I can use Windows Update.  I have 3 management servers, so I will demonstrate both.  I will do the first management server manually.  This management server holds 3 roles, and each must be patched:  Management Server, Web Console, and Console.

The first thing I do when I download the updates from the catalog, is copy the cab files for my language to a single location:

Then extract the contents:

image

Once I have the MSP files, I am ready to start applying the update to each server by role.

***Note:  You MUST log on to each server role as a Local Administrator, SCOM Admin, AND your account must also have System Administrator (SA) role to the database instances that host your OpsMgr databases.

My first server is a management server, and the web console, and has the OpsMgr console installed, so I copy those update files locally, and execute them per the KB, from an elevated command prompt:

image

This launches a quick UI which applies the update.  It will bounce the SCOM services as well.  The update usually does not provide any feedback that it had success or failure. 

I got a prompt to restart:

image

I choose yes and allow the server to restart to complete the update.

 

You can check the application log for the MsiInstaller events to show completion:

Log Name:      Application
Source:        MsiInstaller
Date:          1/27/2016 9:37:28 AM
Event ID:      1036
Description:
Windows Installer installed an update. Product Name: System Center Operations Manager 2012 Server. Product Version: 7.1.10226.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Update Name: System Center 2012 R2 Operations Manager UR9 Update Patch. Installation success or error status: 0.

You can also spot check a couple DLL files for the file version attribute. 

image

Next up – run the Web Console update:

image

This runs much faster.   A quick file spot check:

image

Lastly – install the console update (make sure your console is closed):

image

A quick file spot check:

image

 

 

Additional Management Servers:

image

I now move on to my additional management servers, applying the server update, then the console update and web console update where applicable.

On this next management server, I will use the example of Windows Update as opposed to manually installing the MSP files.  I check online, and make sure that I have configured Windows Update to give me updates for additional products: 

image

The applicable updates show up under optional – so I tick the boxes and apply these updates.

After a reboot – go back and verify the update was a success by spot checking some file versions like we did above.

 

 

Updating Gateways:

image

I can use Windows Update or manual installation.

image

The update launches a UI and quickly finishes.

Then I will spot check the DLL’s:

image

I can also spot-check the \AgentManagement folder, and make sure my agent update files are dropped here correctly:

image

 

***NOTE:  You can delete any older UR update files from the \AgentManagement directories.  The UR’s do not clean these up and they provide no purpose for being present any longer.

 

 

 

2. Apply the SQL Scripts

In the path on your management servers, where you installed/extracted the update, there are two SQL script files: 

%SystemDrive%\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\SQL Script for Update Rollups

(note – your path may vary slightly depending on if you have an upgraded environment of clean install)

image

First – let’s run the script to update the OperationsManager database.  Open a SQL management studio query window, connect it to your Operations Manager database, and then open the script file.  Make sure it is pointing to your OperationsManager database, then execute the script.

You should run this script with each UR, even if you ran this on a previous UR.  The script body can change so as a best practice always re-run this.

image

Click the “Execute” button in SQL mgmt. studio.  The execution could take a considerable amount of time and you might see a spike in processor utilization on your SQL database server during this operation.  I have had customers state this takes from a few minutes to as long as an hour. In MOST cases – you will need to shut down the SDK, Config, and Monitoring Agent (healthservice) on ALL your management servers in order for this to be able to run with success.

You will see the following (or similar) output:

image47

or

image

IF YOU GET AN ERROR – STOP!  Do not continue.  Try re-running the script several times until it completes without errors.  In a production environment, you almost certainly have to shut down the services (sdk, config, and healthservice) on your management servers, to break their connection to the databases, to get a successful run.

Technical tidbit:   Even if you previously ran this script in UR1, UR2, UR3, UR4, UR5, UR6, UR7, or UR8, you should run this again for UR9, as the script body can change with updated UR’s.

image

Next, we have a script to run against the warehouse DB.  Do not skip this step under any circumstances.    From:

%SystemDrive%\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\SQL Script for Update Rollups

(note – your path may vary slightly depending on if you have an upgraded environment of clean install)

Open a SQL management studio query window, connect it to your OperationsManagerDW database, and then open the script file UR_Datawarehouse.sql.  Make sure it is pointing to your OperationsManagerDW database, then execute the script.

If you see a warning about line endings, choose Yes to continue.

image

Click the “Execute” button in SQL mgmt. studio.  The execution could take a considerable amount of time and you might see a spike in processor utilization on your SQL database server during this operation.

You will see the following (or similar) output:

image

 

 

 

3. Manually import the management packs

image

There are 55 management packs in this update!   Most of these we don’t need – so read carefully.

The path for these is on your management server, after you have installed the “Server” update:

\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\Management Packs for Update Rollups

However, the majority of them are Advisor/OMS, and language specific.  Only import the ones you need, and that are correct for your language.  I will remove all the MP’s for other languages (keeping only ENU), and I am left with the following:

image

 

What NOT to import:

The Advisor MP’s are only needed if you are using Microsoft Operations Management Suite cloud service, (Previously known as Advisor, and Operation Insights).

The APM MP’s are only needed if you are using the APM feature in SCOM.

Note the APM MP with a red X.  This MP requires the IIS MP’s for Windows Server 2016 which are in Technical Preview at the time of this writing.  Only import this if you are using APM *and* you need to monitor Windows Server 2016.  If so, you will need to download and install the technical preview editions of that MP from https://www.microsoft.com/en-us/download/details.aspx?id=48256

The TFS MP bundle is only used for specific scenarios, such as DevOps scenarios where you have integrated APM with TFS, etc.  If you are not currently using these MP’s, there is no need to import or update them.  I’d skip this MP import unless you already have these MP’s present in your environment.

However, the Image and Visualization libraries deal with Dashboard updates, and these always need to be updated.

I import all of these shown without issue.

 

 

4.  Update Agents

image43_thumb

Agents should be placed into pending actions by this update for any agent that was not manually installed (remotely manageable = yes):  

 

One the Management servers where I used Windows Update to patch them, their agents did not show up in this list.  Only agents where I manually patched their management server showed up in this list.  FYI.   The experience is NOT the same when using Windows Update vs manual.  If yours don’t show up – you can try running the update for that management server again – manually.

image

If your agents are not placed into pending management – this is generally caused by not running the update from an elevated command prompt, or having manually installed agents which will not be placed into pending.

In this case – my agents that were reporting to a management server that was updated using Windows Update – did NOT place agents into pending.  Only the agents reporting to the management server for which I manually executed the patch worked.

I manually re-ran the server MSP file manually on these management servers, from an elevated command prompt, and they all showed up:

image

 

 

You can approve these – which will result in a success message once complete:

image

Soon you should start to see PatchList getting filled in from the Agents By Version view under Operations Manager monitoring folder in the console:

image

 

 

 

5.  Update Unix/Linux MPs and Agents

image

There are no updates for Linux in UR9 at the time of this writing.   The current Linux MP’s can be downloaded from:

https://www.microsoft.com/en-us/download/details.aspx?id=29696

7.5.1045.0 is current at this time for SCOM 2012 R2 and these shipped with UR7.  If you are already running 7.5.1045.0 version of the Linux MP’s and agents – no update is necessary.

****Note – take GREAT care when downloading – that you select the correct download for R2.  You must scroll down in the list and select the MSI for 2012 R2:

image

Download the MSI and run it.  It will extract the MP’s to C:\Program Files (x86)\System Center Management Packs\System Center 2012 R2 Management Packs for Unix and Linux\

Update any MP’s you are already using.   These are mine for RHEL, SUSE, and the Universal Linux libraries. 

image

You will likely observe VERY high CPU utilization of your management servers and database server during and immediately following these MP imports.  Give it plenty of time to complete the process of the import and MPB deployments.

Next up – you would upgrade your agents on the Unix/Linux monitored agents.  You can now do this straight from the console:

image

image

You can input credentials or use existing RunAs accounts if those have enough rights to perform this action.

Mine FAILED, with an SSH exception about copying the new agent.  It turns out my files were not updated on the management server – see pic:

image

I had to restart the Healthservice on the management server, and within a few minutes all the new files were there.

Finally:

image

 

 

6.  Update the remaining deployed consoles

image

This is an important step.  I have consoles deployed around my infrastructure – on my Orchestrator server, SCVMM server, on my personal workstation, on all the other SCOM admins on my team, on a Terminal Server we use as a tools machine, etc.  These should all get the matching update version.

 

 

 

Review:

Now at this point, we would check the OpsMgr event logs on our management servers, check for any new or strange alerts coming in, and ensure that there are no issues after the update.

image

Known issues:

See the existing list of known issues documented in the KB article.

1.  Many people are reporting that the SQL script is failing to complete when executed.  You should attempt to run this multiple times until it completes without error.  You might need to stop the Exchange correlation engine, stop all the SCOM services on the management servers, and/or bounce the SQL server services in order to get a successful completion in a busy management group.  The errors reported appear as below:

------------------------------------------------------
(1 row(s) affected)
(1 row(s) affected)
Msg 1205, Level 13, State 56, Line 1
Transaction (Process ID 152) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Msg 3727, Level 16, State 0, Line 1
Could not drop constraint. See previous errors.
--------------------------------------------------------

Azure AD Mailbag: Q&A on Azure MFA

0
0
Howdy folks, It's time for another Azure AD Mailbag. This time Chad Hasbrook from our Customer Success Team has the pen and he's answering questions about configuring Azure MFA. I hope you'll find it useful! Best regards, Alex Simons (Twitter: @Alex_A_Simons ) Director of Program Management Microsoft Identity Products and Services ---------------------------------------------------------------- Hi everyone! My name is Chad Hasbrook and one of the Customer Success Team...(read more)

Azure Stack Technical Preview available for download


The first Technical Preview of Microsoft Azure Stack announced

0
0

Today, we announced the first Technical Preview of Microsoft Azure Stack. Technical Preview bits will be available this Friday, January 29. Check out Mike Neil’s blog post on Azure.com to learn more.

La fuerza estará en todos nosotros

0
0
Siempre que vemos cualquiera de las películas de Star Wars, nos emocionan todas las habilidades que tienen los Jedi, que utilizan para pelar contra el lado oscuro. Una de estas habilidades es la telequinesis, el poder de mover objetos con la mente y utilizarlos a voluntad. Pues en esta ocasión, los desarrolladores de ELEKS, decidieron que todos podemos aprender de la Fuerza, y están en proceso de diseñar una aplicación con la que podrán mover objetos...(read more)

GPO Packs in MDT 2013 U1 for Windows 10

0
0

Hello all,

 

Similar to the article here, if anyone has tried to apply a GPO Pack using MDT 2013 U1 (6.3.8298.1000) for Windows 10, it fails with an rc=1 error, which means invalid function.

The reason is again because ZTIApplyGPOPack.wsf does not contain code to handle Windows 10.  Also, GPOPack.wsf, a script that is obtained from installing LGPO on a machine, does not contain code to handle Windows 10. 

So how can we use ZTIApplyGPOPack.wsf to apply a GPO Pack using MDT 2013 U1? Don’t worry, I ran into this brick wall this past week as I was helping a customer of mine who needed to apply a GPO Pack in their image build for Windows 10 in MDT 2013 U1. 

 

Attached to this blog is a zip file that contains an updated ZTIApplyGPOPack.wsf and GPOPack.wsf file that includes the lines of code needed for you to be able to apply GPO Packs to Windows 10 in MDT 2013 U1.  For ZTIApplyGPOPack.wsf, replace the ZTIApplyGPOPack.wsf in your current deployment share Scripts folder with the ZTIApplyGPOPack.wsf file attached in the zip file in this blog. For GPOPack.wsf, add or replace this file in your %DeployRoot%\Templates\GPOPacks\%GPOPack% source folder in your deployment share with the GPOPack.wsf file attached in the zip file in this blog.  Then ensure you update your GPOPackPath variable in CustomSettings.ini to the name of the GPO Pack you want to apply in your task sequence.  Once complete, update your deployment share and that’s it.  If you have an Apply Local GPO Package in your task sequence, it will be applied to your Windows 10 machine successfully.

 

For more information on how to create a GPO Backup, reference this blog here

For more information on how to create a GPO Pack, reference Brandon Linton’s fantastic blog on how to do this here

 

Enjoy!

And now, the obligatory disclaimer:

© 2016 Microsoft Corporation. All rights reserved. Sample scripts in this blog are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.

 

-Matt

 

10 pasos a seguir para una vida digital sana

0
0
Por: Federico Rodríguez, Coordinador Editorial News Center Microsoft Latinoamérica Los usuarios cada vez pasan más tiempos conectados, comparten información, se comunican, crean contenidos. Y así como crece el número de aplicaciones, servicios y dispositivos para estar en línea, también crece el número de amenazas a nuestra seguridad, y los jóvenes son los que están expuestos a más amenazas. Por esta razón, es importante estar protegidos en línea: para evitar riesgos en nuestra seguridad, mantener...(read more)

ITcast épisode 25 du 29 janvier 2016 : Tout sur Azure Stack

0
0
La première Technical Preview d' Azure Stack est disponible aujourd'hui et c'est justement notre sujet principal avec Stanislas et Arnaud . Comme d'habitude, cet épisode est dans le flux RSS du podcast, sur iTunes , ou directement sur le site : http://aka.ms/itcast Pour toutes vos remarques, questions, pinguez-moi sur mon Twitter @psauliere , ou ceux de mes acolytes ci-dessus. Quelques informations complémentaires sur les sujets abordés dans cet épisode : Nouveautés de la plateforme...(read more)

PowerTip: Return remainder after dividing two numbers

0
0

Summary: Use Windows PowerShell to return the remainder after dividing two numbers.

Hey, Scripting Guy! Question How can use Windows PowerShell to divide two numbers and only return the remainder (called a modulo operation)?

Hey, Scripting Guy! Answer In Windows PowerShell, the modulo operator is the % sign. Here are a few examples of how to use it:

PS C:\> 3 % 2

1

PS C:\> 5 % 2

1

PS C:\> 11 % 2

1

aka.ms for #AzureStack | Guidance

0
0

Hello Readers/Viewers!

Yes, Azure Stack Technical Preview 1 was released today. And that is getting a lot of attention (rightfully so!). It is easy to get caught up in all the excitement, so I wanted to offer a little guide to the available “aka.ms” links I currently have visibility/manage for Azure Stack.

This post is really intended to be used as a quick reference guide to the available “Short URLs” available for Azure Stack and related content. We have many and various public information targets, the URLs listed here should make it easy to reference and remember these sites and their intended use.

The following table outlines the current known aka.ms sites for Azure Stack and related content.

aka.ms URL

Final Target

Intended Use / Comment

aka.ms/azurestackforum

Azure Forum (MSDN) Topic for Azure Stack

All public questions, comments, concerns, etc. native to the “Technical Forum”

aka.ms/azurestackuservoice

Azure Stack User Voice site

User Voice is service-wide method for customer ideas, suggestions, issues (sometimes), etc.

aka.ms/azurestackcontent

Documentation Landing Page for Azure Stack

 

Documentation Landing Page for Azure Stack on Azure.com (we may use this for something else later)

aka.ms/azurestack

Landing Page for Azure Stack

Landing Page for Azure Stack on Azure.com

aka.ms/azurestackdocs

Documentation Landing Page for Azure Stack

Documentation Landing Page for Azure Stack on Azure.com

aka.ms/azurestackmarketplaceitem

Download ZIP for the Azure Stack Marketplace Item Generator and Sample

Marketplace Gallery Item Tool & Sample

aka.ms/azurestackgithub

Azure Stack GitHub Templates

Azure Stack QuickStart Templates on GitHub (similar to Azure’s QuickStart Templates)

aka.ms/azurestackpaasservices

Tools and PaaS services for Azure Stack Documentation Page

Tools and PaaS services for Azure Stack Documentation Page on Azure.com

aka.ms/azurestackakaguide

This Blog PostThe quick reference URL for this blog post

aka.ms/azurestackatmsignite2015

#AzureStack @ #MSIgniteThe quick reference URL for the old collection of Azure Stack MSFT posted content/links

I will keep this table updated with new aka.ms links that I create over time.

And one more, that I do not manage, but is a fantastic resource (thanks, Hans!):

aka.ms/azurestackwiki

The Azure Stack Wiki

MVP Led Effort to collect all things Azure Stack, by Hans Vredevoort, Cloud and Datacenter MVP (Hyper-V)

Have more? Let me know!

enJOY!


Excel 2016 add-in "Inquire" will not load

0
0

It's been reported that after applying January updates for Excel 2016, the Inquire add-in is not loading as expected for some customers.

The behavior being reported is that the COM add-in is listed under the section for Inactive Application Add-ins and when users try to enable the add-in, it either results in no changes or an error similar to the one below occurs.

ERROR:
"Not loaded. A runtime error occurred during the loading of the COM Add-In."


WORKAROUND:

We have found that 32-bit installations of Excel are affected. We understand this workaround is not ideal in some cases, however, the only workaround currently is to uninstall the 32-bit version of Office, and install the 64-bit version instead.

Microsoft is aware of this issue and is working on a solution.



 

 

No se puede completar la sincronización de objetos utilizando la dirección SMTP (soft-match) o usando el ImmutableID (hard match) con Azure AD Connect

0
0
Por Adrian Kruss Utilizar la herramienta Azure ADConnect para tratar de enlazar un objeto local con un existente en Office 365 puede causar problemas y generar errores al tratar de realizar el procedimiento para relacionarlos usando cualquiera de los métodos disponibles - La dirección SMTP o el ImmutableID Las instrucciones para realizar el enlace por SMTP se puede encontrar en este enlace . Resumiendo, los pasos, luego de que la dirección SMTP primaria del objeto On-premises coincida con el objeto...(read more)

Como desabilitar a opção “Gerenciar Complementos” (Manage Add-ins) para os usuários do Exchange Online

0
0
Por: Helen Agard e Robson Elias da Silva Como engenheiros de escalação de Office 365, algumas vezes recebemos solicitações para desabilitar determinadas funcionalidades quando as mesmas podem ser configuradas ou alteradas diretamente pelo usuário final, sem a assistência do Administrator do tenant. Disponibilizamos aqui o procedimento de como realizar a desativação da opção “Gerenciar Complementos” ou “Manage Add-ins” em todas as mailboxes ou para algumas, conforme a necessidade do administrator...(read more)

Como desabilitar a opção “Encaminhamento” para os usuários do Exchange Online

0
0
Por: Helen Agard e Robson Elias da Silva Como engenheiros de escalação de Office 365, algumas vezes recebemos solicitações para desabilitar determinadas funcionalidades quando as mesmas podem ser configuradas ou alteradas diretamente pelo usuário final, sem a assistência do Administrator do tenant. Disponibilizamos aqui o procedimento de como realizar a desativação da opção “Encaminhamento” que permite ao usuário redirecionar as mensagens para uma conta externa ao Office 365. Abaixo como faze-lo...(read more)

International Blog Update: Brazil, French, & Turkish!!!

0
0

International Blog Update!!

That basically means the non-English blogs, since this is the English one. =^)

 

Brazil Continues Strong!

Wiki Ninjas Brasil - Blog do "TechNet Wiki"

We have a steady stream of posts from many contributors!

Hezequias Vasconcelos's avatar 

Quinta-Feira Conselho Spotlight - O que acontece no conselho da comunidade. Posted1 day ago

Posted1 day ago

Posted3 days ago  

Posted10 days ago

Posted18 days ago

Erdem Leads Turkish

Turkish Wiki Ninjas

Thanks to Erdem, we have a great new post...

Erdem Avni SELÇUK's avatar 

Microsoft Touch Develop Posted21 days ago

 

I love Touch Develop! Great topic!

So please join me in thanking Hezequias, Renato, Jefferson, and Erdem for running our international blogs!


 

Join the World! Join the Wiki!

    - Ninja Ed

Viewing all 17778 articles
Browse latest View live




Latest Images