Section 4 Flashcards
VM virtual options
Birdged - use same NIC
Host-only adapter - can only talk to host
Name Drop Down:
If you have multiple NICs, you can choose one.
Add a NIC
Create a bond then a team and give it your server’s ip
Control panel > network and internet > status and tasks > change adapter settings
You’ll see your two ports.
BOND
Select both > right click > bridge connection
TEAM (more for throttling)
Server Manager > Local Server > Look for NIC teaming and click “disabled” > click tasks drop down > new team > “team1” > select both ports > additional properties:
Teaming mode :
Static teaming - switch config needed
Switch independent - No switch needed
LACP - link aggregation < - use this
Load Balancing Mode:
Dynamic
Click OK
Open the adapter settings to see the team
Click properties
Configure your team IP
Show verbose ipvconfig
Where is the MAC
Is it using DHCP
Show DNS server
ipconfig /all
under Physical Address
DHCP enabled
DNS Servers
Check what updates were applied
Updates
Update history
Look up the KB of the update
What do you do if you don’t want to run windows updates
Change group policy for updates for every computer on AD
services
Right click Windows updates > stop
gpedit.msc
Computer Configuration > Administration Templates > Windows update folder > click on whatever you want
What is the service name for NTP?
Windows Time
Configure NTP to use pool.ntp.org as your ntp server
Stop then start the service to apply it
Sync your time
Show whether you or syncing or not and show ntp info
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
stop-service w32time (THIS NEEDS TO BE “time” HERE!!!)
start-servcie w32time
THIS NEEDS TO BE “time” HERE!!!)
w32tm /resync
w32tm /query /status
Install FTP
Create the server then the client
Server Manager > add roles and features > Roles - expand IIS, click FTP server > install
Tools > IIS > LAB-WINDOWS > Right Click Sites > FTP SITE
FTP SITE NAME : MYFTPServer
PHYSICAL PATH: Just make a directory that you want to have for sharing in C:\ called “ftpincoming”
NEXT
IP ADD: Give our local IP
SLL
no
NEXT
AUTHENTICATION : basic
ALLOW ACCESS TO: all users
PERMISSIONS: Read, Write
FINISH
ACCESS VIA INTERNET EXPLORER
ftp://192.168.1.115/
ACCESS VIA CMD
CLIENT CONFIG
Create a file on desktop largevalues.txt
ftp 192.168.1.115
bi <- transfer as binary
hash < - update on what’s happening
put largevalues.txt
What is SMB
Server Message Block - file sharing protocol, when implemented in Microsoft it’s called Microsoft SMB Protocol
Common Internet File System CIFS protocol is a dialect of SMB
Create an NFS server
Access it via client
Map drive to client
create folder c:\Simpsons
create subfolder: Homer, Marge, Bart
Create file C:\Simpsons\Homer\beer.txt
Right click Simpsons > properties > Sharing > share > type everyone > ok > copy what it says for the location into notepad to review later.
Access this file on client from using that location
Go to file explorer > map network drive > pick a letter > add the path to “Folder”
What is WSUS
Windows Server Update Services
Lets admins manage and distribute updates and hots fixes
Makes it easy to distribute to users who don’t have access to internet
Create a WSUS server
Create a folder = WSUS
Server Manager > add roles and features > Roles = Windows Server Update Services > Role Services = all options are fine > Store path = C:\WSUS > install > close afterword
Click the flag and warning sign > Launch post Installation task
Windows Administration tools > Windows Server Update Services > NEXT > uncheck > Next > Syncronize from Microsoft update > Proxy (don’t need it, that’s if you don’t have internet and need to use something else to get you there > NEXT > start connecting > Download updates in english > Product = find update for One or two servers (so we can do windows server 2022) > next > Whatever you want here > NEXT > NEXT > NEXT > FINISH
Computers = you can add computers
Where would you turn the firewall off?
How would you disallow something to communicate with your system in terms of service/feature/etc
Create a rule
Control Panel > System and Security > Windows Firewall > Turn Windows Firewall on or off
Allow an app or feature through windows firewall > Uncheck
Advanced setting > Inbound rule > new rule >
What are the four different types of storage?
Local - disks, ram, HDD (things on the inside)
DAS (directly attached storage) - external disk, tape drive, storage array (has a bunch of disks that attaches to computer)
SAN (Storage Area Network) - appear as if they are attached.
iSCSI or fiber attached.
NAS - (Network Attached Storage) - connected via network, allows to attach external storage over the network.
Samba
NFS
Add a disk
Format with MSDOS (MBR)
Create partition for whole disk
Map disk to P:\
Server Manager > Computer Management > Disk Mgmt
We could create a partition by right clicking or we could use the initialize disk prompt it’s giving us
MBR since it’s under 2 TB > Now right click the disk > New simple volume > NEXT since we’re going to use whole disk for partition > Assign to P NEXT > Finish
File explorer > this PC > click P > New folder “Superman” > new file “ClarkKent.txt”
Extend your drive
Add disk
Server Manager > computer management > Disk Management > Click ok for MBR > right click extend voume > click from available and move over to other side.
What does disk cleanup do?
Disk Cleanup - Free up disk space for files that are no long of any use and then removes them
Defragmenter - Rearrange files on a disk to occupy continuous storage space
Files can get moved around to different parts of the disk which slows it down because the disk has to bump around to figure out what you need. This puts it nice in a a line so it’s a quick scan.
Clean up P:\
Defragment P:\
File explorer > right click drive > properties > disk cleanup
Search > defragment and optimize drives
Analyze = find out if drives need to be optimized
Optimize - this will do it, but it will slow down your server, do this at night when people aren’t using it a lot.
Define raid 0
Redundant array of independent disks
Raid0 striping - fast, round robin data going to both.
Raid1 mirror - redundant, slow
Raid 4 - one disk for parity, others are striped
Raid 5 - striping parity bit on all disks. 3 or more disks needed
Raid 10 - 1 and 0
What are the 4 types of backups
System backup - image using tools like acronis, Ceeam, Commvault, etc
Applicaiton backup - 3rd party application backup solution
Database - Oracle dataguard, SQL backup, etc.
File System backup - tar, gzip directories , etc
Create a backup of P:\ and place that backup in C:\
Delete what you put in P:\
Restore from backup
Where do you locate the actual file we created with the backup
Server Manager > add roles and features > go to features and select Windows Server Backup > Install
Go to P:\ and create a folder called Ross > Inside Ross create a file named Susan.txt
Go to Tools > Windows Server Backup > Righ click local backup and select “backup once…” > Customer (since the entire system backup will take forever > NEXT > Add Items and Click P:\ > NEXT > Backup Destination “C:" > NEXT > BACKUP
Go back into backup > Under actions on right click “recover” > we want to recover files > Click The folder you deleted to recover > Recover
C:\Windows Image Backup > these files are just pointers
In terms of backups what does bare metal recovery mean?
The whole image