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

Interview with a SQL Server Expert and Wiki Ninja – Prashanth Jayaram

$
0
0

Welcome to another interview with a Wiki Ninja! It’s database time, as we interview…

Prashanth Jayaram

Prashanth Jayaram's avatar

Let’s look at some of Prashanth’s stats! Prashanth has had an incredible impact on the community:

  • 39K Recognition Points
  • 31 TechNet Wiki Articles!
  • 1,065 Wiki Edits
  • 432 Wiki Comments
  • 1,099 Forum Answers

And here are some of Prashanth’s Wiki articles:

Let’s get to the interview!

=================================

Who are you, where are you, and what do you do? What are your specialty technologies?

Hello, my name is Prashanth Jayaram, and I was born in a small town called Shimoga, Karnataka, India. I’m living in Appleton, WI, U.S.A with my family (Wife – Ambika and twin angels Pravitha (Meaning Hero) and Prarthana (Prayer)). I am a DB Technologist having 11 Years of experience. I’m currently working as a Manager – Delivery service [Cognizant Technology Solutions (C.T.S)]. I’ve more than 11 years experience in designing and implementing SQL and NoSQL projects. Have developed in-house SQL Server Monitoring Solution (PowerSQL) and it’s been implemented across 25+ client projects. I have developed “PowerWin” ”, a solution to monitor and administrate Windows Servers. The beta version is released and it’s tested across various clients in our practice. My specialty lies in designing & implementing High availability solutions and cross-platform DB Migration. The technologies currently working on are SQL Server, PowerShell, Oracle and MongoDB.

Prashanth at the office, with his wife and daughters:

prashanth_familyatoffice    

What are your big projects right now?

I’m a SQL server certified (MCTS and MCITP), Oracle certified (OCP) and Hardware and Network certified (A+)  and preparing for NoSQL certification. Have complete several virtual courses on NoSQL technology. Also, working on DB Monitoring Solutions Whitepaper. Recently completed the migration from Oracle to SQL 2012. Database consolidation and database migration to SQL 2014/2016 is our priority for 2017.The next version “PowerWin” is going to be released in the first quarter of 2017. My next article “The JSON in SQL 2016” is on its way.

   

What is TechNet Wiki for? Who is it for?

TechNet WIKI is all about collaboration of great ideas, in-depth information of research, platform to learn and share knowledge, stage to work with a different class of technologist. It’s a technical layer for current/future references of great ideas.

It’s an ocean where the ultimate source is knowledge and sharing. It’s for every IT engineer. There will be a room for improvement at every stage and at every level. When you share your knowledge with a different class of people the experience that we are going to gain is immense so I would recommend it for everyone who wants to stay healthy and active in the IT era.

 

What do you do with TechNet Wiki, and how does that fit into the rest of your job?

When you work in any organization, you are tied to boundary. When you tend to explore and have a passion or eagerness to share knowledge then TechNet WIKI is a great platform to help other people which in turn build ones confidence to perform better in the current role.

During my daily schedule, I will sneak into TechNet forums to read answers posted under various categories which give a different perspective and dimension to my ability to perform and do a quality work. On my free time, I spend time in writing article and blogging. 

Prashanth’s daughters:

prashanth_daughters

What is it about TechNet Wiki that interests you?

It’s the quality, depth, and constructive feedback helps in many ways. It has an indirect effect of growing individually in our current roles.

 

In what other sites and communities do you contribute your technical knowledge?

I have written well over 150 articles on my personal blog. I also spend time in the following forums

·       SQL Server Central,

·       Toad World SQL Server,

·       DZone

·       c-sharpcorner

             

On what articles have you collaborated with other community members on #TNWiki? What was that experience like?

Have edited various articles of other community members, It gives a great pleasure when its accolade by author and gets a recognition and positive feedback in the center stage from experts and judges.  The idea is to improve the quality of the article hence irrespective of your area of interest spending time with other articles gives a different dimension and idea to write a quality article. I got various hints and tips by reading and editing other articles. On posting article in the TechNetWIKI  Facebook page helps  to get instant feedback that will help the author to improve his writing skills and work on building a quality  article.

                 

On what Wiki articles do you spend most of your time?

I spend my time mostly on PowerShell and SQL Server database related articles. I love to collaborate the power of PowerShell with SQL Server.

                   

What are your top 5 favorite Wiki articles?

All Wiki articles are favorites for me! I love the articles written by Ryen Kia Zhi Tang, and by Ronen.

Here are some of my favorites:

Visual Studio Code: Getting Started with PowerShell

http://social.technet.microsoft.com/wiki/contents/articles/35780.visual-studio-code-getting-started-with-powershell.aspx

SQL Server: Getting Started with MS SQL Server on Ubuntu

http://social.technet.microsoft.com/wiki/contents/articles/36376.sql-server-getting-started-with-ms-sql-server-on-ubuntu.aspx

Database Engine: Dynamic Data Masking

http://social.technet.microsoft.com/wiki/contents/articles/31419.database-engine-dynamic-data-masking.aspx

SQL-Server(s)-inventory-excel-csv-console-using-PowerShell-smo-and-rmo

http://social.technet.microsoft.com/wiki/contents/articles/34886.sql-server-powershell-export-server-inventory-to-csv.aspx

PoSH – DiskSpace GUI Tool

http://social.technet.microsoft.com/wiki/contents/articles/34900.powershell-disk-space-gui-tool.aspx

             

Who has impressed you in the Wiki community, and why?

Every contributor in the community who shows real passion impressed me a lot. It’s a time to say thanks to some great contributors:

Ed Price – For his character, humble nature and motivating many technical enthusiasts like me

Shanky – for his sound knowledge on SQL Server and helping community with great quality answer

Ronen – The way he conduct himself in managing and administrating the forum is truly amazing

Peter Geelan – Great attitude to keep the site clean and helping many WIKI authors

Syed Shanu – For giving frank opinion, feedback, zeal to contribute to the community

Richard Mueller – warrior of the community

Hillary Cotter – Great knowledge and great contribution towards Replication technology

Brandon Williams – Quality answer towards replication technology

Jingyang Li  – Great T-SQL expert

Visakh – T-SQL and BI Guru. I love his quality answers

Peter Laker – For his valuable time and great contribution by playing various roles of the forum

Ken Cenerelli – for his great writing

Saeid Hasani – For his work on configuring HA SQL 2014

And to SanthaKumar, Kamlesh, Sandeep Shekhawat, Sabah, Chen V, Gaurav Kumar Arora, Chilberto, Waqas Sarwar, Mandar Dharmadhikari, Abhishek, Venu, Vivek Jagga, Bhushan Gawale and list continues.. for their great contribution.

             

Do you have any tips for new Wiki authors?

Read and follow the TechNet WIKI guidelines, which will solve various unknown issues at later stages of the community

Read few articles before writing a new article!

Post your article in the Facebook group to get valuable feedback. There is always a room for improvement to write quality articles.

Make sure you nominate the article in the monthly Technet GURU competition!

 

=========================

I love it! Those are some great tips for new Wiki authors. Posting in Facebook and entering it in Guru will help you get feedback, get eyes on your article, and to get it into the community more! Great advice!

Thank you, Prashanth for all your contributions to our community!

As to everyone reading this, please join me by posting your thanks to Prashanth, in the comments below!

 

Jump on in! The Wiki is Warm!

– Ninja Ed


Office 365 Weekly Digest | Week of December 25 – 31, 2016

$
0
0

Welcome to the December 25 – 31, 2016 edition of the O365 Weekly Digest. Message Center and blog activity was light due to the holidays, but there are tons of upcoming events to review and register for if you find something that piques your interest!  One highlight from the upcoming events is an opportunity to test drive Microsoft Teams. The Microsoft Flow Team released an update that now includes integration for three highly requested services. Information on the Microsoft Tech Summit events and public content round out this week’s post. Happy New Year and best wishes for 2017!


MESSAGE CENTER

Note: The information below may not be posted to your Office 365 tenant as not all notifications apply to all tenants.

 

Planned Downtime: Yammer Data Export API

Posted: December 27, 2016 | Urgency: Normal | Category: Stay Informed | Action: Awareness | We’re updating several features for Outlook on the web. These features include: (1) Share calendar availability, (2) Sweep enhancements, (3) Up Next, (4) OneDrive sharing improvements and (5) OneDrive sharing tips. You’ll begin seeing these changes over the coming weeks. This message is associated with Office 365 Roadmap items: 51996, 54471, 51995, 61795, 61796. Your users will be able to take advantage of these feature enhancements in Outlook on the web. Familiarize yourself with these new features with more information available on the Office 365 Roadmap at http://fasttrack.microsoft.com/roadmap#I-51995.

 

Updated Feature: Microsoft Teams admin experience

Posted: December 27, 2016 | Urgency: Normal | Category: Stay Informed | Action: Awareness | In December, we continued our work to evolve the new Office 365 admin center to make it easier for you to manage your subscriptions and users. This month, we introduced the new OneDrive for Business admin center, created new settings to manage Microsoft Teams and GigJam, and added improvements to the new Service Health Dashboard. Log into the new admin center and try the new functionality. Provide feedback using the feedback button in the admin center. Learn more in the recent blog post at https://blogs.office.com/2016/12/22/whats-new-in-office-365-administration-december-update/.

 


UPCOMING EVENTS

Azure Active Directory Webinars for January

When: Multiple sessions currently scheduled through January 19, 2017 | Are you looking to deploy Azure Active Directory quickly and easily? We are offering free webinar briefings on key Azure Active Directory deployment topics! Sessions include: Getting Ready for Azure AD, Streamlining Password Management, Securing Your Identities with Multi-Factor Authentication, Managing Enterprise Applications and Accessing Your Organization’s Internal Apps. Each 1-hour or 75-minute webinar is designed to support IT Pros in quickly rolling out Azure Active Directory features to their organization. All webinars are free of cost and will include an anonymous Q&A session with our Engineering Team. So come with your questions!  Capacity is limited. Sign up for one or all of the sessions today!

 

Modern Workplace: Visualize – The power of data storytelling

When: Tuesday, January 10, 2017 at 8:00am PT | According to a recent study conducted by Glassdoor, data scientists are the most in-demand job of 2016. But gathering the information is only half of your organization’s challenge—it’s what you do with it that counts. How can you be sure your data isn’t just telling you the story you want to hear, but showing you what you urgently need to know? Join us for the next episode of Modern Workplace,” Visualize: The power of data storytelling” and learn how to unlock the hidden potential within your data through visualization. Plus, get an exclusive demonstration of Microsoft intelligent tools, such as Power BI and PowerPoint Designer. Industry analyst at Altimeter Group, Susan Etlinger, shares how to strategize your data into actionable tips you can use today and provides insights into creating your organization’s most insightful data yet. Data visualization specialist for The Washington Post, Gabi Steele, explains how to communicate insights through design and data storytelling.

 

Online Customer Immersion Experience: Test Drive Microsoft Teams

When: Wednesday, January 11, 2017 and Wednesday, January 18, 2017 at 10:00am PT & 12:00pm PT | The way people work together is evolving, and unique projects, workstyles, functional roles and workforce diversity call for a complete set of collaboration tools. As the appetite for new ways of working together grows, new developments in communications, mobility, and cloud services are enabling professionals to communicate and collaborate in ways that were previously not possible. Join Microsoft to test drive Windows 10, Office 365 and get your hands-on our hottest new collaboration tool: Microsoft Teams. Each 90-minute session starts with an online business roundtable, discussing your biggest business challenges with a trained facilitator and then transitions into a live environment in the cloud.  You will receive a link to connect your own device to a remote desktop loaded with our latest and greatest technology so you can experience first-hand how Microsoft tools can solve your biggest challenges. Space is limited: each is session is only open to 12 participants.  Reserve your seat now.

 

Skype Academy: What’s new in Skype Operations Framework (SOF) – January 2017 edition

When: Tuesday, January 17, 2017 at 8:00am PT | Audience: CTOs, Architects, partner portfolio leads | Level: 200 | Customer Journey: Get Deployed, Cloud Migration | This session introduces you to the Skype Operations Framework (SOF) Operate Release, which covers what’s new in SOF since September 2016. This session covers updates to existing assets in the interim and new features that we have added to the SOF web site to make it easier to consume and use SOF.

 

Skype Academy: Managing a high quality and reliable service delivery

When: Wednesday, January 18, 2017 at 8:00am PT | Audience: Collaboration Lead / Architect, Service Owner, IT Admins | Level: 300 | Customer Journey: Get Deployed, Cloud Migration | This session helps you to find answers for “How do I run a Skype for Business Online deployment to deliver great experience to my end users and value to the business?”. What’s involved in user experience, what is delivered by Microsoft and where are you responsible? This session helps you to be prepared for ongoing operations and decide on an operations model.

 

Skype Academy: Roles and Responsibilities beyond Skype for Business operations

When: Thursday, January 19, 2017 at 8:00am PT | Audience: Collaboration Lead / Architect, Service Owner, IT Admins | Level: 300 | Customer Journey: Get Deployed, Cloud Migration | Which teams are involved in running a Skype for Business Online deployment, what tasks need to be performed? This session helps you to identify the operational roles and map them to teams delivering these operational roles/functions. This allows you to align for operations early and make sure that all teams are ready to engage as soon as the pilot starts.

 

FastTrack Webinars: Learn how to do more, together

When: Multiple sessions currently scheduled through January 26, 2017 | Ask questions, learn shortcuts and find out how Office 365 can make you and your team more productive. Each webinar is a live, instructor-led session offered at multiple dates and times. Facilitated discussion follows each session, with opportunities to ask questions and discuss specific scenarios to you. Direct registration links for each webinar are provided below.

 


BLOG ROUNDUP

The new Office.com gets first major update

Back in April, we started rolling out a new Office 365 home page experience that provided a redesigned environment for commercial, education and home users to collaborate and work across every device. The update also delivered improved access to recent files and folders and introduced a new platform for faster delivery of innovative features. We’re now rolling out new changes that will greatly increase the ease of navigating apps and improve access to frequent and recently opened documents. These changes started rolling out in December and will continue through early 2017.

 

Are you ready to host large-scale virtual presentations?

Large-scale virtual meetings have unique needs and considerations that your IT team should keep in mind to ensure you can deliver a high-quality virtual experience. Beyond selecting the right virtual meeting software, what does your IT department need to do to ensure successful large-scale virtual presentations? This post details three major considerations and highlights Skype Meeting Broadcast as a potential solution. | Additional Resource: Ultimate Meeting Guide (ebook)

 

Power BI Desktop – 2016 Year in Review

2016 has been quite the year for the Power BI Desktop. Over the course of our 11 releases this year, we’ve delivered over 190 features and improvements based on your feedback. For December, we are taking a break from our monthly releases to focus on quality. We’ll start the new year with another Desktop release. In this month’s post, we’ll take a look back at the past year, recapping several of our favorite features, and taking a look at our big focus areas from this past year such as Analytics, Visual formatting, Slicers and filters, security, data connectivity and data preparation.

 

Microsoft Flow: Adding DocuSign, SurveyMonkey, and OneNote (Business) support

For our last update in 2016, we are adding support for three highly requested services. DocuSign is the most widely used eSignature and Digital Transaction Management platform in the world, and now, with Microsoft Flow integration, signing and getting documents signed can be even easier. SurveyMonkey is the world’s leading provider of web-based survey solutions. SurveyMonkey is used by companies, organizations, and individuals to gather the insights they need to make more informed decisions. Microsoft Flow can be triggered in a number of different scenarios: such as when a new survey is created, or when someone adds a response to an existing survey. Finally, we are adding support for OneNote for notebooks that are hosted on Office 365 or OneDrive for Business. You can now to track new sections, create notes and more. | Additional Resource: Flow of the Week – DocuSign Streamlined Process

 


NOTEWORTHY

Video: Threat Intelligence for Office 365

Format: Video (5 minutes) | Program Manager Phil Newman introduces Office 365 Threat Intelligence, which provides actionable intelligence to understand an organization’s risk profile, and respond to changing threat conditions.

 

Microsoft Tech Summit: Register for a city near you

Free, two-day technical training for IT professionals and developers with experts who build the cloud services across Microsoft Azure, Office 365, and Windows 10. Whether you know your way around the cloud or are just getting started, learn from over 70 technical training sessions and hands-on labs to help you build your cloud skills. Connect with Microsoft engineering experts from Redmond, technology partners and your industry peers who can help you get the most out of the cloud. Deep dive into the latest innovations covering a range of topics across Microsoft Azure and the hybrid platform including security, networking, data, storage, identity, mobile, cloud infrastructure, management, DevOps, app platform, productivity, collaboration and more.

 

All Office 365 Sessions at Tech Summit

Microsoft Tech Summit isn’t coming to a city near you, or you can’t make it on the scheduled dates if you’re nearby? This post on the Microsoft Tech Community includes a directory of all of the Office 365 sessions and provides links to each session and the associated content. You can click the link to see the session post, view the slide decks and ask questions. Sample sessions include: Powering IT Transformation with Office 365, Connect your company with Yammer – a vision and roadmap update, Discover Office 365 Groups – overview, what’s new and roadmap, Explore OneDrive for Business key features and roadmap, Keep your OneDrive and SharePoint content safe, What’s new in Office 365 management – usage reporting, change management and service health, and many more!

 

Storage migration from Google Cloud to Azure using Azure Functions

$
0
0

My Customer wants to move from Google Cloud to Azure. One of their problems was the storage migration.
However, the problem is they have too many files, so the gsutil, which is a tool of Google Cloud, didn’t get a response for listing the files.
To solve this problem, I wrote code for Azure Functions and a client.

1. Architecture

hackfestxenodataarchitecture

You can access Google Cloud Storage object via Google Cloud SDK (.NET).
https://cloud.google.com/dotnet/docs/

Cloud Storage Client Libraries

  1. The client gets the list of the objects.
  2. The client split the list and send a message to Azure Storage Account Queue.
  3. Azure Functions detect the queue then a function starts.
  4. The function retrieves the objects
  5. then store into Azure Storage Account(Blob).

Azure Functions work concurrently.

2. Getting Credential from the console of Google Cloud Platform

Go to the console of Google Could Platform then go API Manager/Credentials. You need to create a Service account Key by the following process.
When you finish this process, you will get a JSON file. This is the credential file for accessing the Storage from your application.

credential01

credential02

3. Azure functions

NOTE: This code is for spike solution. For production, I highly recommend using async/await for concurrent programming. I’ll share after finishing production code.

3.1. Upload a GCP credential

The problem is how to store the GCP credential file. The best answer might be an Azure Key Vault. However, Azure functions don’t support it currently. We can use Key Vault SDK. However, we need to store KeyVault credential instead. I decide to upload the GCP credential to Azure functions. You can upload your credential on the Azure Functions page on your browser. I upload the credential named “servicecert.json”.

See Feature request: retrieve Azure Functions’ secrets from Key Vault

upload

3.2. Create a Storage Account Blob Container in private

storage

storage2

container

3.3. Getting Blob service SAS token

securestorageaccount

3.4. Write a function

I use the Queue Trigger for C# template. Since I need to copy whole Container, I don’t use blob output bind.
The code is quite simple. However, the problem is you can’t use the latest Google Cloud SDK(1.0.0-beta6) for Azure Functions. Currently, Azure Functions has an issue to manage the different versions library. See …. The problem might be solved in the near future. I just downgrade the library (1.0.0-beta5) and modify the code for adopting 1.0.0-beta5.

NOTE: This code is for spike solution. For production, I highly recommend using async/await for concurrent programming. I’ll share after finishing production code.

project.json

{
 "frameworks": {
 "net46":{
 "dependencies": {
 "Google.Cloud.Storage.V1": "1.0.0-beta05"
 }
 }
 }
}

 

run.csx

#r "Microsoft.WindowsAzure.Storage"
using System;
using System.IO;
using Google.Cloud.Storage.V1;
using Microsoft.WindowsAzure.Storage;
using Google.Apis.Auth.OAuth2;

public static void Run(string message, TraceWriter log)
{
 log.Info($"C# Queue trigger function processed: {message}");
 // Google Storage
 var credential = GoogleCredential.FromStream(System.IO.File.OpenRead("D:\home\site\wwwroot\QueueTriggerTest\servicecert.json"));
 var client = StorageClient.Create(credential);
 var bucketName = "simpleatest";

// Azure Storage Account
 var storageAccount = CloudStorageAccount.Parse("BlobEndpoint={YOUR BLOB SERVICE SAS TOKEN is here}");
 var blobClient = storageAccount.CreateCloudBlobClient();
 var container = blobClient.GetContainerReference(bucketName);
 container.CreateIfNotExists();

foreach(var obj in client.ListObjects(bucketName, message))
 {
 if (IsDirectory(obj.Name))
 {
 container.GetDirectoryReference(obj.Name);
 } else
 {
 var blockBlob = container.GetBlockBlobReference(obj.Name);
 using (var stream = blockBlob.OpenWrite())
 {
 client.DownloadObject(bucketName, obj.Name, stream);
 }
 }
 log.Info($"{obj.Name}:{obj.ContentType}");
 }
}

private static bool IsDirectory(string backetPath)
{
 return backetPath.EndsWith("/");
}

 

Async/Await source code:  https://gist.github.com/TsuyoshiUshio/b258e20b5a4c21d24200cec222757511

See Azure functions with NuGet packages that have different versions of the same dependency

Once you set the test parameter, you can test it via Browser.

 

If you specify “”(remove the letter) as the Request body, you can see the whole bucket(GCS) copied to a container(Azure).

functions

storage-gcp

azurestorage

4. Write a client code

Client Code sample is also simple. You just send messages to the queue. A message includes the filter string for storage objects.

You can split the objects any way you like.

 var queueStorageAccount = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName={YOUR ACCOUNT NAME HERE};AccountKey={YOUR ACCOUNT KEY HERE}");
 var queueClient = queueStorageAccount.CreateCloudQueueClient();
 var queue = queueClient.GetQueueReference("myqueue");
 queue.CreateIfNotExists();

   :

 var message = new CloudQueueMessage(obj.Name);
 queue.AddMessage(message);

  :

queue.DeleteMessage(message);

Get started with Azure Queue storage using .NET

Configure Azure Storage Connection Strings

Enjoy coding.

Problemas al unir un nodo al cluster entre sitios? Problema Resuelto!!

$
0
0

Hola a todos!

Volvemos nuevamente con una nota interesante, basada en casos que hemos recibido recientemente, donde se experimenta una falla de comunicación entre 2 nodos de Failover Clúster.

Este comportamiento se evidencia principalmente al unir nodos a un Failover clúster en un ambiente en el que existen equipos de terceros realizando tareas de inspección y reenvío de paquetes, mediando las comunicaciones entre los nodos.

Ambiente

El ambiente está compuesto de la siguiente manera:

  • Nodo A, ubicado en el Sitio A (Con dirección IP 192.168.0.100)
  • Enlace WAN con equipamiento realizando tareas de inspección y reenvío de paquetes
  • Nodo B, Ubicado en el Sitio B (Con dirección IP 192.168.1.100)

       Hay otros nodos en ambos sitios que están unidos y no presentan la falla.

Síntomas

Cuando se intenta unir el Nodo B al clúster, y se toma una traza del componente NetFT utilizando el siguiente comando:

netsh trace start capture=yes overwrite=yes maxsize=4096 tracefile=c:base_cluster.etl provider={7E66368D-B895-45F2-811F-FB37940421A6} keywords=0xffffffffffffffff level=0xff

Se pueden observar los siguientes eventos a lo largo de la traza:

[26] 0000.0000::12/15/16-12:38:00.2645164 [rm] rmadp_c797 RmHeartbeatTimerDpc() – Monitor FFFFE0007B4522A0 (192.168.0.100:3343 –  192.168.1.100:3343) sending RCP request FFFFE0007B4C7570 (sequence 7). Ticks=5969997, last=5969741, delay=256.

[26] 0000.0000::12/15/16-12:38:00.2645404 [rm] rmadp_c844 RmHeartbeatTimerDpc() – Monitor FFFFE0007B4522A0 (192.168.0.100:3343 –  192.168.1.100:3343) missed HB response, gap=6

[8] 0000.0000::12/15/16-12:38:00.2645566 [rm] rmadp_c1035 RmSendComplete() – Monitor FFFFE0007B4522A0 (192.168.0.100:3343 –  192.168.1.100:3343) completed RCP message FFFFE0007B4C7570 with 0.

[12] 0000.0000::12/15/16-12:38:00.2734304 [rm] rmsup_c1412 RmFilterRcpMessage() – Validation of RCP packet failed – Route monitor (192.168.0.100:3343 –  192.168.1.100:13429) FT IPs (fe80::d5e4:bf14:708f:b3db –  fe80::ec3f:16be:f9a4:3cf3) not found.

[12] 0000.0000::12/15/16-12:38:00.2734317 [ta] tnsup_c113 TaFilterPacket() – Dropping received RCP messages from 192.168.1.100:13429.

Lo que se debe observar aquí es el puerto de origen y destino de los paquetes.

Tal como lo indica la siguiente nota, el puerto de origen y destino del Heartbeat de Failover Clúster es el puerto UDP 3343. Cuando este puerto es cambiado ya sea en origen o destino, por defecto, el clúster va a descartar los paquetes, dando fallas a la comunicación.

Si tomamos una captura de red al momento de reproducir el inconveniente, vamos a ver el siguiente comportamiento en los paquetes del Heartbeat:

Frame

Time and Date

Time Delta

Source IP

Destination IP

Protocol

Description

Conversation ID

76

12:38:05 15/12/2016

0.9755848

192.168.0.100

192.168.1.100

UDP

UDP:SrcPort = 3343, DstPort = 3343, Length = 112

{UDP:2, IPv4:1}

77

12:38:06 15/12/2016

0.9062613

192.168.0.100

192.168.1.100

UDP

UDP:SrcPort = 3343, DstPort = 3343, Length = 112

{UDP:2, IPv4:1}

78

12:38:08 15/12/2016

2.1091963

192.168.0.100

192.168.1.100

UDP

UDP:SrcPort = 3343, DstPort = 3343, Length = 112

{UDP:2, IPv4:1}

79

12:38:08 15/12/2016

0.0092498

192.168.1.100

192.168.0.100

UDP

UDP:SrcPort = 13429, DstPort = 3343, Length = 112

{UDP:3, IPv4:1}

80

12:38:08 15/12/2016

0.4905616

192.168.1.100

192.168.0.100

UDP

UDP:SrcPort = 13429, DstPort = 3343, Length = 74

{UDP:3, IPv4:1}

81

12:38:08 15/12/2016

0.0000013

192.168.1.100

192.168.0.100

UDP

UDP:SrcPort = 13429, DstPort = 3343, Length = 94

{UDP:3, IPv4:1}

 

Si abrimos los paquetes, vamos a ver en el detalle que, en el paquete de origen (es decir el que sale del servidor que está enviando el Heartbeat) los puertos coinciden tanto en origen como en destino, tal como es el estándar o la configuración por defecto del Clúster (Puerto origen y destino UDP 3343):

   Frame: Number = 78, Captured Frame Length = 146, MediaType = ETHERNET

+ Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[10-8C-CF-56-3C-C0],SourceAddress:[5C-B9-01-C8-70-E0]

+ Ipv4: Src = 192.168.0.100, Dest = 192.168.1.100, Next Protocol = UDP, Packet ID = 11776, Total IP Length = 132

– Udp: SrcPort = 3343, DstPort = 3343, Length = 112

    SrcPort: 3343

    DstPort: 3343


TotalLength: 112 (0x70)

    Checksum: 27094 (0x69D6)

  + UDPPayload: SourcePort = 3343, DestinationPort = 3343

 

Ahora bien, si miramos el paquete en destino, vamos a notar un ligero cambio en el paquete, que a simple vista puede parecer inofensivo, pero es lo que realmente nos está causando todos los dolores de cabeza:

   Frame: Number = 79, Captured Frame Length = 146, MediaType = ETHERNET

+ Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[5C-B9-01-C8-70-E0],SourceAddress:[10-8C-CF-56-3C-C0]

+ Ipv4: Src = 192.168.1.100, Dest = 192.168.0.100, Next Protocol = UDP, Packet ID = 11261, Total IP Length = 132

– Udp: SrcPort = 13429, DstPort = 3343, Length = 112

    SrcPort: 13429

    DstPort: 3343


TotalLength: 112 (0x70)


Checksum: 52191 (0xCBDF)

  + UDPPayload: SourcePort = 13429, DestinationPort = 3343

 

Como pueden observar, el puerto de origen del paquete, al pasar a través del enlace WAN, llega modificado al destino. Esto mismo se puede notar en las capturas de ambos nodos, donde los paquetes salen de manera correcta, pero llegan del nodo contrario con puerto de origen cambiado.

Solución

Debido a que desde Windows el comportamiento en el envío de paquetes desde ambos nodos es el esperado (es decir, ambos nodos envían los paquetes con puerto origen y destino UDP 3343) y que, al atravesar el enlace entre los sitios el puerto de origen queda cambiado, recomendamos verificar las siguientes acciones:

  • Evaluar la infraestructura de red para poder detectar:

o  Cuantos saltos hay entre cada nodo

o  Qué función cumple cada uno de esos saltos

o  Evaluar la presencia de dispositivos que hagan inspección y reenvíos de paquetes

  • Tomar trazas de red en cada uno de los saltos, para poder identificar cuál de ellos es el que está realizando el cambio de puerto de origen
  • Ponerse en contacto con el fabricante de su equipamiento de red para realizar las correcciones necesarias

En caso que entre la comunicación de los nodos exista algún dispositivo del fabricante F5, les recomendamos seguir la siguiente nota para una correcta configuración de los Virtual Servers.

Como se describe allí, para los Clusters, la siguiente opción es la más adecuada para el correcto funcionamiento:

Source Port

Specifies whether the system preserves the source port of the connection.
Possible values are:

Preserve: Specifies that the system preserves the value configured for the source port, unless the source port from a particular SNAT is already in use, in which case the system uses a different port.

Preserve Strict: Specifies that the system preserves the value configured for the source port. If the port is in use, the system does not process the connection. If the port is in use by another connection, the system uses that source port anyway, and the destination server cannot distinguish the traffic of the connections sharing that source port. F5 Networks recommends that you restrict use of this setting to cases that meet at least one of the following conditions:

The port is configured for UDP traffic.

The system is configured for nPath routing or is running in transparent mode (that is, there is no translation of any other Layer 3 or Layer 4 field).

There is a one-to-one relationship between virtual IP addresses and node addresses, or clustered multi-processing (CMP) is disabled.

Change: Specifies that the system changes the source port. This setting is useful for obfuscating internal network addresses.

Preserve

 

Como se puede observar, la opción recomendada, incluso por F5, es que el Virtual server utilice la opción “Source Port” como “Preserve Strict”. Por defecto, al configurarse el Virtual Server, la opción de “Source Port” utiliza la opción “Preserve”, en la cual, si el puerto de origen ya se encuentra en uso por algún otro equipo, va a utilizar un nuevo puerto, causando los problemas que hemos notado mas arriba.

Asimismo, cabe la recomendación de ponerse en contacto con personal de F5 para poder evaluar estas configuraciones de manera adecuada, debido a que nosotros no brindamos soporte sobre equipamiento F5, y simplemente acercamos esta documentación a modo de referencia para acelerar la solución del inconveniente.

Espero que esta nota haya servido para aclarar dudas en cuanto a este comportamiento y que haya servido de ayuda.

Quiero agradecer a mis colegas Felicio Da Silva (Technical Advisor – Core / Platforms), Danilo Gonçalves (Support Escalation Engineer – Core / Platforms) y Nicolas Rojas (Support Engineer – Core / Platforms) por su ayuda en obtener gran parte de la información para esta nota (y poder aprender un poco mas de cómo funcionan las redes en los clusters) y a Martin Kirtchayan (Technical Advisor – Networking / Identity) por su ayuda con la revisión y correcciones de esta nota.

Como siempre, les agradecemos por habernos acompañado hasta aquí, así como también por seguir confiando en Microsoft.

Feliz 2017 para todos!!

 

 

【一步進入工業 4.0】缺乏「數據管理」思維,台灣人口中談的只是工業 3.x ──專訪研華科技產品部經理 高信揚

$
0
0

15-2-768x512

專訪研華科技產品部經理 高信揚

面對數位化、生產線需求的改變,台灣製造業者,不分大小型工廠,都開始關注工業 4.0 的技術發展,因為這些企業主都注意到了,如果製造型企業若不開始思考數位化轉型,就等於在慢性自殺。

不過,在台灣談工業 4.0 的實際應用聲量仍小,大部份的製造業者仍然以為工業 4.0 就是在談設備連網。關於這點迷思,研華科技產品部經理高信揚認為:「其實要談工業 4.0 ,首先應該注意的是數據管理。

設備聯網= 工業 4.0?

研華科技主攻工業電腦,在時代需求下逐漸延伸服務到設備與感測裝置的數據採集、管理的整合平台。研華近年來,為協助夥伴進行轉型,實際走進工廠裡,了解企業的需求。發現許多企業在思考上有盲點,以為讓機器自動化、連上網就達成轉型。

這概念很像要蓋房子之前,必定要打地基,當管理流程的地基沒有打好,即使後續產生了多樣的數據,也無法真正的有效搜集、系統化分析。

他說:「工業 3.0 時代就在談機器自動化,目前許多人在談的其實只是工業 『3.X』。真正的工業 4.0 其實應該要是『以科學方法,結合工業工程管理與數據判讀分析能力,藉此延伸到企業決策與維運設備』 」

如何建造一個數據化工廠?

高信揚分享,要建造一個數據化的工廠有4個步驟:

  1. 數據採集:每個工廠設備都會產生數據,如何將這些數據搜集起來?
  2. 數據整理:數據蒐集後需要統整,必須要標準化才能跨平台協作、判讀資料。
  3. 數據模組化:利用業界標準協定,將數據變成可利後續應用的半成品
  4. 數據化流程管理:利用統整後的數據,做出決策、調度生產資源、人與機械的協作

在這樣的整套流程中,其實也會產生一些事件軌跡。數據的處理經驗,本身也是一個可供後續優化管理的分析資料。高信揚強調,在這個「大數據」、「數據分析」等熱門字當道的年代,不一定真的在談大量數據,而是是否有能力將這些以事件為導向的管理經驗,同時納入決策當中。

智慧工廠最好例子:投資 3000 萬台幣,一年就回收成本

研華的合作夥伴中,就屬宏遠紡織的案例最為亮眼。宏遠紡織為遠東集團底下的紡織大廠,在認知到工廠必須轉型智慧化之時,決定投入 100 萬美金(約 3000 萬台幣)成本邁向工業 4.0,建置完成後,宏遠發現當初投入的成本,在一年內就都回收了。

建置數據化的生產線與管理系統,幫助宏遠透過數據控制物料損失,整體下降 6%;在品質管理方面,布料的染色精準度上升 5%。對於大量生產的紡織廠來講,這樣的數據表現,就是一年回收 3000 萬台幣的實質效益。

高信揚認為,台灣要轉型工業 4.0 ,最大的挑戰在於從人工管理進化到數據管理。尤其是不同產業別的製造業,對於管理的需求不同,同時要因應工廠訂單開始朝少量話、客製化的需求靠攏,管理的複雜度也會大幅增加。高信揚給的意見是:「企業必須思考如何真的用科學方法掌握數據管理訣竅,這樣才能真正轉型。」

 

【一步進入工業 4.0】結合Beacon與影像,建騰創達靠「智慧管理」晉升工業4.0 領先者

$
0
0

a-1301_03v2-672x1024

建騰創達 ACTi專案業務經理胡致莉

在杜拜,打扮奢華的貴婦一踏入某國際精品的店門,店員 10 秒內就能叫出這位 VVIP 的名字,知道她之前的購買紀錄,喜歡什麼色系的珠寶,招待她坐下來先喝杯她最喜歡的有機花草茶,再拿出符合 VVIP 喜好的最新商品,試戴後,閒話家常幾句,全包下來成交了,是什麼特異功能讓這些精品店員個個都擁有過目不忘的好眼力、好記性、預測客人喜好能力?原來是軟硬整合的網路監控攝影機數據系統,在背後默默撐腰!

從只錄影的錄影機,做到開始判讀資訊的數位大腦

以外銷網路監控攝影機 (IPCAM) 硬體起家的建騰創達 ACTi,成立已經有 13 年的歷史,在全球工業 4.0 的物聯網趨勢下,從純硬體製造銷售商,轉型以監視器擔綱眼睛的角色,讓眼睛看到、讀到的即時資訊,迅速傳回大腦做運算,並應變處置。

圖像辨識技術加上聯網數據分析,在零售、工廠、銀行、學校、物流業等等產業中成為幫手,在實體環境搭配人臉辨識、車牌辨識的技術,即時通報百貨精品業者「VIP 到了,全力款待莫怠慢!」、「慣竊黑名單到了,警衛即刻緊盯他!」,並監測出一般消費者的年齡性別與衣著打扮,去預測他的喜好與消費能力,讓櫃姐立馬端出正確價格帶產品給消費者挑選。

智慧化管理門市,防小偷也做好第一線員工管理

建騰創達專案業務經理胡致莉以位於杜拜的一家精品客戶為例,「這家擁有 250 家分店的精品品牌,因為在杜拜櫃點的員工都是來自各國外移人口的打工族,人力品質良莠不齊,流動率又高,因此他們首先要解決的問題就在於管理櫃姐,提升銷售力。」

所以在人力監控方面,建騰創達運用結合 RFID、Beacon 的系統來監測員工是否超過午休還在外面休息 ; 銷售面,在店頭裝置結合人臉辨識系統的監視器,讓新手員工也能立刻知道 VIP 客人來了,並結合 POS 結帳系統,會依客戶購買習性推薦新品。

此外,為了提升坪效,店頭設置的監視器還會紀錄人流動線,從客人在店裡逛街的歷史軌跡熱點圖,來優化室內裝潢跟產品擺設 ; 集客部分,店外的廣告看板也會偵測經過顧客的性別年齡,播出他想看的產品廣告。」零售業的影像辨識應用已經環環相扣,在工廠端,建騰創達的美國客戶也有客製化的合作故事。

acti-300x237

逛街軌跡熱點圖,協助業者改善購物動線

智慧工廠管理,影像結合 Beacon 與 RFID 技術

畫面轉到建騰創達美國客戶,是一間面積龐大的工廠,廠長最大的困擾就是常常找不到推高機員工,「到底他們把推高機開去哪邊了?」建騰創達替客戶建置了一套結合 Beacon 及拍照的門禁識別系統,讓某些車牌的推高機,限制只能在某區域駕駛,無法開去別的地方,就算闖去別的地方,也能即時通報廠長位置所在,如此一來,廠區的人力配置速度就快多了 ; 發生工安意外,也能即使掌控員工位置及現場情況,並以影像預測嚴重性,即時啟動緊急 SOP。

建騰創達轉型,怕成為傳統產業

「台灣的科技業很多都是中小企業,大家在追逐工業 4.0 浪潮中,只知道拼命的累積資料,形成自家大數據資料庫,但都單打獨鬥,資料不願意分享合作,這是最可怕的盲點。」

由實體轉虛擬,建騰創達自身就先走過工業 4.0 的轉型之路,從影像監控的軟硬體廠商,轉型以影像 (Video)演算法及應用軟體為技術核心,連結雲端、物聯網平台、開發大數據及軟體機器人服務模組,開發各種資料及硬體合作的可能,為全球客戶做客製化商業智能解決方案。

從硬體廠商變成數位雲端大數據平台的轉型夢,乍聽之下並不容易,但是建騰創達一步一腳印的往這個方向邁進,他們跟微軟雲服務 Azure 一起開發結合微軟 Office、Outlook 系統的會議資源管理系統,共享客戶資源,跟辦公室設備廠理光則是合作互動式電子白板,能夠讓開會的人雲端存取或是 email 各種開會資料。

下一步:智能業務開發,業務人員可以做到更貼心服務

下一步,建騰創達即將推出最新的秘密武器,就是智能資料機器人,這種虛擬機器人會自動偵測網路上各種資料,爬出公司行號的各式聯絡資訊,智能判斷出各行各業的業務應該要找的正確窗口名單,建騰創達內部業務已經使用了一年,胡致莉分享她自身的使用經驗:「業務不用再陌生開發,從打電話給總機開始找窗口,一個個打通關,直接拿到正確客戶名單,就能找到對的關鍵人物,省下業務一半時間,開發更多新客戶,而且這樣的智能機器人,在配對應用面很廣,還可以應用在人力銀行上、月老銀行,去配對出最正確速配的人。」

對於未來,胡致莉很輕鬆就勾勒出月老銀行的商業新契機,機器人可以預測哪兩個人是從外貌到興趣、經濟條件適合配對,連上電影系統就能挑一部雙方都愛看愛吃的最新強檔電影或是浪漫餐廳,線上提供戀愛折扣,促成即刻消費,用影像辨識跟資料整合技術,讓人類迅速墜入情網。

industry4-1121-768x409

 

【一步進入工業 4.0】專訪華雲創辦人簡士評:台灣要轉型工業 4.0,人資管理要先革新

$
0
0

screen-shot-2016-12-01-at-12-57-08-pm-768x715

華雲創辦人簡士評

「台灣企業大多不重視人力資源,經營、培育公司人才、創造核心文化才是 HR(人力資源) 真正價值,但台灣 HR 被綁在一些重複性高,處理放假、發薪的行政工作。」這些觀察來自於擁有 15 年人資管理經驗的華雲創辦人簡士評。

研究所主修人資,簡士評過去曾在台積電、鴻海、聯發科、群創等大廠人資部門任職。他觀察到台灣產業普遍以為人資就等於人事,權責分不清楚,從人才招募、發薪水、休假管理,甚至總機職務都要代管。

HR 的功用不是拿來算薪水,而是要為公司創造永續的文化價值

簡士評說:「HR 做得好,企業才有靈魂。積電是台灣唯一願意投入上億成本做 HR 管理系統、聘請國際級 HR 主管的企業,所以可以快速擴張公司,而且公司文化、核心價值明確。」反觀一些沒有特別經營人力資源管理的製造廠,員工流動率、晉升制度不明確,連帶影響到企業競爭力的發展。

但是,一般中小型企業,無法像台積電一樣,投入上億台幣建置人力資源管理系統,加上這些人資管理軟體價格十分昂貴,因此簡士評看重這個缺口,在 2013 年時決定開設華雲股份有限公司,以雲端人力資源管理平台「TUBE」作為產品主軸。這套雲端軟體針對企業客戶為主要市場,適用對象從 30 人小工廠到 5000 人大廠都適用,而且不限行業別。

把重複性質高的工作用軟體取代,讓「管理」更輕鬆

TUBE 平台將所有公司必備的行政人事需求雲端化,只要透過線上軟體管理,就可以智慧化處理員工薪水、排班、請假出席紀錄。簡士評認為,想要把 HR 的人力、時間釋放出來,就得先用軟體把這些工作取代掉。

以目前華雲有在合作的企業夥伴古典玫瑰園來說,以往服務業的排班多半使用紙本排班表,若有員工臨時請病假,當天的排班就會出狀況,但是透過 TUBE 系統,當班主管即可預先知道人力調配。

台灣要轉型工業 4.0,管理方法的革新超重要

在台灣要轉型工業 4.0 的年代,其實人事管理的智慧化非常重要。許多傳統製造廠認為只要讓機器連網,基本上就等於轉型成功。不過管理決策、人才培育這些與「人」高度相關的面向卻被忽略了。

工業 4.0 背後的精神,是分散式決策,各組織或單位依據足夠的資訊來合作。尤其需要重新設計管理階層與員工協作機制。

例如,在工廠的生產線上,以往人事不會特別注意到哪條生產線投注人力與產能之間的產值比較、哪條產線或是部門的離職率偏高?但是透過 TUBE 平台,把排班、打卡、請假、薪資的資訊全部都結合在一起,一眼就可以看出企業投入的資源與員工的產出是否成正比,甚至可以做出調整的決策方案。

除了蒐集人力相關數據,華雲也希望未來能拓展成公司內重要的員工管理工具,包含員工福利、人員進修、招募人才都能透過 TUBE 系統完成。例如,蒐集市面上既有的線上課程,員工可以透過 TUBE 去選修,修課完成後也記錄在員工的公司檔案裡,未來的考績、升遷就可將這些資料納入考量。

10 年後最有可能被人工智慧取代的職業之一:人事行政

簡士評說:「其實人事的工作,是未來最有可能被 AI 取代掉的職業之一。HR 應該要成為定調公司文化的主軸,幫助公司真正的去挑選人才、建立管理制度,長遠來看才能為公司創造價值,這也是機器做不到的事情。」

在國外,一個新創公司 Zenefits 就是以 SaaS 服務模式,提供企業線上的 HR 管理系統,在創立兩年內市值就衝破 45 億美元,顯示這一塊的市場正在萌芽,也預言了未來企業管理的革新是發展趨勢。

目前華雲有 60 名員工,其中有 40 名工程師專注於研發更簡便、容易使用的平台服務,預計在明年正式推出產品宣傳,並且開始籌備募資計劃,目標明年底要談到500 間企業客戶,並且為企業帶來真正的管理革新。

industry4-1121-768x409-1

SharePoint 목록 임계 값 설정 방법

$
0
0

[문의 내용]

  1. 목록 임계 값 설정 방법

[조치사항]

  1. 중앙 관리

    CA > Application Management > Manage web applications

    <설정할 Web application 선택>

    <Resource Throttling Settinsg>

  2. PowerShell 을 이용한 목록 Enable Throttling 설정

    <관리자 모드로 SharePoint Management Shell 실행>

    <라이브러리 URL 확인>

    <라이브러리내의 Throttling 설정>


Extending the support of platforms for SCSM 2016

$
0
0

Hi everyone! Thanks for sharing your feedback and experiences with the Service Manager 2016 deployment. We heard you, and to make your deployment and upgrade experience better, we are now extending the support of following platforms for Service Manager 2016 –

  • Support of SQL server 2014 SP2 for both SM 2016 & 2012 R2
    As some of you were waiting to upgrade your SQL servers, Service Manager 2016 and Service Manager 2012 R2 (with Update Rollup 9) now officially support Service Pack 2 for SQL Server 2014 for hosting your Service Manager CMDB and Data Warehouse databases.
  • Support of SM 2016 console on Windows 7
    Service Manager 2016 console installation will now be supported on Microsoft Windows 7. This will require installation of .NET 4.5.1 as a pre-requisite for Windows 7 to support the SM 2016 console. You can download it from here.

    Please note that the new spell check feature which was introduced in the Service Manager 2016 console, will have limited language support for Windows 7 installations. The supported languages on Windows 7 include English, French, German and Spanish.

  • Support of SM 2016 connectors with System Center 2012 R2 components
    We heard your feedback that the seamless and easier upgrade to Service Manager 2016 requires keeping the support of SM connectors with System Center 2012 R2 components. Hence, we will be supporting System Center 2012 R2 Virtual Machine manager, Orchestrator, Operations Manager and Configuration Manager (including SCCM 1511, 1602 and 1606) to be used with Service Manager 2016 connectors.

We have done a fair amount of validation to make sure that everything continues to work as expected. That said, if there is anything which seems suspicious let us know via your comments below.

TNWiki Article Spotlight – Getting started with Azure Functions

$
0
0

Azure FunctionsWelcome to another Tuesday TNWiki Article Spotlight.

Azure Functions made a splash last year when they were announced in March and again in November when they went into general availability. Functions offer users a way to run small pieces of code or “functions” in the cloud. You can create code pieces to solve just the problems you have without needing to set up an entire solution architecture to run it. Use the development language of your choice to create your functions: C#, F#, Node.js, Python or PHP. Once they are added to Azure, pay only for the time the code is running.

To see how this can be accomplished, Bhushan Gawale has created an award-winning article entitled Azure Functions: Getting Started for the TechNet Wiki. In the post, Bhushan introduces us to the many concepts of Azure Functions including the runtime, infrastructure, dependencies, security and templates. He then shows these ideas by creating an Azure Function. Bhushan wraps up the post by talking about Visual Studio tooling support and the pricing schemes within Azure.

If you ever wanted to know more about Azure Functions, start with this high-level overview.

by Ken Cenerelli (TwitterBlogMSDN ProfileMVP Profile)

[Article Spotlight] Interazione con SQLite per Android con Visual Studio e Xamarin (it-IT)

$
0
0

Benvenuti a questo nuovo appuntamento con il consueto Article Spotlight del martedì, e buon 2017 a tutti i nostri lettori!

Segnalo oggi un articolo da me redatto alcuni giorni fa, e dedicato a Xamarin, il framework dà la possibilità di scrivere applicazioni multipiattaforma a tutti gli sviluppatori che utilizzano le tecnologie Microsoft, ed in modo particolare Visual Studio, che ora lo integra (ovviamente, se selezionato in fase di setup). Nell’articolo di oggi mostro una semplice app Android, che avrà il compito di ricevere input digitati dall’utente, e di inserirli in un database SQLite, per mostrarli quindi a video. Con una sola applicazione vedremo quindi diversi aspetti legati allo sviluppo di soluzioni di questo tipo, e più nello specifico:

  • Le differenze, rispetto per esempio a Winforms o WPF, nello sviluppare un’interfaccia grafica destinata ad Android
  • La creazione di un database SQLite, e suo utilizzo
  • Le specifiche di gestione delle Activity, ed un’analisi di base dell’organizzazione dei progetti Android
  • L’utilizzo della libreria SQLite-net, in qualità di semplice ma versatile ORM

    screen-shot-2016-02-24-at-4-50-59-pm-963x502

Interazione con SQLite per Android con Visual Studio e Xamarin (it-IT)
https://social.technet.microsoft.com/wiki/contents/articles/36612.interazione-con-sqlite-per-android-con-visual-studio-e-xamarin-it-it.aspx

Spero questa lettura possa essere di aiuto a coloro che si approcciano a Xamarin.Android per le prime volte, in modo da prendere familiarità con i concetti di base legati allo sviluppo tramite questa piattaforma, continuando ad utilizzare le tecnologie che ci sono care come C#.

Il risultato finale, che otterremo nello sviluppo dell’articolo, è quello visibile con il seguente video, che ho caricato come dimostrazione di quanto andremo ad implementare. L’articolo è altresì corredato dal codice sorgente, come sempre liberamente scaricabile e modificabile.

Arrivederci a presto su queste pagine!
Emiliano Musso

Word에서 Custom Template 등록 하는 방법

$
0
0

이번 Post에서는 Word에서 보여지는 기본 서식(Templates)을 변경하는 방법에 대하여 알아 보도록 하겠습니다.  진행을 하기 앞서, 아래 [주의 사항]을 읽어 보신 후 주의 사항에 동의 하신 분에 한하여 진행을 요청 드립니다.

 

[주의 사항]

아래서 진행할 방법은 Normal.dotm를 수정해야하기 때문에 반드시 적용 전 충분한 테스트를 진행한 후 적용을 해야 합니다. 또한, 해당 방법은 BlogPost 한 내용이기 때문에 적용 후 Side Effect가 발생하더라도 Microsoft에 책임이 없음을 알려 드립니다. , 이에 동의 하신 분들에 한하여 아래 내용을 적용하여 주시기 바랍니다.

 

[진행 방법]

기본 서식 파일 변경(Normal.dotm)

-> Normal.dotm에 서식 파일은 Word를 실행할 때마다 열리며, 이 파일에는 문서의 기본 모양을 지정하는 기본 스타일 및 사용자 지정 설정이 포함 되어 있습니다. Normal.dotm의 경로는 다음과 같습니다.

C:Users<username>AppDataRoamingMicrosoftTemplatesNormal.dotm

[중요] Normal.dotm을 변경하면 이후 만들어지는 모든 문서에 변경된 내용이 적용됩니다. , Normal.dotm은 모든 문서에 영향을 주기 때문에 적용에 있어 충분한 테스트 진행이 필요합니다.

 [Normal.dotm 변경 방법]

  1. Word를 실행한 후 새로운 문서를 엽니다
  2. 적용을 하고 하자는 양식을 문서에 적용합니다.
    1
  3. [파일]->[다른 이름으로 저장]을 선택한 후, [파일 이름]은 “Normal.dotm으로 설정을 하고, [파일 형식]을 “Word 매크로 사용 서식 파일(*.dotm)으로 바탕 화면에 저장을 합니다.
    2
  4. 탐색기를 열어 [%AppData%MicrosoftTemplates]으로 이동을 합니다.
    3
  5. 해당 폴더에 있는 Normal.dotm Backup을 해둔 상태에서 삭제를 합니다.
  6. C 단계에서 생성한 Normal.dotm을 해당 폴더로 복사합니다.
  7. Word를 실행하면, 아래와 같이 사용자 지정 서식으로 Office가 열리는 것을 확인할 수 있습니다.
    4
  8. [참고]  위에서도 언급 드렸듯이 Normal.dotm은 모든 문서에 적용 되기 때문에, 새 문서를 만들더라도 Normal.dotm에서 적용한 양식이 항상 적용되게 됩니다.

사용자 지정 서식 파일 (Custom Templates)

-> 사용자 지정 서식 파일은 Normal.dotm과 다르게 특정 문서를 생성할 때, 사용자 지정 서식을 적용할 수 있습니다.

 

[사용자 지정 서식 파일 생성]

  1. Word를 실행한 후 새로운 문서를 엽니다
  2. 적용을 하고 하자는 양식을 문서에 적용합니다.
    5
  3. [파일]->[다른 이름으로 저장]을 선택한 후, [파일 이름]*.dotx으로 설정을 하고, [파일 형식]을 “Word 서식 파일 (*.dotx)으로 %AppData%MicrosoftTemplates경로에 저장을 합니다.
    6
    [저장 경로] 파일의 저장 경로는 2가지로 지정할 수 있습니다. 기본적으로는 [라이브러리]->[문서]에 저장이 되도록 설정이 되어 있습니다.
  1. [라이브러리]->[문서]
  2. C:Users<username>AppDataRoamingMicrosoftTemplates
  • Word를 실행합니다.
  • [파일]->[새로 만들기]를 선택한 후, [내 서식 파일]을 선택합니다.
  • [개인 서식 파일] 탭을 보게 되면 C 단계에서 생성한 Custom Templates이 나타납니다.
    7
  • 해당 Custom Templates을 열면 아래와 같이 기존에 적용한 서식 파일이 열리게 됩니다.
    8

Setting Google DNS with powershell

$
0
0

My local ISP’s router won’t let me modify dns settings in it’s dhcp table, so created the following powershell script to point my boxes to google dns.

The following will look for a nic with an active gateway and then apply both ipv4 and ipv6 google dns definitions.

#requires admin (changing dns, no kidding drew)

#CODE

# look for nic w/ gateway
$GWNic=(Get-NetIPConfiguration -All |Where {$_.IPv4DefaultGateway -ne $null}).interfaceindex
# https://developers.google.com/speed/public-dns/docs/using
Set-DnsClientServerAddress -InterfaceIndex $GWNic -ServerAddresses (“8.8.8.8″,”8.8.4.4″,”2001:4860:4860::8888″,”2001:4860:4860::8844”)

4 reasons to be excited about gaming in 2017

$
0
0

Gaming in the Middle East is booming. The industry is worth more than $1 billion, and is expected to rise to $4.4 billion by 2022, according to consulting firm, Strategy&, the global strategy consulting team at PwC.

Increasing broadband penetration and the connectivity of more Middle Eastern youth to the internet via smartphones is contributing to this growth, meaning that the regional gaming industry in the Middle East is currently growing faster than the global average.

controller-pad-afternoon-xbox

With this growth in mind, let’s look at some of the key gaming trends coming out of the region:

  1. Gaming 360° style
    International market research agency, GfK, recently conducted a study to better understand people’s behaviour across multiple devices. The research found that 60% of adults use at least two devices every day and almost one quarter use three devices. Another survey in Iran showed that smartphones and tablets are the most popular gaming devices among Iranians but desktop computers, consoles and laptops are also high up on the list.This ‘multiple-screen generation’ navigates easily between different digital platforms and the real world. They increasingly expect 360° play, where each platform adds something unique to their gaming experience.

    This year there has been a variety of brands simultaneously offering games, movies, animated TV or web series, as well as producing branded toys and merchandise. These days, games are more than just a pastime, they are a lifestyle, a passion that people want to spend time and money on.The release of Microsoft’s experimental TV/game title, Quantum Break, is a good example of this evolving trend in gaming. In 2017, we can expect more of these 360° franchises, as consumers increasingly flit between different types of screened and live entertainment

  1. Rise of the era of ‘intergenerational’ gaming
    Families are realising that video games don’t need to drive a wedge between generations. These days more families are gaming together, bonding in their living rooms while playing family-friendly games.There is also a growing trend of ‘parent gaming advocates’ who grew up playing games themselves and are now passing their skills, knowledge and passion onto their own children.Two studies looking at the benefits of intergenerational video game play found that playing games together as a family has a positive impact on adolescent development and long-term family outcomes.

    Educational games like Minecraft, which in addition to having cross-generational appeal, also improve learning, cognitive and motor skills, as well as creativity in children, have seen a remarkable rise in popularity among families. Playing other family-friendly games like FIFA or Forza together is also a great way for families to bond.

    In 2017 we can expect more games that challenge and entertain both parents and children together. Try out Skylanders: Imaginators, Just Dance 2017, Forza Horizon 3 or FIFA 17 for more family fun next year.

  1. Cast aside the old stereotype
    Women now make up the majority of the gaming population. This is according to a study published by the Internet Advertising Bureau, which revealed that 52% of the global gaming audience is made up of women.Nowhere is this trend more visible than in the Middle East where women are fast beginning to dominate the gaming space. In fact, a recent survey in Iran showed that there are approximately 23 million gamers in the country, and 37% of these gamers are women. Saudi is no different, with almost 48% of the gaming population made up of females.With women increasingly holding more purchasing power, and the gaming population becoming more diverse, developers are starting to take notice. In 2017, expect more games that cater for the female market.
  1. Better & more powerful consoles
    One of the biggest trends to hit the industry this year, is the introduction of console updates. For example the slimmer Xbox One S, now supports 4K movies and HDR (High Dynamic Range). Xbox One Project Scorpio, a much more powerful update, will be able to support full 4K ultra HD technology as well as virtual reality (VR).These updates not only allow for a better gaming experience but they also have greater compatibility between Xbox One and Windows titles, allowing cross-platform multiplayer gaming in titles like Gears of War 4 and Minecraft for even more family fun.With these exciting trends set to come our way in the New Year, the gaming industry is likely continue growing in 2017.

Quoi de neuf sur Power BI pour finir 2016 ?

$
0
0

 

Avant de partir célébrer la nouvelle année, l’équipe produit nous a développé un certain nombre de nouvelles fonctionnalités. Voyons cela en résumé :

 

Une nouvelle interface Power BI Online – en preview

Une grande nouveauté de cette fin 2016 est la nouvelle interface de navigation qui permet une visualisation de ses contenus Power BI beaucoup plus simple, organisée et épurée. Pour tester cette nouvelle interface, il suffit de l’activer dans les paramètres au niveau du volet “Fonctionnalités en préversion” de Power BI Online.

 

image

 

image

 

 

Téléchargement d’un rapport depuis Power BI Online vers Power BI Desktop – En preview

Aaahh une fonctionnalité que l’on attendait avec impatience ! L’idée est simple, je publie mon rapport Power BI Desktop dans Power BI Online. J’apporte des modifications directement depuis mon navigateur web, et si j’ai besoin de retoucher mon modèle de données, je re-télécharge mon fichier vers Power BI Desktop.

 

image

 

 

Une nouvelle galerie de visuels R

La galerie de visuels custom Power BI s’est dotée d’une nouvelle section qui propose de télécharger des visuels permettant des représentations graphiques issues d’analyses réalisées au travers d’algorithmes en R sans que l’utilisateur n’ait besoin de coder en R.

Au travers de Power BI Online, l’utilisation de R est totalement transparente. Et via Power BI desktop, il sera simplement nécessaire de télécharger des composants R supplémentaires ( CRAN 3.3.1 et  MRO 3.3.1 ), mais l’utilisation reste la même que sur le service : On ajoute nos propres données au visuel et le traitement est réalisé en arrière plan sans que l’utilisateur n’ait besoin de faire quoi que ce soit !

Et pour chaque visuel, un exemple de PBIX est fourni pour tester l’algorithme proposé.

image

 

image

 

 

Ajout de la fonctionnalité “Data Export” dans le Solution Template pour Dynamics 365

Pour rappel, nous avons sorti au mois de mai dernier une solution packagée et customisable permettant de se connecter directement aux données de Dynamics 365 ( anciennement Dynamics CRM ) et permettant d’obtenir rapidement et automatiquement des rapports sur ces données.

Nous avons ajouté récemment à ce template, le support de la fonctionnalité “Data Export” qui vient ajouter un add-on gratuit à Dynamics 365 permettant de répliquer les données de Dynamics 365 online dans une base de données Microsoft Azure SQL Database. On bénéficie ainsi de meilleures performances et surtout d’un rapport qui est mis à jour en temps réel en fonction de la mise à jour de la base SQL, plus besoin, donc, de s’embêter à paramétrer un rafraichissement.

 

image

 

 

Un nouveau visuel Pyramid 3D chart

Un très joli visuel permettant de voir sur une pyramide en 3D la répartition en pourcentages de nos données par catégorie.

 

image

 

image

 

 

Intégration de Power BI dans Office 365 Teams

Peut-être avez vous entendu parlé ou utilisez vous même déjà Teams, notre espace de travail basé sur le chat dans Office 365. Et bien nous avons ajouté Power BI à Teams, ce qui nous permet, sur des conversations, d’ajouter des onglets dans lesquels on a la possibilité d’afficher des rapports Power BI.

 

image

 

 

La fonctionnalité Azure Stream Analytics Outputting – En preview

 

Depuis un an et demi déjà, il est possible de visualiser les données issues d’un flux Azure Stream Analytics en temps réel sur Power BI. Nous avons ensuite ajouté la notion de “streaming datasets”, des sources de données Power BI en temps réelles issues de sources générées au travers, soit de l’API REST Power BI, soit de PubNub et qui simplifiait grandement la façon d’afficher une restitution de données en temps réel.

Et bien nous avons maintenant le cumul de ces deux fonctionnalités, c’est à dire, avoir une sortie d’Azure Stream Analytics dans un “streaming dataset” ce qui apporte des fonctionnalités supplémentaires à ce que nous pouvions faire jusque là sur une sortie Stream Analytics :

  • Visualiser les dernières données en sortie de Stream Analytics
  • Visualiser les données sur une fenêtre temporelle que l’on définit
  • Et des données affichées sur Power BI de façon plus instantanée ( encore moins de latence qu’avant )

 

 

imagestreaming

 

 

Le connecteur d’alertes Power BI pour Microsoft Flow

 

Microsoft Flow est un service d’Office 365 permettant de faire de l’automatisation de flux de travail ( Ex. recevoir un SMS quand notre manager nous envoie un mail intégrant le terme “urgent” ). Etant donné que Power BI propose une fonctionnalité ‘’Data alert” permettant d’être notifié lorsqu’un visuel d’un tableau de bord répond à un critère particulier, on va maintenant pouvoir l’associer dans Data Flow au déclenchement de multiples actions possibles et disponibles pour de nombreuses applications et services : envoyer un email, poster dans Slack, effectuer une action dans Google calendar, Salesforce ou Dynamics ( voici tous les connecteurs existants : https://flow.microsoft.com/en-us/services/ ).

 

image

 

 

Le support des cartes ArcGIS – En preview

Nous vous avions annoncé la nouvelle fonctionnalité de visualisation des cartes ArcGIS dans Power BI Desktop. Il est maintenant possible d’utiliser ces visuels dans le service Power BI Online, et de publier des rapports Power BI Desktop contenant ces visuels.

 

image

 

 

Le support des URL cliquables dans l’application iOS

Dans un rapport, si il y a une donnée de type URL et que celle-ci a été catégorisée en tant qu’URL cliquable dans Power BI, il sera possible pour l’utilisateur, d’ouvrir l’URL en question depuis son mobile.

 

5b4d7cad-a762-4ad4-9b02-10083ee86be3

 

 

Amélioration de la fonctionnalité “annoter et partager” dans l’application iOS

Cette fonctionnalité disponible depuis le lancement de l’application a été améliorée pour offrir une meilleure expérience utilisateur. On peut maintenant annoter et partager plus facilement et plus rapidement un rapport ou un visuel depuis l’application pour l’envoyer via mail, sms ou autre réseau social.

 

sharepowerbireportios 

 

 

Centrer la carte au niveau de notre position dans l’application Windows

L’application Windows propose maintenant une icone qui nous permet de centrer un visuel de type carte pour un affichage de la région dans laquelle on se situe.

 

 

 

L’ajout de favoris dans l’application Android

On peut maintenant épingler des tableaux de bord en tant que favoris pour les retrouver plus rapidement.

c5a9c6ba-f5e2-4700-aef0-e2ab096f1aa6

 

 

La disponibilité de l’application Power BI sur les tablettes Android :

 

Après les téléphones, voici le support de l’application native Power BI sur les tablettes Google.

 

 

 

La fonctionnalité de prévision ( Forecasting )

Nous avions sorti cette fonctionnalité sur Power BI Desktop à la fin de l’été. La voici maintenant disponible sur Power BI Online afin de pouvoir visualiser les “prévisions” sur les line charts avec un axe temportel et les épingler sur des tableaux de bord.

 

 

 

 

Intégration avec l’application tiers LiveTiles

LiveTiles est une solution qui permet de faciliter la création de sites collaboratifs notamment via SharePoint Online et d’autres outils d’Office 365 de manière très simple via des cliquer-glisser de tuiles. Il est maintenant possible d’ajouter dans LiveTiles des tuiles Power BI pour afficher des éléments de reporting sur son site.

 

LiveTiles presents: the new Power BI Tile!

 

 

 

Et bien sur comme chaque mois, n’hésitez pas à faire une petit tour sur la galerie “Data stories” pour voir les dernières nouveautés en terme de rapports partagés par la communauté !

 

 

image

 

Et voilà côté Power BI Online pour 2016, rendez-vous sur l’article Power BI Desktop pour finir sur de belles nouveautés là aussi !


Quoi de neuf sur Power BI Desktop en fin 2016 ?

$
0
0

 

Avec les dernières nouveautés Power BI Online, l’équipe produit nous a proposé quelques autres améliorations côté Power BI Desktop pour bien finir l’année 2016.

 

Nouveautés côté visuels :

 

Amélioration des slicers :

Le slicer fourni par défaut dans Power BI a été améliorer pour pouvoir :

 

1) Mieux gérer l’espace sur le rapport avec l’intégration d’un slicer de type “Dropdown” qui contrairement au slicer de type “Liste” permet de n’afficher la liste des valeurs disponibles pour le filtre que lorsque  je sélectionne la flèche du menu déroulant afin d’économiser de la place sur mon rapport.

 

image

 

2) Mieux gérer la notion de dates, en proposant maintenant de sélectionner une plage de temps entre 2 dates, les dates avant une date donnée , ou encore les dates après une date donnée.

 

image

 

 

Affichage des hiérarchies sur l’axe des abscisses

Une nouvelle option permet de choisir si l’on souhaite concaténer ou non les différents niveau de la hiérarchie dans l’affichage de l’axe des abscisses :

 

image

 

 

image

 

 

Le formatage conditionnel dans une matrice

 

Il y a quelques mois, nous vous présentions la possibilité de faire du formatage conditionnel dans un tableau. Cette fonctionnalité est maintenant étendue aux visuels de type matrice.

 

image

 

 

 

Couleurs des labels des axes

Il est maintenant possible de changer la couleur des labels des axes d’un visuel.

 

image

 

 

Scrolling sur les rapports au format téléphone

En septembre nous avons sortit la fonctionnalité permettant de générer un rapport au format approprié pour la visualisation sur un téléphone. Cependant, la taille du canevas était relativement limité. On va maintenant pouvoir définir un rapport plus grand que la taille de l’écran en permettant à l’utilisateur de scroller pour visualiser la suite du rapport sur son téléphone.

 

image

 

 

Nouveautés côté analyses :

 

La fonctionnalité de Clustering – En preview

Cette fonctionnalité permet, sur un visuel de type “Nuage de points” de clusteriser automatiquement les données, c’est à dire d’utiliser un algorithme qui va regrouper les données similaires en différents groupes en fonction d’un certain nombre de caractéristiques communes qu’il détecte automatiquement.

 

image

 

 

 

Nouveautés côté connecteurs vers des sources de données :

 

– Un nouveau connecteur vers Spark ( HDInsight ou autres distributions ) en DirectQuery

– Une amélioration des performances du connecteur OData sur une connexion vers un modèle de données compliqué

– Améliorations du connecteur vers un dossier comprenant plusieurs fichiers : Analyse et détection du format de fichier, sélection d’objets spécifiques dans le premier fichier, opérations de nettoyage en fonction du premier fichier et ré-appliquées sur les autres. Ces nouvelles fonctionnalités permettent de gérer tout type de fichiers dans un dossier ayant le même type de données et la même structure de fichiers.

– Un nouveau connecteur vers le service Azure Analysis Services actuellement en preview.

 

 

Nouveautés côté requêtage de données :

 

Support du type de données “Pourcentage”

 

Il est maintenant possible de définir une donnée en tant que pourcentage et d’utiliser ces données dans des opérations arithmétiques. Par exemple, “5%” sera interprété comme “0,05” et pourra donc être utilisé pour des opérations dans l’éditeur de requêtes ou bien dans le modèle de données.

 

image

 

 

Agrandissement de la fenêtre “Dépendances de la requête”

La fenêtre de visualisation des dépendances des requêtes offre désormais un bouton permettant de l’agrandir en mode plein écran pour avoir une vision plus confortable des interactions entre les différentes sources de données.

 

image

 

 

 

Amélioration de l’expérience de création d’une fonction

 

Lorsque l’on définit une fonction basée sur une autre requête ( en utilisant la fonctionnalité “Convertir en fonction” ), un lien est maintenant créé entre la requête originale et la nouvelle fonction créée ce qui permet de modifier la requête initiale sans se soucier de la mise à jour de la fonction liée qui se fera automatiquement.

 

Et voilà pour 2016 ! Rendez-vous en 2017 pour de nouvelles fonctionnalités chaque mois ! Très bonne année à tous !

Windows 7 refreshed media creation

$
0
0

The fastest way to patch a Windows 7/Server 2008 R2 machine is to take advantage of the Convenience Update Rollup from April 2016 (KB3125574). The Conv. UR updates a lot of components and to ensure that that happens without any servicing problems, it has as a prerequisite the Servicing Stack Update from April 2015 (KB3020369). To install most of the other patches in between April 2016 and October 2016 we will include the following updates:

  1. KB3020369 (April 2015 Servicing Stack Update)
  2. KB3125574 (April 2016 Convenience Update Rollup)
  3. KB3177467 (September 2016 SSU)
  4. KB3172605 (July 2016 Functional Update Rollup, 7C* package)
  5. KB3179573 (August 2016 FUR, 8C* package)
  6. KB2841134 (Internet Explorer 11, Optional)
  7. KB3185330 (October 2016 Monthly Quality Rollup, 10B’ package [contains September 2016 FUR, 9C* package])

*3rd Tuesday package of that month.

Download all the packages from the Microsoft Update Catalog (now updated to work on all browsers) to a folder:

http://www.catalog.update.microsoft.com/Search.aspx?q=3020369
http://www.catalog.update.microsoft.com/Search.aspx?q=3125574
http://www.catalog.update.microsoft.com/Search.aspx?q=3177467
http://www.catalog.update.microsoft.com/Search.aspx?q=3172605
http://www.catalog.update.microsoft.com/Search.aspx?q=3179573
http://www.catalog.update.microsoft.com/Search.aspx?q=2841134
http://www.catalog.update.microsoft.com/Search.aspx?q=3185330

Expand the .MSU files to extract the .CAB file which will be used with DISM:

image1

Commands used:
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3020369-x64_5393066469758e619f21731fc31ff2d109595445.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3177467-x64_42467e48b4cfeb44112d819f50b0557d4f9bbb2f.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3172605-x64_2bb9bc55f347eee34b1454b50c436eb6fd9301fc.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3179573-x64_0ec541490b3f7b02e41f26cb2c444cbd9e13df4d.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3185330-x64_8738d0ef3718b8b05659454cff898e8c4f0433d7.msu C:filesWindow7MediaRefreshCABs

After deleting all other files from the CABs folder and keeping only .CAB files we should have the following:

image2

For this guide we will use the install.wim file from a Windows 7 Enterprise x64 SP1 Media:

image3

Mount the image as described in the offline servicing article below:

Add or Remove Packages Offline Using DISM
https://technet.microsoft.com/en-us/library/hh824838.aspx

Dism /Mount-Image /ImageFile:C:testimagesinstall.wim /Name:”Windows 7 ENTERPRISE” /MountDir:C:testoffline

And now we can start adding the first package, the KB3020369 SSU:

Dism /Image:C:testoffline /Add-Package /PackagePath:C:filesWindow7MediaRefreshCABsWindows6.1-KB3020369-x64.cab

image4

We can check the installation state using the command below:
Dism /Image:C:testoffline /Get-Packages

It is in a “Install Pending” state:
Package Identity : Package_for_KB3020369~31bf3856ad364e35~amd64~~6.1.1.1
State : Install Pending
Release Type : Update
Install Time : 11/4/2016 9:11 AM

The next update to install is the Convenience Update Rollup KB3125574:

Dism /Image:C:testoffline /Add-Package /PackagePath:C:filesWindow7MediaRefreshCABsWindows6.1-KB3125574-v4-x64.cab

image5

Package Identity : Package_for_KB3125574~31bf3856ad364e35~amd64~~6.1.4.4
State : Install Pending
Release Type : Update
Install Time : 11/4/2016 10:33 AM

We cannot continue to install updates offline, because of the DISM limitation below:

Limitations

  • When you are installing a package in an offline image, the package state is “install pending” because of pending online actions. In other words, the package will be installed when the image is booted and the online actions are processed. If subsequent actions are requested, they cannot be processed until the previous pending online action is completed. You can use the /PreventPending option when you add a package with /AddPackage to skip the installation of a package when there are pending online actions.

https://technet.microsoft.com/en-us/library/hh825265.aspx

Commit the changes with the command below to seal the image:
Dism /Unmount-Image /MountDir:C:testoffline /Commit

image6

Now we need to install a Windows 7 VM/PC with this image to finish the outstanding servicing actions and install the other updates. Do this either by hand or using your favorite deployment tool.

After the image is installed we should see the following (SP1 + KB3020369 + KB3125574 only):

C:Windowssystem32>Dism /Online /Get-Packages

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7601.23403

Packages listing:
Package Identity : Package_for_KB3020369~31bf3856ad364e35~amd64~~6.1.1.1
State : Installed
Release Type : Update
Install Time : 11/4/2016 12:29 AM

Package Identity : Package_for_KB3125574~31bf3856ad364e35~amd64~~6.1.4.4
State : Installed
Release Type : Update
Install Time : 11/4/2016 12:29 AM

Package Identity : Package_for_KB976902~31bf3856ad364e35~amd64~~6.1.1.17514
State : Installed
Release Type : Update
Install Time : 11/21/2010 3:01 AM

Continue to install updates 3-5 using the DISM commands below:

Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3177467-x64.cab

image7

Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3172605-x64.cab

image8

Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3179573-x64.cab

image9

 

Step 6, which is installing IE11, is optional, in case you have business critical applications that are dependent on an older Internet Explorer version. The security-only, monthly rollup, and preview rollup will not install or upgrade to these versions of Internet Explorer if they are not already present, so we will install IE11 next, before we apply the monthly rollup.

This will be the IE version installed, if we do not upgrade it:

image10

The last update to install is KB3185330, at the moment of writing this guide, in the future just replace it with the latest monthly/preview rollup, found on the page below:

Windows 7 SP1 and Windows Server 2008 R2 SP1 update history
https://support.microsoft.com/en-us/help/22801/windows-7-and-windows-server-2008-r2-update-history

Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3185330-x64.cab

image11

Now we can search online for the remainder of the updates or just capture the image after generalizing it, if we to finish as fast as possible.

Online search results after the above updates (34/39 optional updates are language packs):

image12

TL;DR version:

Download the updates:
http://www.catalog.update.microsoft.com/Search.aspx?q=3020369
http://www.catalog.update.microsoft.com/Search.aspx?q=3125574
http://www.catalog.update.microsoft.com/Search.aspx?q=3177467
http://www.catalog.update.microsoft.com/Search.aspx?q=3172605
http://www.catalog.update.microsoft.com/Search.aspx?q=3179573
http://www.catalog.update.microsoft.com/Search.aspx?q=2841134
http://www.catalog.update.microsoft.com/Search.aspx?q=3185330

Extract CAB files from MSU:
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3020369-x64_5393066469758e619f21731fc31ff2d109595445.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3177467-x64_42467e48b4cfeb44112d819f50b0557d4f9bbb2f.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3172605-x64_2bb9bc55f347eee34b1454b50c436eb6fd9301fc.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3179573-x64_0ec541490b3f7b02e41f26cb2c444cbd9e13df4d.msu C:filesWindow7MediaRefreshCABs
expand -f:* C:filesWindow7MediaRefreshAMD64-all-windows6.1-kb3185330-x64_8738d0ef3718b8b05659454cff898e8c4f0433d7.msu C:filesWindow7MediaRefreshCABs

Mount the image:
Dism /Mount-Image /ImageFile:C:testimagesinstall.wim /Name:”Windows 7 ENTERPRISE” /MountDir:C:testoffline

Install the first two updates offline:
Dism /Image:C:testoffline /Add-Package /PackagePath:C:filesWindow7MediaRefreshCABsWindows6.1-KB3020369-x64.cab
Dism /Image:C:testoffline /Add-Package /PackagePath:C:filesWindow7MediaRefreshCABsWindows6.1-KB3125574-v4-x64.cab

Unmount and commit the changes to the install.wim file:
Dism /Unmount-Image /MountDir:C:testoffline /Commit

Install a reference machine with the above install.wim file and continue to install the updates:
Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3177467-x64.cab
Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3172605-x64.cab
Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3179573-x64.cab
Dism /Online /Add-Package /PackagePath:C:tempWindows6.1-KB3185330-x64.cab

Search online to install the remainder of the updates.

Sysprep the newly patched machine and capture an updated wim file.

If you have any questions or feedback, please use the comment section.

Thank you and see you next time!

Andrei Stoica, Windows Deployment Engineer

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

$
0
0

 

“Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)”

만약 SharePoint 서버가 한글 버전이라면 아래와 같은 에러 메시지가 출력될 것입니다

“이 어셈블리를 로드하면 다른 인스턴스의 다른 권한 부여 설정이 만들어집니다. (예외가 발생한 HRESULT: 0x80131401)

설명: 현재 웹 요청을 실행하는 동안 처리되지 않은 예외가 발생했습니다. 스택 추적을 검토하여 발생한 오류 및 코드에서 오류가 발생한 위치에 대한 자세한 정보를 확인하십시오.

예외 정보: System.IO.FileLoadException: 이 어셈블리를 로드하면 다른 인스턴스의 다른 권한 부여 설정이 만들어집니다. (예외가 발생한 HRESULT: 0x80131401)”

 

이 경우 아래와 같은 조치를 통해 문제를 해결할 수 있습니다

1. In key ‘HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework’, create a new ‘DWORD (32-bit) Value’ named “LoaderOptimization” with a value 1

2. In key ‘HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFramework’, create a new ‘DWORD (32-bit) Value’ named “LoaderOptimization” with a value 1

3. Perform an IISReset

 

이 이슈의 원인은 여러가지가 있을 수 있지만, SharePoint 서버의 경우 SCOM 이나, 3rd Party 모니터링 소프트웨어를 설치하면 나타나는 것으로 보고되고 있습니다.

 

본 정보의 내용 (첨부 문서, 링크 등)은 작성일 현재 기준이며 예고없이 변경 될 수 있습니다.

O365를 사용하는 Office 2016에서 IRM 서식을 불러오지 못하는 증상

$
0
0

[문제 증상]

  • 아래와 같이 IRM 서식을 불러오지 못하는 현상


    에러 메시지


     

[자세한 원인]

  • O365 AD RMS 서버의 주소가 Registry 에 등록되어 있지 않거나 잘못된 주소가 등록되어 있어서 입니다.

     

[해결 방법]

  1. Rights Management Services Analyzer Tool 을 이용하여 점검

    https://www.microsoft.com/en-us/download/details.aspx?id=46437 다운로드 받아 실행합니다


    템플릿 확인


    Settings > Rights Management registry settings 항목에 RMS 관련 항목이 ‘not set’ 이거나 정확한 주소가 없음을 확인할 수 있습니다

     

  2. Cmd 실행

    https://docs.microsoft.com/en-us/information-protection/plan-design/migrate-from-ad-rms-phase2 사이트에서 ‘CleanUpRMS.cmd, Redirect_OnPrem.cmd’ 다운로드 합니다


    Redirect_OnPrem.cmd 편집하여 위에서 확인한 Issuer URL 중 호스트 부분 변경


    Redirect_OnPrem.cmd 수정


    위에서 확인한 Issuer URL 로 변경 후 관리자 모드로 Command 창 Open 후 순서대로 실행합니다

    <CleanUpRMS 실행화면>

    <Redirect_OnPrem 실행화면>


    PC 재부팅 후 Templates 로딩 확인

Plötzlich Champions League: iteracon unterstützt den BVB

$
0
0

Der Blick auf die BVB-Aktie zeigt: Die Borussia Dortmund GmbH & Co. KGaA ist ein mittelständisches Unternehmen, das seit dem 23. Juni 2014 im SDAX gelistet ist, einem Auswahlindex der Deutschen Börse für 50 kleinere Unternehmen.

Als solcher Mittelständler muss sich auch Borussia Dortmund der Digitalisierung stellen: Ist die IT zeitgemäß? Stellt die digitale Transformation Aufgaben, die sich mit der vorhandenen Infrastruktur nicht so einfach lösen lassen? Was bedeutet Fannähe in Zeiten, in denen die weltweite Fangemeinde meistens mobil unterwegs ist, aber stets mit dem Verein in Kontakt bleiben möchte?

Spätestens bei der letzten Frage zeigt sich, dass der Ballspielverein Borussia 09 e.V. Dortmund, von dem die KGaA die Fußballabteilung ist, vor anderen Herausforderungen steht als mittelständische Unternehmen: Der Club wurde achtmal deutscher Meister, gewann Champions League und Weltpokal, wurde dreimal deutscher Pokalsieger und kann bei jedem Heimspiel 81.360 Fans begrüßen – mehr als jeder andere Verein in Deutschland.

 

Champions League-Sieger-Berater
Wir sind stolz, diesen großartigen Club als IT-Berater unterstützen zu können. Seit einigen Monaten ist iteracon Produktpartner des BVB im Bereich „Microsoft Cloud Solution Provider (Lizenzen, Services)“. Wir unterstützen den Vereins – mit Office 365-Lizenzen für die produktive Zusammenarbeit der etwa 300 Mitarbeiter innerhalb des Clubs und mit einem Managed Service für Single Sign On von iteracon. Darüber hinaus unterstützen und beraten wir den BVB zu IT-Themen wie Windows Server, Hyper-V, System Center, Exchange und Office 365.

 

Single Sign On: Einmal anmelden, überall arbeiten
Über die Single Sign On (SSO)-Lösung authentifizieren sich die Benutzer in einem einzigen Schritt an ihrem Arbeitsplatz und haben anschließend Zugang zu allen autorisierten Anwendungen und Portalen. In Kombination mit den Microsoft Online Services bietet iteracon dem BVB mit dem Managed Service maximale Sicherheit bei größtmöglichem Komfort.

Zum Abschluss des Vertrags über die Zusammenarbeit mit dem BVB habe ich mich persönlich darüber gefreut, dass der BVB gerade mit uns, einem jungen, aufstrebenden Unternehmen eine Partnerschaft vereinbart. Wir sind davon überzeugt, dass IT sicher, flexibel und einfach sein muss, um Mitarbeiter produktiver zu machen. Als Microsoft Partner erreichen wir das durch innovative Sicherheitslösungen, einfache Managed Services und Microsoft-Technologien rund um den modernen Arbeitsplatz.

 

Mit Leidenschaft arbeiten und spielen



Unsere Teams arbeiten so leidenschaftlich, wie der BVB Fußball spielt, finde ich. Von daher passen wir beide super zusammen. Und das sieht auch der BVB das so: „Wir fühlen uns durch iteracon extrem gut betreut“, sagt Carsten Cramer, der bei Borussia Dortmund Direktor für Vertrieb und Marketing ist.

In enger Zusammenarbeit mit der IT des BVBs schaffen wir im Rahmen der Zusammenarbeit aktuell die Grundlage dafür, Abläufe und Prozesse im Club IT-seitig optimieren zu können.

 

Neues Arbeiten beim BVB
Unterm Strich entsteht dabei auch bei Borussia Dortmund ein neues Arbeiten, das sich durch optimale Kommunikation und Zusammenarbeit auszeichnet; egal ob man im Büro, auf dem Fußballplatz oder unterwegs ist.

Microsoft Office 365 spielt dabei eine entscheidende Rolle: Der Club kann darüber die ständig wachsende Menge an Informationen –– immer und überall im Blick behalten. Die Mitarbeiter können diese Daten bearbeiten und mit anderen teilen und damit zu besseren Leistungen der Spieler und zu einer größeren Nähe zu den Fans beitragen.

Für uns bietet die Partnerschaft mit dem BVB eine Vielzahl an Möglichkeiten, neue Kunden auf uns aufmerksam zu machen und die Zusammenarbeit mit unseren Bestandskunden zu intensivieren. Und so ist es erfreulich zu sehen, dass es in gleich zwei so wettbewerbsintensiven Umfeldern wie der IT und dem Fußball nur Gewinner gibt – und dass wir dazu gehören!

 

Ein Beitrag von Markus Holländer
Geschäftsführer von iteracon

markus-hollaender

Viewing all 36188 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>