SQL Server Installation Preparation: Creating Windows Firewall Rules, Logical Disks, Installing .NET Framework 3.5, and Creating Service Accounts.
Create Windows Firewall rules for SQL
1. Log in to your SQL server. أضغط على زر الماوس الايمن اضغط على يبدأ زر وحدد لوحة التحكم;
2. يفتح جدار حماية Windows;
3. انقر فوق Advanced settings;
4. انقر فوق قواعد الداخل واختر قانون جديد;
5. Select the option ميناء وانقر فوق التالي زر;
6. Select options UDP, Specific local ports وادخل 1434 وانقر فوق التالي زر. (Default SQL UDP port, allow remote connections to SQL);
7. Leave اسمح بالاتصال وانقر فوق التالي زر;
8. Leave check marks by default and click التالي;
9. Enter the rule name, for an example SQL UDP, وانقر فوق ينهي زر;
10. Repeat and select the TCP خيار, Specific local ports, وادخل 1433. (Default SQL TCP port). أيضًا, I enter 14331 و 8080 after the symbol “,” for my future SCCM installation. انقر ال التالي زر;
11. Repeat, enter the rule name, على سبيل المثال, SQL TCP, وانقر فوق ينهي زر;
12. Check created tules;
Create logical disks
Create logical disks. Early I create و يتصل to my SQL VM two “Virtual Disks". في هذا المنصب, we initialize them and create “Logical disks” in the system.
1. أضغط على زر الماوس الايمن on the “يبدأ” button and select “إدارة الأقراص";
2. First of all change the “CD-ROM” drive letter from “د" ل "ص". أضغط على زر الماوس الايمن click on CD-ROM and select Change Drive Letter and Paths;
3. انقر على يتغير زر;
4. Select the drive letter “R” and click the نعم زر;
5. In the pop-up window click the نعم زر;
6. انقر على نعم button to apply changes;
7. أضغط على زر الماوس الايمن click on the first Disk and select Online;
8. أضغط على زر الماوس الايمن click on the first Disk and select initialize Disk;
9. Select option “جي بي تي (GUID Partition Table)"وانقر على"نعم" زر;
10. أضغط على زر الماوس الايمن click on first Disk “Unallocated space"وحدد"New Simple Volume" (to create new logical disk);
11. انقر على "التالي" زر;
12. Leave size as default and click the “التالي" زر;
13. Assign a drive letter, as an example “د"وانقر على"التالي" زر;
14. Set format options:
- File System – leave “NTFS", if you use “ReFS” – you can’t backup it with “DPM" (Data Protection Manager doesn’t understand ReFS);
- Allocation unit size – I set “64ك” because I place on disk a few big files;
- Volume label – set the name for your drive. In my case “SCCM-DATA".
انقر على "التالي" زر;
15. Check the summary information and click the “ينهي" زر;
16. Repeat for the second disk;
17. Open “This PC” and check newly added “Logical Disks”;
Install Net Framework 3.5
You can install it using CMD or GUI. في هذا المنصب, we install “الإطار الصافي 3.5” from GUI.
1. If Server Manager doesn’t start at login – run it. Click on the upper menu “Manage” and select “Add Roles and Features”;
2. انقر على "التالي" زر;
3. انقر على "التالي" زر;
4. Select your target server and click the “التالي" زر;
5. Don’t install any roles, انقر على "التالي" زر;
6. Set the check mark on “.NET Framework 3.5 Features” and click the “التالي" زر;
7. انقر على "ثَبَّتَ" زر (if you don’t have an internet connection, but insert DVD or *.iso file with operating system installation files – click “Specify an alternate source path" <توصيل الخطاب>:\المصادر sxs);
8. When the installation is complete click the “يغلق" زر;
Create Service Accounts
1. For my SQL & SCCM deployment I create folders:
- On disk “د" ("SCCM-DATA") – SCCM and sub-folders (Backup, Data, السجلات);
- On disk “ه" ("TEMP") – SCCM;
You plan and deploy SQL as you wish or by your “Corporate Policies".
2. Let’s add “Service accounts” for SQL and SCCM deployment. أضغط على زر الماوس الايمن click on the “يبدأ” button and select “Computer Management”;
3. اذهب إلى "Groups"وافتح"المسؤولين";
4. انقر على "يضيف" زر;
5. First add the SCCM server ("AD Object Computer") حساب. التالي, add all SQL service accounts and SCCM service accounts (for client installation); After adding click the "نعم" زر;
6. Also you may enable in “جدار حماية Windows” rule to allow ping;
7. And enable more rules (انظر لقطة الشاشة) for successful SCCM deployment.
8. If you don’t do step “7” you may get the next error when installing SCCM;