You are on page 1of 4

Post Installation Steps 1. Add Fdnet\physicaldatabasesupport group to SQL server. 2.

Create SQL IDs named pdbaadmin master default database,serverrole SA (For Portal), TIV_MON master default database,serverrole SA (For Tivoli monitoring, sqlmon default db master, Server role Public (For Inquirer ) 3. Remove BUILTIN\Administrators account (For 2008 installation this step is not required) 4. Setup Maintenance Plans for backups, Rebuild Index, Update stats and Integrity checks. DB Backup Plans Full Backup Click Maintenance Plan = > New maintenance Plan and rename the Plan as DB Backup

Plan. Double click the Sub plan and name it as Full. In the description mention as All databases Full back up Plan. Drag the Backup database task from the Right Pane (Maintenance Plan Tasks) and Double click the Backup Database task Select the backup type as FULL and Databases as All databases. Select the option Create a subdirectory for each database Select the correct folder (Normally F;\ MSSQL\Backup) and Backup file extension as BAK. Drag maintenance Clean task from the maintenance Plan Tasks and place it below Backup Database task and make connection between these two. Enter the folder details then enter the file extension as .BAK. Select the option Delete the files based on age and select the option files older than 3 days. Drag the History cleanup task and place it below maintenance clean task and set the time period as 10 weeks to remove the historical data. Schedule the Full backup at 12.30 AM everyday.

Trans log Backup Click add subplan and name it as Translog In the description mention as All databases Translog back up Plan. Drag the Backup database task from the Right Pane (Maintenance Plan Tasks) and Double click the Backup Database task Select the backup type as Transactional Log and Databases as All User databases. Select the option Create a subdirectory for each database Select the correct folder (Normally F;\ MSSQL\Backup) and Backup file extension as TRN. Drag maintenance Clean task from the maintenance Plan Tasks and place it below Backup Database task and make connection between these two. Enter the folder details then enter the file extension as :TRN. Select the option Delete the files based on age and select the option files older than 3 days. Schedule transaction log backup at every 4 hours starting from 5 AM to 11.59 PM.

DB Maintenance Plans

Create another maintenance plan and name it as DB Maintenance Plan Add Sub plan and name it as rebuild index and description as All databases rebuild index Every week Sunday at 3 AM Drag the rebuild index task and select all databases and the option Sort results in tempdb Add Sub plan and name it as Integrity checks and description as .All databases integrity checks and schedule Every week Saturday at 3 AM. Add Sub plan and name it as Update stats and description as All databases update statistics Plan and schedule .Select all databases and Full scan then schedule Everyday at 2.00 AM Check all the jobs and change the owner as SA

5. Select the properties of Model database then select Files and change the Auto growth settings of
Model log from 10% to 100 MB. 6. Change Error log count to 20: Go to Management => SQL Server Logs=>Right Click and select Configure and in the General tab select the check box Limit the no of error logs and set the value as 20. 7) Set lock pages in memory:

Open Gpedit.msc Go to Computer configuration=> Windows Settings=> Security Settings=> User right assignments=>Double Click Lock Pages in memory and Add FDNET\SQLServerservice and Click OK.

8) Right Click Database and modify the path of data file and log files. 9) Add server to sqlerlgck.cfg on RGPIDBA007 for backup checks (The file is located in the path: D:\MSSQL\local) to get mails of newly installed SQL server error logs. 10) Add the Server name in the batch file which is located in the D drive of RGPIDBA007 for daily backup checks 11) Change the port number of named instance (normally 1435)
Start = > Programs=> Microsoft SQL Server=> Configuration tools=>SQL Server configuration Manager.=> SQL Server Network Configuration=>Select the instance and Double click the TCP/IP and select the IP Addresses tab and add the port no as 1435.

12) Configuring Inquirer Copy folder MSSQL in the D drive of any other server and edit the file Sqltab in the etc folder
Eg for default instance Eg for named instance : : default|1433|Servername.fdnet.com|P||| Servername\Instance name|1435|Servername.fdnet.com|P|||

After that configure Inquirer in the server. change the path to D:\mssql\local>ibmpdba_setup.exe s and after running this command we will get the output as below Input the items which are mentioned in Bold letters. Welcome to the IBM DB Inquirer Setup Program

You will have the following options: - Monitor Oracle DBs - Monitor MS SQL Instances - Send Alerts to Email - Send Alerts to Tivoli press enter to continue Enable Oracle Monitoring? [Y/N] N Enable MS SQL Monitoring? [Y/N] Y Send Tivoli Alerts? [Y/N] N Send Email Alerts? [Y/N] Y Enter email address(es) to send alerts - comma separated, no spaces: To: fmonitor@in.ibm.com,mkambala@in.ibm.com,sankar.prasad@in.ibm.com add additional mail ids Enter optional PAGE email address for critical alerts: Page: Enter from email address (ex: oracle@mycompany.com): From: inquirer@us.ibm.com Enter SMTP Mail Server Address: 10.24.30.183 Please Confrim the following Email configuration To: fmonitor@in.ibm.com,mkambala@in.ibm.com,sankar.prasad@in.ibm.com Page: From: inquirer@us.ibm.com SMTP: 10.24.30.183 Are the email parameters correct? [Y/N] Y Delay startup of Inquirer? [Y/N]Y Enter monitoring delay in seconds [default=600] 300 Override default Server Send Name of rgppdba011 ? [Y/N] N BASE Value NOT found in Registry - using current directory -> D:\mssql\local SQLTAB Value NOT found in Registry - creating value -> D:\mssql\local\etc\sqltab SQLMAINTTAB Value NOT found in Registry - creating value -> D:\mssql\local\etc\s qlmainttab DBI installed as IBM Database Inquirer. Starting IBM Database Inquirer. IBM Database Inquirer started. 13) Add server to DTS packages on avptdba002. (mssql_backup_details, mssql_backup_details_monthly) Open Enterprise Manager and Click Data Transformation Services and then select Local Packages. Select the mssql_backup details and select Design package Right click the blank space and click add connection then in the New connection enter the server name. Click the sever and again type the server name.Use Windows authentication and select

the default database as msdb.Click OK then a Server icon will be created. Select the server icon and Press control and click avptdba002-ibmdba002 and select Transform Datatask and then connection will be created. Select any of the existing connection and click the properties. Copy the SQL Query and Paste the same in the properties of the new connection created then click Destination and Transformations and click OK. Right click the connection and click execute Step and it should be successfull. Then select the Truncate backup icon and press control and then select the server icon and right click and select Work flow On success. Then connection will be created then Save the connections. Repeat the same for mssql_backup_details_monthly Package as well. 14) Portal registration First click the Add/Edit host names Click Create and enter the Server ,OS,SQL Version and other details and click create. Then come to the maintenance screen and click register database and enter the required details for master database. Select the server name from the drop down and add/modify the existing users to have 5 users like pdbaadmin,sqlmon,TIV_MON,SA and FDNET/SQLserverservice and also enter the correct password. 15) Enter the server details in the table Ibmservers in Server AVPTDBA002 default instance. ***********************************************************************************

You might also like