03 setting up database server sample
-
Upload
sarath-chandra-aravapalli -
Category
Education
-
view
167 -
download
1
Transcript of 03 setting up database server sample
Sharepoint 2013 Administration
-Sarath Chandra Aravapalli
Setting up the Database ServerWhat do you need for this Exercise : • Create a VM for setting up DB Server
• Windows 2012 / 2008 R2
• .Net Framework 4.5
• SQL Server 2012 R2
Steps for Preparing the Domain Controller :
• Prepare the VM
• Install Windows 2012 Server
• Connect the Server to the Domain
• .Net Framework 4.5
• Open the Port in Windows Firewall to allow data
pass through
• Install the SQL Server application
Why do we need so many servers and How do they communicate ?
Installing the Virtual Machine Software
HYPER-V
1. Click on the Start Button on the Host Machine OS2. Search for Programs and Features3. Click on Turn Windows Features on or Off4. Select the Hyper-V and its features 5. Click Ok to install the components
Note: You will need to enable the Virtualization chip in BIOS
1. Click on the Start Button on the Host Machine OS2. Search for Hype-V Manager [only for windows 8.1 or Windows
2012 or 2012 R23. Launch the Hyper-V Manager
Setting up the Virtual Machine
Setting up the Virtual Machine1. Click on Virtual Switch
Manager2. Create an Internal Switch
by Selecting Internal Option and select Create Switch
3. You will be prompted to enter the Name for the Virtual Switch
Setting up the Virtual Machine4. Enter the Name that you
can remember and will be easy to identify for later use.
Note: This switch will be used for VM to VM Communication and will be assigned a Static IP post installation of the OS.
Setting up the Virtual MachineNow that we have setup the Virtual Switch, it is time to setup the Virtual Machine itself.
1. Click on the New and Select Virtual Machine
Setting up the Virtual MachineNow that we have setup the Virtual
Switch, it is time to setup the Virtual
Machine itself.
2. Enter the name of the Virtual
machine. In this case as I am setting
up the Database Server, I named it
Database Server as it will be easy to
refer to it in the future exercises.
3. I would leave the location for storing
the file as default and Click Next
4. Select the Generation as Generation 1
if your host operation is older than
Windows 8.1 and click Next again.
Setting up the Virtual Machine5. Assign the required amount of RAM.
In this scenario, although domain
controller will not need more than 1.5
GB of RAM, I have allocated about
2GB which will be used by Sharepoint
Server.
Note: We will be installing the Sharepoint
Server on the top of Domain Controller in
our exercises.
Setting up the Virtual Machine6. Select the Network Adaption.
This will be Internal Switch that
we created before setting up the
Virtual Machine.
7. Click Next.
Setting up the Virtual Machine8. Select the amount of disk space that you
wish to allocate.
9. Click Next
Note: Recommended Space is 80GB. In our
Learning environment we are going to
allocate only 40GB of HDD space.
Setting up the Virtual Machine10. Select the Location of the ISO [Windows
2012 Server Image File]
11. Click Next
12. Review the Summary and Click on Finish
13. You will now see the VM that is created.
You can double click on click on the power
on Icon to start the VM.
Installing Windows Server 20121. Double click on the VM from the list.
You will see this window on the left
2. Click on the Green power on button
to start the VM.
3. It will select the ISO Image and will
start the Windows Server Installation.
Installing Windows Server 20124. Select the Language for Installation and,
Time Format and the Keyboard input
method and click on Next.
5. Click on Install Now.
Installing Windows Server 20126. Select Windows Server 2012 DataCenter
Evaluation (Server with a GUI) and click Next
7. Review and accept the license Agreement
8. Click Next
9. Click on Custom: Install Windows Only
Note: There is no 32-bit evaluation available.
Also there is no 32-bit evaluation available for
Sharepoint 2013.
Installing Windows Server 201210. Select the Drive for installing Windows
Server 2012 and Click Next.
11. The Installation of windows will start and
unlike it’s predecessors, there will not be any
human intervention needed during the
installation.
12. Enter the password for the Administrator account and Hit the Enter Key
13. You will now be logged in as Local Administrator and Server Manager window will open up.
Installing Windows Server 2012
Promoting the Server to DC [Domain Controller]1. Assign the Static IP to the Virtual Network adapter.
2. Right click on the network icon on the lower right hand
side on the VM Window.
3. Select Open Network and Sharing Center
4. Click on Change Adapter Settings
Promoting the Server to DC [Domain Controller]5. Right click on the Network Adaptor and Select
Properties
6. Select IPv4 and then click on the Properties button
7. Enter the IP Address and Preferred the DNS Address
8. Preferred DNS will be the same as DC’s IP Address
Joining the Server to the Domain1. Ensure that the Domain Controller is turned ON.
2. You need to join the Database Server the Domain.
3. After assigning the static IP and DNS Address [same IP of the DC], you need to click on Start >
Right Click on Computer > Select Properties
4. On the System Settings screen Click
on the Change Settings
5. Click on Change
6. Enter the Computer name as
“Database Server”.
7. Enter the Domain Name as
“DeloitteOnLine.com”. [ or the
name of the Domain that you
entered while setting up the DC. ]
Joining the Server to the Domain
Joining the Server to the Domain8. Upon clicking on the OK button, you will be
prompted to enter the Domain Administrator
Password.
9. Upon validating the Administrator credentials,
the Server will be joined to the Domain and you
will receive the message : “Welcome to the
DeloitteOnline.com Domain”.Yourcompany.com
Yourcompany.comYourcompany.com
Joining the Server to the Domain
10. You will be prompted to restart the server
11. Click on the Restart Now
Setting up the Service Accounts
To be performed on Domain Controller
Setting up the Service Accounts1. Now that you have joined the Server to the Domain. It is time to create the Service Account
using which we will complete the rest of the Installation.
2. You will be needing a minimum of 3 Service Accounts.
• SPFarm – Which will be used to manage Sharepoint Farm
• DBAdmin – Which will be used to install and Manage the Database Server
• SPAdmin – Which will be used to manage the services on the Sharepoint Farm. Can also
be used for testing the Site Collections
• All of the accounts needs to be added in the Domain Administrator Group
Setting up the Service Accounts1. Login to Domain Control using the Domain Admin
2. Access the Service Manager and open the Active Directory Users and Computers
Setting up the Service Accounts3. You will now see the ADUC screen. [Active Directory Users and Computers]
4. Create a Organization Unit to keep the Service Accounts belonging to the Sharepoint
separately.
Setting up the Service Accounts5. Right click on the Domain Name
6. Click on New > Select Organizational Unit
7. Name it SP Users
8. You will now see a new Folder [OU]
named “ SP Users “. Click on it.
Yourcompany.com
Yourcompany.com
Setting up the Service Accounts1. Right Click on the OU named SP Users
2. Select New > User
3. You will get the New Object – User dialog
box. Enter the details for the Service
Account to be created.
4. For example: If you are creating the SP
Farm Account, then enter the details as
below:
• First Name: SP Farm
• Last Name: Leave it Blank
• User Logon Name: SPFarm
• Account : SPFarm
[ Look at the screenshot in the next slide ]
Yourcompany.com
Setting up the Service Accounts5. Click on Next and entering the required
information
6. Type the password.
7. Uncheck the option: “User must change
password at next Logon”
8. Check the box for : “User Cannot change
password “ and “Password Never Expires”
9. Click Next and then Click Finish
10. Repeat the steps 1 – 9 to create the other 2
service accounts.
Yourcompany.com
Yourcompany.com
Yourcompany.com
Setting up the Service Accounts1. Now that we created the required Service
Accounts, we need to elevate the
permissions of these accounts to Domain
Administrator account.
2. For this we need to add the 3 accounts to
Domain Administrators Group
3. Click on the Users Folder in ADUC, and
select Domain Administrators group
4. Double Click on this Group to open the
properties on the Domain Admins Group.
Yourcompany.com
Setting up the Service Accounts5. Click on the Members Tab and click the Add button.
6. Type the accounts that we created in the box that
reads: “Enter the object names to select”.
7. Click on the Check Names and click OK
8. This will complete the process of
setting up the Service Accounts.
Yourcompany.com
Yourcompany.com\users
Installing .NET Framework
Installing .NET Framework
Do not select anything on this screen. Click NextDo not select anything on this screen. Click Next
D:\sources\SxS
Installing SQL Server
Yourcompany.com
Select the Following Features :
• Instance Features
q Database Engine Services
q Analysis Services
q Reporting Services - Native
• Shared Features
q Data Quality Client
q SQL Server Data Tools
q Client Tools Connectivity
q Integration Services
q Client Tools Backwards Compatibility
q Documentation Components
q Management Tools - Basic
q Management Tools - Complete
q Distributed Replay Controller
q Distributed Replay Client
q SQL Client Connectivity SDK
q Master Data Services