Sie sind auf Seite 1von 153

Installation of SQL Cluster in

VM ware
By Sudhakar Paradesi SQL DBA
11/20/2012

Installation of SQL Cluster in VM ware

Contents
Installation of VM Ware .................................................................................................................................................. 1
Installation of Win2k8 Server ............................................................................................................................ 12
Nodes Installation .............................................................................................................................................. 13
Configure Hostname for Nodes........................................................................................................................... 42
Install Dotnet Framework 3.5 in Node1 & Node2 ................................................................................................ 44
Installation of Domain Controller ....................................................................................................................... 45
Assign IP to Node1 & Node2 ............................................................................................................................... 63
Add Node 1 & Node 2 in Domain ........................................................................................................................ 65
Assign Private IP to Node1& Node2 .................................................................................................................... 69
Install Starwind software and create the targets ................................................................................................ 70
Enable Failure cluster feature in both Nodes ....................................................................................................... 94
Enable Application Server Feature in both Nodes .............................................................................................. 109
Install SQL Server 2008 in Win Cluster .............................................................................................................. 121

Installation of SQL Cluster in VM ware


Install VMware:
Insert Vmware CD Download from VM ware site.

Double Click

Installation of SQL Cluster in VM ware

Double Click

Installation of SQL Cluster in VM ware


Click on VMware-workstation-full-7.1.3-324285

Installation of SQL Cluster in VM ware

Click next

Installation of SQL Cluster in VM ware

Click typical

Installation of SQL Cluster in VM ware


Now go to D drive create a new folder named VMware
Now come back to installation window and click change
Browse to D:/vmware ----------------- so that all Vmware files will be in same folder

Installation of SQL Cluster in VM ware


Click next

Say next ---- next ----- continue

Installation of SQL Cluster in VM ware

After installing packages


9

Installation of SQL Cluster in VM ware

Takes 5 minutes time

10

Installation of SQL Cluster in VM ware

Restart now

U can see short cut on desktop


We have successfully installed the VM ware software
Moving to the Step 2: Installation of the Win Server 2008 For Domain Controller

11

Installation of SQL Cluster in VM ware

Step 2
Install Win 2008 Server

Download the trial version of Win 2008 Server Enterprise version

12

Installation of SQL Cluster in VM ware

13

Installation of SQL Cluster in VM ware

14

Installation of SQL Cluster in VM ware

15

Installation of SQL Cluster in VM ware

16

Installation of SQL Cluster in VM ware

17

Installation of SQL Cluster in VM ware

18

Installation of SQL Cluster in VM ware

19

Installation of SQL Cluster in VM ware

20

Installation of SQL Cluster in VM ware

21

Installation of SQL Cluster in VM ware

22

Installation of SQL Cluster in VM ware

23

Installation of SQL Cluster in VM ware

24

Installation of SQL Cluster in VM ware

25

Installation of SQL Cluster in VM ware

26

Installation of SQL Cluster in VM ware

27

Installation of SQL Cluster in VM ware

Nodes Installation:

28

Installation of SQL Cluster in VM ware

29

Installation of SQL Cluster in VM ware

30

Installation of SQL Cluster in VM ware

31

Installation of SQL Cluster in VM ware

32

Installation of SQL Cluster in VM ware

33

Installation of SQL Cluster in VM ware

34

Installation of SQL Cluster in VM ware


Add one more Network Adapter for Private NetworkSelect Host only for Second Adapter.

35

Installation of SQL Cluster in VM ware

36

Installation of SQL Cluster in VM ware

37

Installation of SQL Cluster in VM ware

38

Installation of SQL Cluster in VM ware

39

Installation of SQL Cluster in VM ware

40

Installation of SQL Cluster in VM ware

41

Installation of SQL Cluster in VM ware

42

Installation of SQL Cluster in VM ware


Disable UAC

Disable Firewall

43

Installation of SQL Cluster in VM ware

44

Installation of SQL Cluster in VM ware

45

Installation of SQL Cluster in VM ware

46

Installation of SQL Cluster in VM ware

47

Installation of SQL Cluster in VM ware

48

Installation of SQL Cluster in VM ware

49

Installation of SQL Cluster in VM ware

50

Installation of SQL Cluster in VM ware

51

Installation of SQL Cluster in VM ware

52

Installation of SQL Cluster in VM ware

53

Installation of SQL Cluster in VM ware

54

Installation of SQL Cluster in VM ware

55

Installation of SQL Cluster in VM ware

56

Installation of SQL Cluster in VM ware

57

Installation of SQL Cluster in VM ware

58

Installation of SQL Cluster in VM ware

59

Installation of SQL Cluster in VM ware

60

Installation of SQL Cluster in VM ware

61

Installation of SQL Cluster in VM ware

62

Installation of SQL Cluster in VM ware

63

Installation of SQL Cluster in VM ware


Assign Public IP to Node2

64

Installation of SQL Cluster in VM ware


Assign IP to Node1

65

Installation of SQL Cluster in VM ware

66

Installation of SQL Cluster in VM ware

67

Installation of SQL Cluster in VM ware

68

Installation of SQL Cluster in VM ware


Assign the Private IP address to the Node 1 and Node 2
The Private IP for Node 1 is: 192.168.2.11
The Private IP for Node 2 is: 192.168.2.12
Go to the network connection 2 and right click.

69

Installation of SQL Cluster in VM ware


Installation of the Shared storage software: Download Starwind software SAN storage and save it in the
local drive:
We will install the start wind software in the Domain controller PC.
Steps for Installation of Star Wind software:
Share storage
version

70

Installation of SQL Cluster in VM ware

71

Installation of SQL Cluster in VM ware

72

Installation of SQL Cluster in VM ware

73

Installation of SQL Cluster in VM ware

74

Installation of SQL Cluster in VM ware


Start Microsoft ISCSI service from services

75

Installation of SQL Cluster in VM ware


Configure the Hosts:

76

Installation of SQL Cluster in VM ware

User id is : root and password is starwind

77

Installation of SQL Cluster in VM ware


Add the targets:

78

Installation of SQL Cluster in VM ware

79

Installation of SQL Cluster in VM ware

80

Installation of SQL Cluster in VM ware


Create directory in the local drive C

81

Installation of SQL Cluster in VM ware

82

Installation of SQL Cluster in VM ware

83

Installation of SQL Cluster in VM ware

84

Installation of SQL Cluster in VM ware

The Star Wind software is installation is done.

85

Installation of SQL Cluster in VM ware


Go to the Node 1 map the share drive :

86

Installation of SQL Cluster in VM ware

87

Installation of SQL Cluster in VM ware

88

Installation of SQL Cluster in VM ware

89

Installation of SQL Cluster in VM ware

90

Installation of SQL Cluster in VM ware

91

Installation of SQL Cluster in VM ware

92

Installation of SQL Cluster in VM ware

Similarly Make the Share drives online in the Node2.

93

Installation of SQL Cluster in VM ware


Steps for configuring the Failure cluster feature in the server (Node 1, Node2)

94

Installation of SQL Cluster in VM ware

95

Installation of SQL Cluster in VM ware

96

Installation of SQL Cluster in VM ware

Steps for configuring the Windows cluster:


Before configuring the cluster Please add the Clustadm user in the local Administrator group in both nodes.

97

Installation of SQL Cluster in VM ware

98

Installation of SQL Cluster in VM ware

99

Installation of SQL Cluster in VM ware

100

Installation of SQL Cluster in VM ware


We should perform the Pre Validation check before installing the cluster(In node 1 we will do this activity)

101

Installation of SQL Cluster in VM ware

102

Installation of SQL Cluster in VM ware

103

Installation of SQL Cluster in VM ware


Validation check is done We will start configuring the Win Cluster:

104

Installation of SQL Cluster in VM ware

105

Installation of SQL Cluster in VM ware

Cluster IP address: 192.168.1.113

106

Installation of SQL Cluster in VM ware

Windows cluster installation completed.

Win cluster is done


107

Installation of SQL Cluster in VM ware


Go to Failure Cluster management in the Administrator Tools

108

Installation of SQL Cluster in VM ware


Add the Application server Role in the server.

109

Installation of SQL Cluster in VM ware

Check the Application server Role.

110

Installation of SQL Cluster in VM ware

111

Installation of SQL Cluster in VM ware

112

Installation of SQL Cluster in VM ware

113

Installation of SQL Cluster in VM ware


The MSDTC service to be installed prior to the SQL Server installation.
Go to Failure cluster management and Click Services and Applications

114

Installation of SQL Cluster in VM ware

115

Installation of SQL Cluster in VM ware


Provide the IP address for MSDTC 192.168.1.114 also provide the name

116

Installation of SQL Cluster in VM ware


Select the Shared Storage for MSDTC service.

117

Installation of SQL Cluster in VM ware


The MSDTC service is installation done.

118

Installation of SQL Cluster in VM ware

119

Installation of SQL Cluster in VM ware


Steps: Installation of SQL server in Cluster Environment. Copy the SQL server 2008 Software in the Node 1
The Prerequisites for SQL server 2008 installation is MS Dotnet Frame work 3.5, MS installer 4.5 .

120

Installation of SQL Cluster in VM ware


Click New SQL Server Failure Cluster installation

121

Installation of SQL Cluster in VM ware

122

Installation of SQL Cluster in VM ware

123

Installation of SQL Cluster in VM ware


Please avoid installing the SQL server if more number of warning or error messages are there. Please check the type of
warning and error and try to fix before installation.

124

Installation of SQL Cluster in VM ware

125

Installation of SQL Cluster in VM ware

126

Installation of SQL Cluster in VM ware


Check in Database Engine services and Management Tools

127

Installation of SQL Cluster in VM ware


Please provide the Path for installing the Binaries if you dont want to provide the path it will take default Path.

128

Installation of SQL Cluster in VM ware

129

Installation of SQL Cluster in VM ware


Check the Available Shared storage Disk for installing the SQL Server.

130

Installation of SQL Cluster in VM ware


Enter the IP Address for SQL Network Name 192.168.1.115

131

Installation of SQL Cluster in VM ware

132

Installation of SQL Cluster in VM ware


Click Use the same account and enter the Account name as Domain name/User id and Password

133

Installation of SQL Cluster in VM ware


Click Add Current User Option and Click Mixed mode option and enter the SQL server SA password.

134

Installation of SQL Cluster in VM ware

135

Installation of SQL Cluster in VM ware

136

Installation of SQL Cluster in VM ware

137

Installation of SQL Cluster in VM ware

138

Installation of SQL Cluster in VM ware


Step: Installation of SQL server in the Node 2
Click Add Node option

139

Installation of SQL Cluster in VM ware

140

Installation of SQL Cluster in VM ware

141

Installation of SQL Cluster in VM ware

142

Installation of SQL Cluster in VM ware

143

Installation of SQL Cluster in VM ware

144

Installation of SQL Cluster in VM ware


Please avoid installing the SQL server if more number of warning or error messages are there. Please check the type of
warning and error and try to fix before installation.

145

Installation of SQL Cluster in VM ware

146

Installation of SQL Cluster in VM ware

147

Installation of SQL Cluster in VM ware

148

Installation of SQL Cluster in VM ware

149

Installation of SQL Cluster in VM ware

150

Installation of SQL Cluster in VM ware

151

Installation of SQL Cluster in VM ware


SQL Server is installed in the Node2

If you have any doubts please feel free to call me on 9177047666


=============================End of the Document===============================

152

Das könnte Ihnen auch gefallen