Sunday, 30 December 2018

Managing and configuring Nano Server

Managing and configuring Nano Server

You can perform only the most fundamental management tasks interactively on Nano Server. After you have signed in, the Nano Server Recovery Console appears. This identifies:

            The computer name

            The workgroup or domain name

            The installed operating system

            Local data, the local time, and the time zone

            The current network configuration

Configuring networking

You can change the basic network configuration by using the Tab key to navigate to Networking and
PROHIBITED
then pressing Enter. You can then select the appropriate network adapter from the list by using the cursor keys to navigate to the correct adapter and then pressing Enter.

The current network settings are displayed. You can press either F11 to configure IPv4 settings or F12 for IPv6 settings. If you choose to configure IPv4, use the F4 key to switch the settings. For example, to enable or disable DHCP, press F4. To enter a manual IPv4 configuration, disable DHCP and then use the number keys to type a suitable IP address, subnet mask, and default gateway. Press Enter twice to update the configuration. Press Esc repeatedly to return to the main menu.

Configuring the firewall


You might need to configure firewall settings to enable remote management. From the main Nano Server Recovery Console, press the Tab key to navigate to Firewall, and then press Enter. A list of firewall rules is displayed. Use the cursor keys to navigate up and down the list and press Enter for a rule you want to configure.

For example, to enable remote event log management, locate the remote event log management (RPC)
rule and press Enter. Press F4 to Enable/Disable. Press ESC and select the next rule, and then repeat the


procedure. When you have configured all rules, press ESC to return to the main menu.
USE
Ongoing management



Once you have configured the networking settings and enabled the appropriate remote management firewall ports for inbound communications, you can manage the Nano Server remotely by using either Server Manager, Windows PowerShell, or any other management tool by using the Connect to option to select the Nano Server. Typical management tasks include:

     Adding the computer to a domain

     Adding roles and features to the server
the domain and using that data blob when joining the domain. The basic steps for this follow.      ONLY
Adding the Nano Server to a domain online

You perform an online domain join by harvesting a domain data blob from a computer already joined to

.

1.   Harvest the domain data blob from a computer running Windows Server 2016 that is already joined

to the domain by using the following command:

Djoin.exe /provision /domain <domain name> /machine <Nano Server machine name> /savefile <path and name of blob file>

2.   Enable File and Printer Sharing on the Nano Server.

a.   Using Windows PowerShell Remoting, connect to the Nano Server with the following commands from a Windows PowerShell session running as administrator:



Set-Item WSMan:\localhost\client\TrustedHosts “<Nano Server IP address>”




$ipaddress = “<Nano Server IP address>”
STUDENT


Enter-PSSession -ComputerName $ipaddress -Credential $ipaddress\Administrator









b.  Provide the Administrator password and set the firewall rule to enable file and printer sharing:









Netsh advfirewall firewall set rule group=”File and Printer Sharing” new




enable=yes







3.   Copy the data blob file to the Nano Server by using the following commands:
USE




Net use z: \\<Nano Server IP address>\c$



Md z:\temp



copy <name of blob file> z:\temp








4.         Using the Windows PowerShell Remoting session, join the domain by using the following command:

Djoin.exe /requestodj /loadfile c:\temp\<name of blob file> /windowspath c:\windows /localos

5.   Use the following commands to restart the Nano Server computer and exit the Windows PowerShell Remoting session:


shutdown /r /t
5


Exit-

PSSession

PROHIBITED






No comments:

Post a Comment