manual 70-410 _yves

71
Microsoft 70-410 Manual The manual covers different topic ranging from Hyper -V to Exchange Server Yves Mukusa 5/1/2015

Upload: yves-mukusa

Post on 10-Apr-2017

68 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Manual 70-410 _Yves

Microsoft 70-410Manual

The manual covers different topic ranging from Hyper -V to Exchange Server

Yves Mukusa5/1/2015

Page 2: Manual 70-410 _Yves

Table of ContentsSETTING UP HYPER-V...................................................................................................................................4

CREATING A VIRTUAL SWITCH.....................................................................................................................7

INSTALLING WINDOWS SERVER 2012 IN HYPER-V....................................................................................10

CREATING A DIFFERENCING DISK..............................................................................................................15

EXCHANGE SERVER....................................................................................................................................24

DHCP FRAME RELAY SERVER.....................................................................................................................53

SETTING UP HYPER-V

2

Page 3: Manual 70-410 _Yves

You can use the steps in the following procedure to convert a Server with a GUI installation to a Minimal Server Interface Configuration using Server Manager:

1. On the Windows Server 2012 system, open Server Manager and select add roles and features

1. Select Hyper-V as a role

3

Page 4: Manual 70-410 _Yves

3. Accept additional features

4. Add Ethernet as a network adapter

4

Page 5: Manual 70-410 _Yves

5. The installation progress window shows as a summary what you have installed

5

Page 6: Manual 70-410 _Yves

6. once the installation is finished, close the window

CREATING A VIRTUAL SWITCH 1. Select Hyper-V manager

6

Page 7: Manual 70-410 _Yves

2. Select virtual switch manager

3. In this exercise we will connect the switch to a private network

7

Page 8: Manual 70-410 _Yves

4. Give the switch a name. I named it "Vm1" as shown in the following figure

8

Page 9: Manual 70-410 _Yves

INSTALLING WINDOWS SERVER 2012 IN HYPER-V1. Choose a drive where the virtual machine will be stored

2. Create a folder that will contain the virtual machine

4. In the Name text box, enter a name for the virtual machine, such as DC1.9

Page 10: Manual 70-410 _Yves

5. By default, the virtual machine data is stored on the system disk. To select a different location, select the Store The Virtual Machine In A Different Location check box, click Browse, and then use the Select Folder dialog box to select a save location. Click Next.

6. On the Assign Memory page, specify the amount of memory to allocate to the virtual machine. In most cases, you should reserve at least the minimum amount of memory recommended for the operating system you plan to install. Click Next. 

10

Page 11: Manual 70-410 _Yves

7. On the Configure Networking page, use the Connection list to select a network adapter to use. Each new virtual machine includes a network adapter, and you can configure the adapter to use an available virtual network for communicating with other computers. Click Next. 

11

Page 12: Manual 70-410 _Yves

8. On the Connect Virtual Hard Disk page, use the options provided to name and create a virtual hard disk for the virtual machine. Each virtual machine requires a virtual hard disk so that you can install an operating system and required applications. Click Next.

9. On the Installation Options page, select Install An Operating System From A Boot CD/DVD-ROM. If you have physical distribution media, insert the distribution media, and then specify the CD/DVD drive to use. If you want to install from an .iso image, select Image File, click Browse, and then use the Open dialog box to select the image file to use.

12

Page 13: Manual 70-410 _Yves

10. Click Next, and then click Finish. 

13

Page 14: Manual 70-410 _Yves

CREATING A DIFFERENCING DISK1. To ensure that you create a new machine identity, you should generalize your installation.

To do that for Microsoft operating systems, that means running sysprep. IThe simple usage of the tool is to simply type sysprep from an elevated   Command Prompt   or the Run dialog box and read the dialog box. Review the Sysprep dialog box, select the appropriate options, and then run it.

2. Ensured the generalize box is marked

14

Page 15: Manual 70-410 _Yves

3. Change the shutdown option from reboot to shutdown then press OK Leave the virtual machine shut down/off

15

Page 16: Manual 70-410 _Yves

4. Locate the virtual hard drive file, vhdx, and set that as read-only. To do so, right-click the actual file, clickProperties, then select the  Set the virtual hard drive (.vhdx) file as read only. This will help prevent you or someone else from accidentally modifying it.

16

Page 17: Manual 70-410 _Yves

5. You no longer need the parent virtual machine configuration files or folders. In Hyper-V manager, right-click the entry for the virtual machine and then select Delete. Confirm the deletion by clicking Delete. This should remove all the extraneous files, leaving you only with the virtual hard disk. However, you can go check the file path to ensure the folders and .xml files were removed. Just be sure not to remove the .vhdx file, because that is the one you want. That is your parent virtual hard disk from which you will create the differencing disks.

17

Page 18: Manual 70-410 _Yves

6. Right-click the Hyper-V server you want to target, click New, Hard Disk. The New Virtual Hard Disk Wizardopens.

7. If the Before You Begin page appears, review it and then click Next.

18

Page 19: Manual 70-410 _Yves

8. Select vhdx as the disk format

9. On Choose Disk Type, select Differencing and then click Next.19

Page 20: Manual 70-410 _Yves

10. On Specify Name and Location, type an appropriate name. For example, APP1.vhd and then enter a specific location where you want to store the virtual hard disk. For example, I have stored the vhdx to I:\DifferenceDisk2. Then Click Next.

20

Page 21: Manual 70-410 _Yves

11. On Configure Disk, in Location, type or browse to the file path to the parent vhdx that you created previously and then click Next

12. The parent disk is under the virtual hard disks folder

13. On Completing the New Virtual Hard Disk Wizard, review your selections and then click Finish.

21

Page 22: Manual 70-410 _Yves

EXCHANGE SERVER Setting up Linux server for mail purpose using Windows as a class DNS First step is installing Linux. For this practice, we will use Fedora as a distribution1. Select the appropriate language

22

Page 23: Manual 70-410 _Yves

2. choose the destination where you want the operating system to be installed

3. For advanced set up , select " I will configure partitioning"

23

Page 24: Manual 70-410 _Yves

4. Change the “Partitioning Scheme” to “Standard Partition” and click on the “+” button in order to create a new hard drive

5. Make sure that the mount point is set to “/” and click on “Add mount point”, some options will show up.

24

Page 25: Manual 70-410 _Yves

6. Assign a memory and  When you’re done, click on the “Done” button and choose “Accept Changes”.

7. While installation is in progress, you should cease the chance to configure the root password

Configuring bind 25

Page 26: Manual 70-410 _Yves

1. Login as root and Install bind

2. Install webmin . Before installing webmin , you may do the following steps :

a. create the /etc/yum.repos.d/webmin.repo file containing :

[Webmin]name=Webmin Distribution Neutral#baseurl=http://download.webmin.com/download/yummirrorlist=http://download.webmin.com/download/yum/mirrorlistenabled=1

b. You should also fetch and install my GPG key with which the packages are signed, with the commands :

wget http://www.webmin.com/jcameron-key.ascrpm --import jcameron-key.asc

26

Page 27: Manual 70-410 _Yves

Use "yum update" to install updates

Configure the network settings

27

Page 28: Manual 70-410 _Yves

Disable the firewall by typing the following commands:

iptables -L

iptables -F

systemctl disable firewalld.service

To confirm if bind is running , running the following commands:

systemctl start named.service

systemctl enable named.service

systemctl status named.service shows bind is active

Configure the named.conf configuration file

28

Page 29: Manual 70-410 _Yves

Replace the IP address 127.0.0.1 with your static IP address and "localhost" with "any"

In the same configuration file, replaced the lines highlighted where it says yes with no and comment out the last line .

29

Page 30: Manual 70-410 _Yves

Edit the resolv.conf by typing the following command : gedit resolv.conf

Configure the hosts file by adding the following as shown in the image

30

Page 31: Manual 70-410 _Yves

Configure the "hostname "file by typing the following command : gedit hostname

Configure the local-host-names file

31

Page 32: Manual 70-410 _Yves

Configure the sendmail.mc file by commenting out the following line as shown in the figure

gedit /etc/mail/sendmail.mc

I did change my server ip address to 9.0.24.16 at a pointTo access the webmin site, type your < IP address >: port# , example: 9.0.24.16:1000Your username is : root

32

Page 33: Manual 70-410 _Yves

Password : ###

On the webmin site, select create master zone

In the domain name/network field, you can put any alias. I did earlier put fedora2.net but will later on change it to .org.

33

Page 34: Manual 70-410 _Yves

The email address was also changed to fedora2.org.Only the mail server field is not touched

Select address to create records

I created 2 records: a www and a blank one . For the blank record, simply leave the name field empty34

Page 35: Manual 70-410 _Yves

Select mail address to create an MX record

Set priority to 10

35

Page 36: Manual 70-410 _Yves

Edit zone options in order to transfer the zones already created

36

Page 37: Manual 70-410 _Yves

Point the zones to the class DNS : 9.0.20.3

Create a forward look up zone pointing at the class DNS

37

Page 38: Manual 70-410 _Yves

Login windows 2012 server which is your edge server then connect to the slave the server

Enter the IP address of the slave server

38

Page 39: Manual 70-410 _Yves

Create a secondary zone

Select secondary

39

Page 40: Manual 70-410 _Yves

In the exercise, I changed the record to .org. So please ignore the following record

The DNS could not resolve the IP address because I did not configure the named.conf properly.

40

Page 41: Manual 70-410 _Yves

Earlier I had changed the IP address from 9.0.24.10 to 9.0.24.16

41

Page 42: Manual 70-410 _Yves

Configuring sendmail

1. In order to use Sendmail, first ensure the sendmail package is installed on your system by running, as root

In order to configure Sendmail, ensure the sendmail-cf package is installed on your system by running, as root

2.  Avoid editing the sendmail.cf file directly. To make configuration changes to Sendmail, edit the /etc/mail/sendmail.mc file, back up the original/etc/mail/sendmail.cf, and use the following alternatives to generate a new configuration file:

o Use the included makefile in /etc/mail/ (~]# make all -C /etc/mail/) to create a new/etc/mail/sendmail.cf configuration file.

42

Page 43: Manual 70-410 _Yves

3. You should be able to see the file "make" created

Edit the local-host-names file

Type gedit /etc/mail/local-host-names

Configure the access file as well 43

Page 44: Manual 70-410 _Yves

gedit /etc/mail/access

Type "alpine" to access the mail options

44

Page 45: Manual 70-410 _Yves

Type "C" to compose mail

Enter "CTRL + X" to send mail 45

Page 46: Manual 70-410 _Yves

46

Page 47: Manual 70-410 _Yves

47

Page 48: Manual 70-410 _Yves

DHCP FRAME RELAY SERVERUsing Relay agent to assign an IP address

I have used the following topology

Configure the network interface on the server that run the relay agent service and point the DNS to the DHCP server

48

Page 49: Manual 70-410 _Yves

Configure Ethernet interfaces of the router that I will be used as a gatewayEstablish a link between the two networks with OSPF protocol . Use area 0 for the configuration

Test the network connection by pinging the gateways on both ports : 192.168.0.1 and 10.0.0.1

From the relay agent , ping the dhcp server to test if the connection has been established

49

Page 50: Manual 70-410 _Yves

Click start then server managerAdd role : Select remote Access services

50

Page 51: Manual 70-410 _Yves

Select routing then click next

Click Next

51

Page 52: Manual 70-410 _Yves

Click close once installation has completed

Click startClick Administrative tools

52

Page 53: Manual 70-410 _Yves

Click routing and remote access

Right click on the server icon

Click to enable routing and remote access

53

Page 54: Manual 70-410 _Yves

Click next

54

Page 55: Manual 70-410 _Yves

Select customer configuration

Select LAN routing

55

Page 56: Manual 70-410 _Yves

Click finish

Click start to launch the relay service

56

Page 57: Manual 70-410 _Yves

In the Routing and Remote Access console, expand the IPV4 Routing node in the left pane of the console and right click on the General node. Click on the New Routing Protocol command

57

Page 58: Manual 70-410 _Yves

In the New Routing Protocol dialog box, click on the DHCP Relay Agent entry and click OK

A new node, the DHCP Relay Agent node, appears in the left pane of the Routing and Remote Access console. Right click on the DHCP Relay Agent node and click New Interface

58

Page 59: Manual 70-410 _Yves

Select the Ethernet interface (this is an internal interface used by the Routing and Remote Access Service. Click OK

59

Page 60: Manual 70-410 _Yves

In the DHCP Relay Agent Properties dialog box , type in the IP address of the DHCP server in the Server address text box and click the Add button. Click Apply and then click OK.

Configuring DHCP server

1. In the left pane of the DHCP console, right click on your server name and click the New Scope commandThen click Next on the first page of the New Scope Wizard

60

Page 61: Manual 70-410 _Yves

2. Type a Name and Description for the scope on the Scope Name page

3. Put in the range of IP addresses used by the scope on the IP Address Range page. Type the first IP address in the range in the Start IP address text box and the last IP address in the range in the End IP address text box. Note that the subnet mask is entered for you automatically. You can change the default subnet mask if you require a custom mask

61

Page 62: Manual 70-410 _Yves

4. After clicking next, a new scope wizard pops to enter a range of IPs that need to be excluded.In this exercise, we will not skip the wizard5. You can set a lease duration on the Lease Duration page. For this exercise, we have left it at default6. Select the Yes, I want to configure these options now on the Configure DHCP Options page. Click Next.7. You can enter a default gateway on the Router (Default Gateway). For this exercise, we have entered 10.0.0.1 as the gateway on the other network

8. You can enter a Parent domain and a DNS server address on the Domain Name and DNS Servers page.My DNS is 192.168.0.2

62

Page 63: Manual 70-410 _Yves

9. On the Activate Scope page , select the Yes, I want to activate the scope now option and click Next10. Click Finish on the Completing the New Scope Wizard

Login to your windows clientDisable then re-enable the network adapter

Run ipconfig

We see the DHPC giving the client an ip address 10.0.0.2

63

Page 64: Manual 70-410 _Yves

REFERENCES

http://social.technet.microsoft.com/wiki/contents/articles/1393.hyper-v-virtual-machine-vm-parent-child-configuration-using-differencing-disks.aspx

http://www.webmin.com/rpm.html

http://docs.fedoraproject.org/en-US/Fedora/15/html/Deployment_Guide/s2-email-mta-sendmail.html

http://www.isaserver.org/img/upl/vpnkitbeta2/dhcprelay.htm

64