📜 ⬆️ ⬇️

Support is over: What to do? Who and what can help?

It seems that everyone already knows about it: on July 14 of this year, support for Windows Server 2003 / R2 was officially discontinued. And the discussion about what needs to be done and whether it is worth doing anything at all continues. I propose to look at the current situation from a strategic point of view. First, find out how this may affect the company's business processes, and look at the situation from a legal (as well as technical and economic) point of view. Secondly, to understand why consultants for migration from the old OS to the latest versions are needed, what is the use of them. And, finally, make life easier for many companies by telling about the practical experience of migrating websites based on IIS technology using the Web Deployment Tool.

image

End of support for Windows Server 2003 / R2. Lyrics


What does "ending support for WS2003 / R2" mean for business? From the first glance, it would probably seem that this would lead to:
  1. Additional costs for licenses and, possibly, new equipment (we already bought them 12 years ago. Again?!?!).
  2. Problems with regulatory authorities (especially for companies that store personal data (and which companies do not store them?), Because WS2003 / R2 no longer receives security updates, which means non-compliance with the requirements to ensure the safety of personal data.
  3. Non-compliance with various standards: both local and industry, and this may limit the company's participation in a number of tenders, lead to penalties, etc.

Based on the foregoing, one might get the impression that the end of support for WS2003 / R2 is a negative event, leading to costs, problems and “again this is IT, instead of helping in a crisis, asking for money.” After all, no one needs additional problems, risks and costs in a difficult economic period. In addition, many companies only cut IT budgets and require IT departments to not only cut costs, but increase efficiency. How to carry out migration in such conditions and whether to carry it out at all? Maybe it is better to leave everything as is "until better times"?

Let's look at everything in order. We decompose the standard situation in a typical IT department into goals, requirements and constraints.
')
Goals:
  1. Reduced IT Costs
  2. Increase efficiency

Requirements:
  1. Compliance with business expectations
  2. IT solution and support for business tasks

Limitations:
  1. Reduced IT budget
  2. End of WS2003 / R2 support

As we see, the last point is only one part of the overall picture. And it provides an excellent opportunity to review the entire IT strategy. Reconsider the company's IT infrastructure. Look at it from different angles and understand how to optimize it and adapt to the new reality. What are your modernization projects that have been constantly postponed due to various technical, financial and other restrictions? It's time to revise them and re-evaluate!

We define what is in your infrastructure. To do this, first of all we will get answers to such questions as:


Assistance in obtaining this information can be provided by the Microsoft Assessment and Planning Toolkit Infrastructure Planning Application. The result of his work will be a report with an analysis of the existing infrastructure and technical recommendations for its optimization or transfer to MS Azure cloud.

image

After the answers to the questions are found and the existing infrastructure is analyzed, it may turn out that:

  1. You do not have servers with WS2003 / R2.
  2. You have enough resources to simply transfer the roles / services / applications from Windows Server 2003 / R2 to other servers that are available with the latest OS and remove them from support.
  3. You are not using the most efficiently available resources, and there is an opportunity to free some licenses / equipment.
  4. That most unique accounting application is mercilessly outdated and has a modern equivalent, and it is no longer necessary for it to support 2003 server (usually, modern applications allow you to work more efficiently, include new functions, etc.)

Once you understand what you have now, and how it is used, it is time to verify your vision of the further development of IT with the business, understand what the IT business needs:


Assessing the objectives of the business, you can choose the most effective way to achieve them. After all, updating the infrastructure with a vision, you make a great foundation for flexibility, scalability and efficiency of its further use. Perhaps it is time to recall the migration consultants . Why would a company, and the IT department in particular, need an external migration consultant? Indeed, in the IT department there are great specialists who can do everything themselves.

Below is a list of migration steps. Their duration depends on the specific infrastructure and qualifications of the personnel who will perform them:

  1. Analysis of existing infrastructure
  2. Migration plan development
  3. Choosing the best solution
  4. Implementation of the solution (actually, migration)
  5. Analysis and testing of the migration result

Now try to evaluate:


If you have:


then the best solution would be to complete a migration project on your own.

However, if you have:


It is recommended to choose a company-consultant on migration, which can either perform all the work on migration, or implements their part. For example, it will assess the existing infrastructure and give recommendations for its modernization, and you implement the received proposals on your own.

The advantages of an IT outsourcer are that it is a company with a highly qualified professional who has more than one completed project and is well aware of the possible pitfalls and likely difficulties in the process. It will help you in the formation and implementation of your IT strategy, synchronized with the business strategy.

image

For example, he would recommend taking a closer look at cloud solutions:

  1. if the strategic goal of a business has a point on increasing employee mobility, and you still have a 2003 server on which MS Exchange is deployed, then the Office 365 cloud solution can be useful instead of migrating to another server.
  2. if the business plans to open branches around the world, then we will pay attention to MS Azure.
  3. perhaps it is also time to look at the hybrid clouds and consider the possibility of transferring a number of non-critical services to the public cloud, and business-critical deploy in a private cloud within the organization?

In the picture below you can see various options for providing cloud services. The Pros of Migration to the Public Cloud:


If any applications or services cannot be transferred to hosting in a public cloud, then you can build a hybrid cloud based on Windows Server 2012 R2 & System Center 2012 R2 & Windows Azure. Pros hybrid cloud:


image

Our experience migrating sites with IIS 6.0


Having considerable practical experience in migrating sites from IIS 6.0 to the latest versions, I want to share a guide on such migration using the Web Deployment Tool.

Before starting the migration, make sure that:

  1. You have a backup.
  2. If the site uses a SQL database, make sure that it was migrated to the new server in advance.
  3. You have all the necessary logins and passwords.
  4. All ports necessary for the operation of sites are open on the new server.

What can I migrate using the Web Deployment Tool?


For migration, you must have .NET Framework 2.0 SP1 or higher and Web Deployment Tool installed. (How to install the web deployment tool can be found here (eng) or here (rus)).

Step 1. Check the site dependencies and find the scripts or installed components that it uses.

  1. You can check the website dependencies using the following command
    msdeploy -verb:getDependencies -source:metakey=lm/w3svc/1 
    1 is the site ID
  2. Look at the dependencies output and determine which components the site uses. For example, if the site uses windows authorization, the command output will be as follows:
     /<dependency name="WindowsAuthentication" />. 
  3. If the site inherits any scripts, they will not be in the list of dependencies, inherited scripts will need to be checked manually.

A detailed description of the analysis of the output command getDependencies can be found here .

Step 2. Configure the target server

According to the list of dependencies obtained in step 1, install the necessary components. For example, if your dependency list has components:


Therefore, based on this list of dependencies, you will need to install the appropriate components and modules.

Step 3. Migrate the site using the archive

  1. Always make a backup of the server to which you are planning to migrate. Even in the case of testing. This will allow you to quickly return the server to its original state.
     %windir%\system32\inetsrv\appcmd add backup “PreWebDeploy” 
  2. To create a file with a site archive, on the source server run the command:
     msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip > WebDeployPackage.log 
    1 is the site ID
  3. Copy the resulting archive to the target server.
  4. To check what happens when synchronization starts, run the following command on the target server
     msdeploy -verb:sync -source:package=c:\Site1.zip -dest:metakey=lm/w3svc/1 -whatif > WebDeploySync.log 
    1 is the site ID
  5. After checking the results of the command, execute it without the –whatif key (of course, if the output of the previous command was error free)
     msdeploy -verb:sync -source:package=c:\Site1.zip -dest:metakey=lm/w3svc/1 > WebDeploySync.log 
    1 is the site ID

Site migration using web deployment agent service

If you want to use site synchronization in real time, you can use the Web Deployment Agent Service.
  1. Install the Web Deployment Agent Service on the source or target server, or both for maximum flexibility of possible synchronization scenarios (the agent can either receive synchronized data from the source or send it)
  2. Start the service
     net start msdepsvc 
  3. Run the following command to start synchronization (sending data) from a local source to a remote server (replace Server1 with your server name). First, it is recommended to run the command with the –whatif flag, and after checking the results of its execution — without it.
     msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:metakey=lm/w3svc/1,computername=Server1 -whatif > msdeploysync.log 
    1 is the site ID
  4. The following command starts synchronization in the mode of "receiving" data from a remote server.
     msdeploy -verb:sync -source:metakey=lm/w3svc/1,computername=Server1 -dest:metakey=lm/w3svc/1 -whatif > msdeploysync.log 
    1 is the site ID

This completes the migration process, it remains to verify the operation of the site on the target server. In case of problems, you can use Troubleshooting Web Deploy to find their solution.

It is important to remember that progress is a constant movement. The use of outdated technologies very often means limitations in possibilities or lagging behind progress, which sooner or later will have to be made up, and the greater the gap, the more effort will be made to reduce it, not to mention catching up with the leaders.

By aleksjoke

Source: https://habr.com/ru/post/266637/


All Articles