This entry is part 7 of 10 in the series 11gR2 RAC on x86 64bit Solaris 10

This section describes cloning node1 to node2 and configuring node2. The section describes

Backup Node 1

Ensure that you take a clean backup of the first node before cloning it and making changes. You can always revert to this point, in case you mess up something.

Backup Node 1

Backup Node 1

Create datastore

Create datastore to store node 2 data

Backup Node 1

Create Datastore

Copy Node

Copy node 1 data to node 2 datastore

Copy Node

Copy Node

Import Virtual Machine

Import virtual machine, by clicking on “Add virtual machine to inventory” from Virtual Machine menu

Import virtual machine

Import virtual machine

Configure Node 2

  • Rename Virtual machine 2
  • Rename the virtual machine by editing the configuration for node 2

    Rename VM

    Rename VM

  • Power on node 2, and generate new VM ID

Since the VM has been copied, you will be asked to generate a new VM id as shown below

Regenerate ID

Regenerate ID

  • Change hostnames and reboot

Change the configuration files as shown below to reflect the node2 data, which will ensure that on reboot, the IP address too will be configured automatically

?Download text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
		# cat /etc/hostname.e1000g0
		rac-node-02
		# cat /etc/hostname.e1000g1
		rac-node-02-priv
		# cat /etc/nodename
		rac-node-02
		#reboot
		.........
		# ifconfig -a
		lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
		        inet 127.0.0.1 netmask ff000000
		e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
		        inet 192.168.1.201 netmask ffffff00 broadcast 192.168.1.255
		        ether 0:c:29:94:6d:c3
		e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
		        inet 10.10.10.2 netmask ff000000 broadcast 10.255.255.255
		        ether 0:c:29:94:6d:cd
		# hostname
		rac-node-02
		#

Edit VM config file

  • Change disk locking parameters in configuration files of both nodes

Ensure that the rac-node-01.vmx and rac-node-02.vmx files contain these entries

?Download text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"
 
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
floppy0.present = "FALSE"
mks.enable3d = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
nvram = "rac-node-01.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"
powerType.powerOff = "soft"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "soft"
 
displayName = "rac-node-02"
extendedConfigFile = "rac-node-01.vmxf"
 
scsi0.present = "TRUE"
scsi0.sharedBus = "none"
scsi0.virtualDev = "lsilogic"
memsize = "2048"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "rac-node-01.vmdk"
scsi0:0.writeThrough = "TRUE"
scsi0:0.mode = "independent-persistent"
ide1:0.present = "TRUE"
ide1:0.fileName = "M:"
ide1:0.deviceType = "atapi-cdrom"
ide1:0.allowGuestConnectionControl = "FALSE"
ethernet0.present = "TRUE"
ethernet0.allowGuestConnectionControl = "FALSE"
ethernet0.virtualDev = "e1000"
ethernet0.features = "1"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.networkName = "Bridged"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
guestOS = "solaris10-64"
uuid.location = "56 4d 9a b2 24 6a 94 b6-2a b4 1b 1a ba 94 6d c3"
uuid.bios = "56 4d 9a b2 24 6a 94 b6-2a b4 1b 1a ba 94 6d c3"
vc.uuid = "52 b7 83 5c 79 e7 16 72-85 05 9b 14 5b 60 a3 ea"
 
ethernet0.generatedAddress = "00:0c:29:94:6d:c3"
debugStub.linuxOffsets = "0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
ehci.pciSlotNumber = "34"
vmci0.pciSlotNumber = "35"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "-1351183490"
 
tools.remindInstall = "TRUE"
 
ethernet1.present = "TRUE"
ethernet1.allowGuestConnectionControl = "FALSE"
ethernet1.virtualDev = "e1000"
ethernet1.features = "1"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.networkName = "Bridged"
ethernet1.addressType = "generated"
 
ethernet2.present = "FALSE"
ethernet2.allowGuestConnectionControl = "FALSE"
ethernet2.virtualDev = "e1000"
ethernet2.features = "1"
ethernet2.wakeOnPcktRcv = "FALSE"
ethernet2.networkName = "Bridged"
ethernet2.addressType = "generated"
 
scsi0:1.present = "TRUE"
scsi0:1.fileName = "I:\VMShared\asmdisk01.vmdk"
scsi0:1.writeThrough = "TRUE"
scsi0:1.mode = "independent-persistent"
 
scsi0:2.present = "TRUE"
scsi0:2.fileName = "I:\VMShared\asmdisk02.vmdk"
scsi0:2.writeThrough = "TRUE"
scsi0:2.mode = "independent-persistent"
 
scsi0:3.present = "TRUE"
scsi0:3.fileName = "I:\VMShared\asmdisk03.vmdk"
scsi0:3.writeThrough = "TRUE"
scsi0:3.mode = "independent-persistent"
 
scsi0:4.present = "TRUE"
scsi0:4.fileName = "I:\VMShared\data01.vmdk"
scsi0:4.writeThrough = "TRUE"
scsi0:4.mode = "independent-persistent"
 
scsi0:5.present = "TRUE"
scsi0:5.fileName = "I:\VMShared\data02.vmdk"
scsi0:5.writeThrough = "TRUE"
scsi0:5.mode = "independent-persistent"
 
scsi0:6.present = "TRUE"
scsi0:6.fileName = "I:\VMShared\data03.vmdk"
scsi0:6.writeThrough = "TRUE"
scsi0:6.mode = "independent-persistent"
 
scsi0:8.present = "TRUE"
scsi0:8.fileName = "I:\VMShared\index01.vmdk"
scsi0:8.writeThrough = "TRUE"
scsi0:8.mode = "independent-persistent"
 
scsi0:9.present = "TRUE"
scsi0:9.fileName = "I:\VMShared\fra01.vmdk"
scsi0:9.writeThrough = "TRUE"
scsi0:9.mode = "independent-persistent"
 
scsi0:10.present = "TRUE"
scsi0:10.fileName = "I:\VMShared\fra02.vmdk"
scsi0:10.writeThrough = "TRUE"
scsi0:10.mode = "independent-persistent"
 
scsi0:11.present = "TRUE"
scsi0:11.fileName = "crsdata01.vmdk"
scsi0:11.writeThrough = "TRUE"
scsi0:11.mode = "independent-persistent"
 
scsi0:12.present = "TRUE"
scsi0:12.fileName = "data01.vmdk"
scsi0:12.writeThrough = "TRUE"
scsi0:12.mode = "independent-persistent"
 
scsi0:13.present = "TRUE"
scsi0:13.fileName = "stage01.vmdk"
scsi0:13.writeThrough = "TRUE"
scsi0:13.mode = "independent-persistent"
 
ethernet1.generatedAddress = "00:0c:29:94:6d:cd"
ethernet2.generatedAddress = "00:0c:29:76:93:92"
scsi0:1.redo = ""
scsi0:2.redo = ""
scsi0:3.redo = ""
scsi0:4.redo = ""
scsi0:5.redo = ""
scsi0:6.redo = ""
scsi0:8.redo = ""
scsi0:9.redo = ""
scsi0:10.redo = ""
scsi0:11.redo = ""
scsi0:12.redo = ""
scsi0:13.redo = ""
ethernet1.pciSlotNumber = "36"
ethernet2.pciSlotNumber = "-1"
ethernet1.generatedAddressOffset = "10"
ethernet2.generatedAddressOffset = "20"
 
scsi0:14.present = "TRUE"
scsi0:14.fileName = "swap01.vmdk"
scsi0:14.writeThrough = "TRUE"
scsi0:14.mode = "independent-persistent"
 
scsi0:14.redo = ""

Popularity: 4% [?]

2 Responses to “Part 7 – Oracle 11gR2 RAC Solaris 10 – Clone and configure second node”

  1. grants for women Says:
    grants for women

    Keep posting stuff like this i really like it

  2. imtiazsyed Says:
    imtiazsyed

    Your detail work is highly appreciated, particularly complicated subject like RAC.

Leave a Reply

Internet Advertisingundelete