Windows Server 2022 & Powershell All-in-One For Dummies. Sara Perrott. Читать онлайн. Newlib. NEWLIB.NET

Автор: Sara Perrott
Издательство: John Wiley & Sons Limited
Серия:
Жанр произведения: Зарубежная компьютерная литература
Год издания: 0
isbn: 9781119867838
Скачать книгу
is healthy. If the tile is green and has a little up arrow, that means that the service is up and running properly. If the tile is red and it has a little down arrow, that means that the service either ran into problems or isn’t running. You can click the individual tiles to get more information on the individual roles. For instance, if I click the File and Storage Services role tile, I can see events related to the services running that are supporting this role, shown in Figure 1-2. On the left side are the configuration options for the local server’s storage, including volumes, disks, and pools.

      Roles and features

      Roles and features allow you to add functionality to your server. A role is something you want to use your server to do. For instance, you may install the Active Directory Domain Services role so that you can make this server a domain controller. A feature is typically used to support a role. In this case, you would also install the management tools for Active Directory Domain Services (you’ll be prompted to install this feature when you select the role). The management tools are a feature.

Snapshot of the File and Storage Services management window.

      FIGURE 1-2: The File and Storage Services management window.

      Diagnostics

      Here are a few of the items in the Tools menu that have helped me over the years:

       Event Viewer: When I’m troubleshooting an issue, my first stop is almost always the Event Viewer. I start with the System, Application, and Security logs, and then I get into role- and/or component-specific logs if needed.

       Performance Monitor: Performance Monitor is a very useful tool when you need to be able to measure very specific metrics in relation to performance like central processing unit (CPU) idle time, interrupt time, user time, and so on. It provides hundreds of counters out of the box and can be set to start when a certain criteria or threshold is met. This tool is most useful for troubleshooting issues related to performance like slowness and/or freezing.

       Resource Monitor: If you just want a quick look at how your system is doing, Resource Monitor is great for that. It has a simple summary screen that gives you information on your CPU, disk, network, and memory usage. This tool focuses on resource utilization and could help troubleshoot issues like low disk space, an overutilized disk, or insufficient network bandwidth.FIGURE 1-3: The Tools menu in Server Manager.

       System Configuration: I use System Configuration when I’m having boot issues. The Boot tab gives me several helpful options, including whether I want to use safe boot, if I want to create a boot log, and if I want to use a very basic video setting.

       System Information: When you need to know what your hardware specs are or what some of your settings are, this should be your go-to utility. It can even tell you what version of BIOS you’re running and what mode it’s running in.

       Windows Memory Diagnostic: This is the same memory diagnostic that I cover in Book 1, Chapter 2. You’re simply launching it from the menu rather than typing in the name of the program.

       Windows PowerShell: PowerShell is always handy. You can query settings and export to a text file if need be.

      Configuration tasks

Snapshot of the Server Manager�s Local Server properties screen.

      FIGURE 1-4: The Server Manager’s Local Server properties screen.

      Configure and Manage Storage

Snapshot of Working with disks in the File and Storage Services area of Server Manager.

      As I mention earlier, a role is something that we want the server to do. By installing roles, you make servers useful. Maybe you’re building out an Active Directory infrastructure, or maybe you’re creating a robust virtualization platform. Regardless of what you’re trying to accomplish, you’ll most likely start by installing a role.

      Let’s take a look at the roles that are part of Windows Server 2022.

      Active Directory Certificate Services

      Active Directory Certificate Services (AD CS) is a role that allows you to create a public key infrastructure (PKI) in your organization that will allow you to issue your own internal certificates. This may include certificates for your domain controllers so they can support Lightweight Directory Access Protocol (LDAP) over Secure Sockets Layer (SSL), or certificates for internal web servers, or even code-signing certificates for scripts that will run on your organization’s systems. You can install certificate authorities (CAs) and provide additional services like Online Certificate Status Protocol (OCSP), which provides lookups for certificate revocation information, and Network Device Enrollment Service (NDES), which allows network devices to enroll for certificates without domain credentials.

      Active Directory Domain Services

      Active Directory Domain Services (AD DS) gives you the ability to store information about users and other network objects in a directory service. You can organize these objects in a hierarchical structure with forests, domains, and organizational units (OUs).

      Active Directory contains a global catalog, which contains information about every single object in the directory, and is required for successful logon to the domain. With Active Directory, it’s simple to search for and locate specific objects if you know a little information about them.

      If you’re interested in AD DS, you can learn more about installing and configuring AD DS in Book 2, Chapter