IT tutorials
 
Technology
 

Windows Server 2012 : Continuous availability (part 8) - Easy conversion between installation options

10/7/2013 9:09:19 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

5. Chkdsk improvements

Today’s businesses must be able to manage larger and larger amounts of data. At the same time, the capacity of hard disk drives has grown significantly, whereas the price of very large drives has continued to decline. This has posed problems for organizations that have tried to deploy multi-terabyte disk volumes in their environments because of the amount of time Chkdsk takes to analyze and recover from file system corruption when it occurs.

In earlier versions of Windows Server, the time taken to analyze a disk volume for potential corruption was proportional to the number of files on the volume. The result was that for server volumes containing hundreds of millions of files, it sometimes took many hours (or even days) for Chkdsk to complete its operations. The volume also had to be taken offline for Chkdsk to be run against it.

In Windows Server 2012, however, Chkdsk has been redesigned so that the analysis phase, which consumes most of the time it takes Chkdsk to run, now runs online as a background task. This means that a volume whose file system indicates there may be file corruption can remain online instead of needing to be taken offline for analysis. If analysis by Chkdsk determines that the file system corruption was only a transient event, no further action need be taken. If Chkdsk finds actual corruption of the file system, the administrator is notified in the management consoles and via events that the volume needs repair. The suggested repair process may require that the volume be remounted, and the server may need to be rebooted to complete the repair process.

The result of this redesign of Chkdsk is to reduce the time it takes to analyze and repair a corrupt large disk volume is reduced from hours (or days) to minutes or even seconds. Additional improvements to NTFS in Windows Server 2012 include enhanced self-healing, which automatically repairs many issues without the need of running Chkdsk. The overall result of such improvements is to ensure continuous availability even for servers having very large disk volumes with hundreds of millions of files stored on them.

6. Easy conversion between installation options

Windows Server 2008 and Windows Server 2008 R2 offered an alternative installation option called Windows Server Core that included only a subset of the server roles, features, and capabilities found in the full installation option. Server Core included only those services and features needed to support common infrastructure roles such as domain controllers, DNS servers, and DHCP servers. By eliminating unnecessary roles and features, and also most of the graphical user interface (GUI; the Server Core user interface only presents a command-line interface), the result is a minimal Windows Server installation that has a smaller disk footprint, a smaller attack service, and requires less servicing (fewer software updates) than the full installation.

A limitation of how installation options were implemented in Windows Server 2008 and Windows Server 2008 R2 is that you cannot switch an installation between the full and Server Core options. So if you have a DNS server with a full installation of Windows Server 2008 R2, the only way to change this into a DNS server with a Server Core installation is to reinstall the operating system on the machine.

Starting with Windows Server 2012, however, you can now switch between Server Core and GUI installations. For example, if you have deployed a GUI installation of Windows Server 2012 and you want to remove the GUI management tools and desktop shell to convert it into a Server Core installation, you can do this easily by running the following PowerShell command:

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra -restart

When you run this command, it first collects data for the system and then starts the removal process:

image with no caption

Once the GUI and management tools and desktop shell have been removed, the server restarts, and when you log on, you are presented with the bare-bones Server Core user interface:

image with no caption

The process can be reversed by running the following command to convert the Server Core installation back into a GUI one:

Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart

Minimal Server Interface

In addition to the Server Core and GUI installation options, Windows Server 2012 can be configured in a third form called Minimal Server Interface. This form is not available when you install Windows Server 2012, but you can configure it using Server Manager or using PowerShell.

There are several reasons you may want to configure the Minimal Server Interface. First, it can function as a compatibility option for applications that do not yet support Microsoft’s recommended application model but still want some of the benefits of running Server Core. Second, administrators who are not yet ready to use remote command-line-based management can install the graphical management tools (the same ones they would install on a Windows client) alongside the Minimal Server Interface or Server Graphical Shell.

The Minimal Server Interface is similar to the GUI installation, except that the following are not installed:

  • Desktop

  • Start screen

  • Windows Explorer

  • Windows Internet Explorer

However, the following management tools are available on the Minimal Server Interface:

  • Server Manager

  • Microsoft Management Console (MMC) and snap-ins

  • Subset of Control Panel

Benefits for organizations

A key benefit of the easy conversion between installation options available in Windows Server 2012 is the added flexibility you gain by being able to convert between the GUI and Server Core installation options. For example, you could deploy your servers with the GUI option to make them easier to configure. Then you could convert some of them to Server Core to reduce footprint, enable greater consolidation ratios of VMs, and reduce your servicing overhead. You can also select the Minimal Server Interface for application compatibility needs or as a compromise for administrators who are not yet ready to administer without a GUI.

Managing servers without the Metro start menu

So you miss the Start menu, the good old Start menu? Well, if that’s the case, you’re doing it wrong. If you miss the Start menu, it’s probably because you’ve been running a full Windows desktop on your server and logging on to the console of the server to do work. That’s wrong on a few levels. You should not use the console, and unless there is a very compelling reason, you should not have a full Windows desktop on the server.

Sounds easy, and Microsoft have been telling us this for years. In reality, though, it’s not that simple. Server Core does not run everything, and there are a lot of custom and third-party software packages that need a GUI to be configured. They may not even support remote management. So this idea of running Server Core everywhere to reduce updates, decrease attack surface, and increase performance is great—it’s just not always achievable.

Enter Windows Server 2012. Windows Server 2012 has gone a long way toward bringing us close to this ideal scenario. Windows Server 2012 introduces a new level of user interface, which bridges the gap between Server Core and a full desktop. It allows you to migrate from Server Core to a full desktop and back again.

Annoyed by not having a traditional Start menu? Guess what—you don’t need it, and you will never use it. Here is what you should do instead.

First of all, install with a full server desktop and configure your drivers, hardware, etc. using the full GUI you are used to. When you are done, remove the GUI by running the PowerShell command Remove-WindowsFeature User-Interfaces-Infra. This will take you to a Server Core configuration. You can now use your remote administration tools as you did in the past, as well as remote PowerShell.

If you find that you need access to an MMC snap-in, or access to the entire set of control panel apps, you can raise the server one level by running Install-WindowsFeature Server-GUI-MGMT-Infra. This gives you full GUI access, accessible from a command line. You can run MMC.exe and use any snap-in. You can run any control panel app. You just don’t have Explorer.exe. This should be more than enough to do any advanced driver configuration (you have Device Manager or configure any third-party application). If you do need a full desktop, you can always add the User-Interfaces-Infra that you removed earlier.

Finally, Server Manager has gotten a complete overhaul. There’s more to this than can be discussed here, but it further reduces the need for the Start menu. Personally, once I learned how to navigate the new Server Manager, I found myself configuring all my servers with Server-GUI-MGMT-Infra only, starting Server Manager, and doing all my traditional server management from that location only. The tools menu gives you one-click access to all installed administrative tools.

This is not about getting “around” the lack of the traditional Start menu. It’s all about learning to use the rich new tools that are there. Once you do, you’ll forget the Start menu ever existed.

7. Features On Demand

Installations of previous versions of Windows Server included binaries for all server roles and features even if some of those roles and features were not installed on the server. For example, even if the DNS Server role was not installed on a Windows Server 2008 R2 installation, the system drive of the server still included the binaries needed to install that role, should it be needed later.

In Windows Server 2012, you can remove the binaries for roles or features that aren’t needed for your installation. For example, if you won’t be installing the DNS Server role on a particular server, you can remove the binaries for this role from the server’s system drive. Being able to remove binaries used to install roles and features allows you to reduce the footprint of your servers significantly.

Completely removing features

Binaries of features can be removed by using PowerShell. For example, to completely remove a feature including its binaries from a Windows Server 2012 installation, use the Uninstall-WindowsFeature cmdlet.

If you later decide you want to install the feature whose binaries you have removed from the installation, you can do this by using the Install-WindowsFeature cmdlet. When you use this cmdlet, you must specify a source where Windows Server 2012 installation files are located. To do this, you can either include the Source option to specify a path to a Windows Imaging (WIM) mount point, or you can leave out this option and let Windows use Windows Update as the source location.

8. DHCP Server Failover

DHCP servers are a critical part of the network infrastructure of most organizations. Therefore, ensuring that a DHCP server is always available to assign IP addresses to hosts on every subnet is essential.

In previous versions of Windows Server, two approaches could be used to ensure the availability of DHCP servers. First, two DHCP servers can be clustered together using Failover Clustering so that the second server could take over the load should the first one fail. The problem with this approach, however, is that clusters are often using shared storage that can be a single point of failure for the cluster. Providing redundant storage is a solution, but it can add significant cost to this approach. Configuring a failover cluster is also not a trivial task.

The other approach is to use split scope approach in which 70 percent to 80 percent of the addresses in each scope are assigned to the primary DHCP server, while the remaining 30 percent to 20 percent are assigned to the secondary DHCP server. This way, if a client can’t reach the primary server to acquire an address, it can get one from the secondary server. This approach also has problems, however, because it does not provide for continuity of IP addressing, is prone to possible overlap of scopes due to incorrect manual configuration, and is unusable when the scope is already highly used.

The DHCP Server role in Windows Server 2012 solves these problems by providing a third approach to ensuring DHCP server availability. This approach is called DHCP failover, and it enables two DHCP servers to replicate lease information between them. That way, one of the DHCP servers can assume responsibility for providing addresses to all the clients on a subnet when the other DHCP server becomes unavailable.

 
Others
 
- Windows Server 2012 : Continuous availability (part 8) - Windows NIC Teaming
- Windows Server 2012 : Continuous availability (part 7) - SMB Transparent Failover, Storage migration
- Windows Server 2012 : Continuous availability (part 6) - Failover Clustering enhancements - Guest clustering, Configuring Fibre Channel from the guest
- Windows Server 2012 : Continuous availability (part 5) - Failover Clustering enhancements - Node drain, Cluster-Aware Updating
- Windows Server 2012 : Continuous availability (part 4) - Failover Clustering enhancements - Virtual machine monitoring
- Windows Server 2012 : Continuous availability (part 3) - Failover Clustering enhancements - VM priority
- Windows Server 2012 : Continuous availability (part 2) - Failover Clustering enhancements - Simplified cluster management, Active Directory integration
- Windows Server 2012 : Continuous availability (part 1) - Failover Clustering enhancements - CSV2 and scale-out file servers
- Windows Phone 8 : Location APIs (part 3) - Emulating Location Information
- Windows Phone 8 : Location APIs (part 2) - Accessing Location Information
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us