Como habilitar o Write Back no Exadata passo a passo

[root@owtcel01 ~]# dcli -l root -g cell_group “cellcli -e list cell detail” | grep “flashCacheMode”
owtcel01: flashCacheMode: WriteThrough
owtcel02: flashCacheMode: WriteThrough
owtcel03: flashCacheMode: WriteThrough
owtcel04: flashCacheMode: WriteThrough
owtcel05: flashCacheMode: WriteThrough
owtcel06: flashCacheMode: WriteThrough

</pre>
CellCLI> list cell detail
name: owtcel04
bbuTempThreshold: 60
bbuChargeThreshold: 800
bmcType: IPMI
cellVersion: OSS_11.2.3.2.1_LINUX.X64_130109
cpuCount: 24
diagHistoryDays: 7
fanCount: 8/8
fanStatus: normal
flashCacheMode: WriteThrough——————————–Current Mode
id: 1250FM5062
interconnectCount: 3
interconnect1: bondib0
iormBoost: 0.4
ipaddress1: 192.168.30.8/22
kernelVersion: 2.6.32-400.11.1.el5uek
locatorLEDStatus: off
makeModel: Oracle Corporation SUN FIRE X4270 M3 SAS
metricHistoryDays: 7
offloadEfficiency: 7,323.6
powerCount: 2/2
powerStatus: normal
releaseVersion: 11.2.3.2.1
releaseTrackingBug: 14522699
smtpFrom: “Exadata OWT HALF”
smtpFromAddr: unixasr@***
smtpServer: ***
smtpToAddr: unixasr@***
status: online
temperatureReading: 19.0
temperatureStatus: normal
upTime: 28 days, 14:34
cellsrvStatus: running
msStatus: running
rsStatus: running
<pre>

</pre>
CellCLI> drop flashcache
Flash cache owtcel03_FLASHCACHE successfully dropped
<pre>

Be sure asmdeactivationoutcome is YES  is before disabling grid disk
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

</pre>
CellCLI> list griddisk attributes name,asmmodestatus,asmdeactivationoutcome
DATA_OWT_CD_00_owtcel03 ONLINE Yes
DATA_OWT_CD_01_owtcel03 ONLINE Yes
DATA_OWT_CD_02_owtcel03 ONLINE Yes
DATA_OWT_CD_03_owtcel03 ONLINE Yes
DATA_OWT_CD_04_owtcel03 ONLINE Yes
DATA_OWT_CD_05_owtcel03 ONLINE Yes
DATA_OWT_CD_06_owtcel03 ONLINE Yes
DATA_OWT_CD_07_owtcel03 ONLINE Yes
DATA_OWT_CD_08_owtcel03 ONLINE Yes
DATA_OWT_CD_09_owtcel03 ONLINE Yes
DATA_OWT_CD_10_owtcel03 ONLINE Yes
DATA_OWT_CD_11_owtcel03 ONLINE Yes
DBFS_DG_CD_02_owtcel03 ONLINE Yes
DBFS_DG_CD_03_owtcel03 ONLINE Yes
DBFS_DG_CD_04_owtcel03 ONLINE Yes
DBFS_DG_CD_05_owtcel03 ONLINE Yes
DBFS_DG_CD_06_owtcel03 ONLINE Yes
DBFS_DG_CD_07_owtcel03 ONLINE Yes
DBFS_DG_CD_08_owtcel03 ONLINE Yes
DBFS_DG_CD_09_owtcel03 ONLINE Yes
DBFS_DG_CD_10_owtcel03 ONLINE Yes
DBFS_DG_CD_11_owtcel03 ONLINE Yes
RECO_OWT_CD_00_owtcel03 ONLINE Yes
RECO_OWT_CD_01_owtcel03 ONLINE Yes
RECO_OWT_CD_02_owtcel03 ONLINE Yes
RECO_OWT_CD_03_owtcel03 ONLINE Yes
RECO_OWT_CD_04_owtcel03 ONLINE Yes
RECO_OWT_CD_05_owtcel03 ONLINE Yes
RECO_OWT_CD_06_owtcel03 ONLINE Yes
RECO_OWT_CD_07_owtcel03 ONLINE Yes
RECO_OWT_CD_08_owtcel03 ONLINE Yes
RECO_OWT_CD_09_owtcel03 ONLINE Yes
RECO_OWT_CD_10_owtcel03 ONLINE Yes
RECO_OWT_CD_11_owtcel03 ONLINE Yes
<pre>

##
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

</pre>
CellCLI> alter griddisk all inactive
GridDisk DATA_OWT_CD_00_owtcel03 successfully altered
GridDisk DATA_OWT_CD_01_owtcel03 successfully altered
GridDisk DATA_OWT_CD_02_owtcel03 successfully altered
GridDisk DATA_OWT_CD_03_owtcel03 successfully altered
GridDisk DATA_OWT_CD_04_owtcel03 successfully altered
GridDisk DATA_OWT_CD_05_owtcel03 successfully altered
GridDisk DATA_OWT_CD_06_owtcel03 successfully altered
GridDisk DATA_OWT_CD_07_owtcel03 successfully altered
GridDisk DATA_OWT_CD_08_owtcel03 successfully altered
GridDisk DATA_OWT_CD_09_owtcel03 successfully altered
GridDisk DATA_OWT_CD_10_owtcel03 successfully altered
GridDisk DATA_OWT_CD_11_owtcel03 successfully altered
GridDisk DBFS_DG_CD_02_owtcel03 successfully altered
GridDisk DBFS_DG_CD_03_owtcel03 successfully altered
GridDisk DBFS_DG_CD_04_owtcel03 successfully altered
GridDisk DBFS_DG_CD_05_owtcel03 successfully altered
GridDisk DBFS_DG_CD_06_owtcel03 successfully altered
GridDisk DBFS_DG_CD_07_owtcel03 successfully altered
GridDisk DBFS_DG_CD_08_owtcel03 successfully altered
GridDisk DBFS_DG_CD_09_owtcel03 successfully altered
GridDisk DBFS_DG_CD_10_owtcel03 successfully altered
GridDisk DBFS_DG_CD_11_owtcel03 successfully altered
GridDisk RECO_OWT_CD_00_owtcel03 successfully altered
GridDisk RECO_OWT_CD_01_owtcel03 successfully altered
GridDisk RECO_OWT_CD_02_owtcel03 successfully altered
GridDisk RECO_OWT_CD_03_owtcel03 successfully altered
GridDisk RECO_OWT_CD_04_owtcel03 successfully altered
GridDisk RECO_OWT_CD_05_owtcel03 successfully altered
GridDisk RECO_OWT_CD_06_owtcel03 successfully altered
GridDisk RECO_OWT_CD_07_owtcel03 successfully altered
GridDisk RECO_OWT_CD_08_owtcel03 successfully altered
GridDisk RECO_OWT_CD_09_owtcel03 successfully altered
GridDisk RECO_OWT_CD_10_owtcel03 successfully altered
GridDisk RECO_OWT_CD_11_owtcel03 successfully altered
<pre>

##
1
2
3
4
5
6
7
8
9
10
11
12
13
14

</pre>
CellCLI> alter cell shutdown services cellsrv

Stopping CELLSRV services…
The SHUTDOWN of CELLSRV services was successful

CellCLI> alter cell flashCacheMode=writeback
Cell owtcel03 successfully altered

CellCLI> alter cell startup services cellsrv

Starting CELLSRV services…
The STARTUP of CELLSRV services was successful
<pre>

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

</pre>
CellCLI> alter griddisk all active
GridDisk DATA_OWT_CD_00_owtcel03 successfully altered
GridDisk DATA_OWT_CD_01_owtcel03 successfully altered
GridDisk DATA_OWT_CD_02_owtcel03 successfully altered
GridDisk DATA_OWT_CD_03_owtcel03 successfully altered
GridDisk DATA_OWT_CD_04_owtcel03 successfully altered
GridDisk DATA_OWT_CD_05_owtcel03 successfully altered
GridDisk DATA_OWT_CD_06_owtcel03 successfully altered
GridDisk DATA_OWT_CD_07_owtcel03 successfully altered
GridDisk DATA_OWT_CD_08_owtcel03 successfully altered
GridDisk DATA_OWT_CD_09_owtcel03 successfully altered
GridDisk DATA_OWT_CD_10_owtcel03 successfully altered
GridDisk DATA_OWT_CD_11_owtcel03 successfully altered
GridDisk DBFS_DG_CD_02_owtcel03 successfully altered
GridDisk DBFS_DG_CD_03_owtcel03 successfully altered
GridDisk DBFS_DG_CD_04_owtcel03 successfully altered
GridDisk DBFS_DG_CD_05_owtcel03 successfully altered
GridDisk DBFS_DG_CD_06_owtcel03 successfully altered
GridDisk DBFS_DG_CD_07_owtcel03 successfully altered
GridDisk DBFS_DG_CD_08_owtcel03 successfully altered
GridDisk DBFS_DG_CD_09_owtcel03 successfully altered
GridDisk DBFS_DG_CD_10_owtcel03 successfully altered
GridDisk DBFS_DG_CD_11_owtcel03 successfully altered
GridDisk RECO_OWT_CD_00_owtcel03 successfully altered
GridDisk RECO_OWT_CD_01_owtcel03 successfully altered
GridDisk RECO_OWT_CD_02_owtcel03 successfully altered
GridDisk RECO_OWT_CD_03_owtcel03 successfully altered
GridDisk RECO_OWT_CD_04_owtcel03 successfully altered
GridDisk RECO_OWT_CD_05_owtcel03 successfully altered
GridDisk RECO_OWT_CD_06_owtcel03 successfully altered
GridDisk RECO_OWT_CD_07_owtcel03 successfully altered
GridDisk RECO_OWT_CD_08_owtcel03 successfully altered
GridDisk RECO_OWT_CD_09_owtcel03 successfully altered
GridDisk RECO_OWT_CD_10_owtcel03 successfully altered
GridDisk RECO_OWT_CD_11_owtcel03 successfully altered
CellCLI> list griddisk attributes name, asmmodestatus —-wait become online
DATA_OWT_CD_00_owtcel03 SYNCING
DATA_OWT_CD_01_owtcel03 SYNCING
DATA_OWT_CD_02_owtcel03 SYNCING
DATA_OWT_CD_03_owtcel03 SYNCING
DATA_OWT_CD_04_owtcel03 SYNCING
DATA_OWT_CD_05_owtcel03 SYNCING
DATA_OWT_CD_06_owtcel03 SYNCING
DATA_OWT_CD_07_owtcel03 SYNCING
DATA_OWT_CD_08_owtcel03 SYNCING
DATA_OWT_CD_09_owtcel03 SYNCING
DATA_OWT_CD_10_owtcel03 SYNCING
DATA_OWT_CD_11_owtcel03 SYNCING
DBFS_DG_CD_02_owtcel03 SYNCING
DBFS_DG_CD_03_owtcel03 SYNCING
DBFS_DG_CD_04_owtcel03 SYNCING
DBFS_DG_CD_05_owtcel03 SYNCING
DBFS_DG_CD_06_owtcel03 SYNCING
DBFS_DG_CD_07_owtcel03 SYNCING
DBFS_DG_CD_08_owtcel03 SYNCING
DBFS_DG_CD_09_owtcel03 SYNCING
DBFS_DG_CD_10_owtcel03 SYNCING
DBFS_DG_CD_11_owtcel03 SYNCING
RECO_OWT_CD_00_owtcel03 SYNCING
RECO_OWT_CD_01_owtcel03 SYNCING
RECO_OWT_CD_02_owtcel03 SYNCING
RECO_OWT_CD_03_owtcel03 SYNCING
RECO_OWT_CD_04_owtcel03 SYNCING
RECO_OWT_CD_05_owtcel03 SYNCING
RECO_OWT_CD_06_owtcel03 SYNCING
RECO_OWT_CD_07_owtcel03 SYNCING
RECO_OWT_CD_08_owtcel03 SYNCING
RECO_OWT_CD_09_owtcel03 SYNCING
RECO_OWT_CD_10_owtcel03 SYNCING
RECO_OWT_CD_11_owtcel03 SYNCING</pre>
CellCLI> create flashcache all
Flash cache owtcel03_FLASHCACHE successfully created

CellCLI> list cell detail
name: owtcel03
bbuTempThreshold: 60
bbuChargeThreshold: 800
bmcType: IPMI
cellVersion: OSS_11.2.3.2.1_LINUX.X64_130109
cpuCount: 24
diagHistoryDays: 7
fanCount: 12/12
fanStatus: normal
flashCacheMode: writeback——————Now mode become WRITEBACK
id: 1110FMM1DG
interconnectCount: 3
interconnect1: bondib0
iormBoost: 0.0
ipaddress1: 192.168.30.7/22
kernelVersion: 2.6.32-400.11.1.el5uek
locatorLEDStatus: off
makeModel: Oracle Corporation SUN FIRE X4270 M2 SERVER SAS
metricHistoryDays: 7
notificationMethod: mail
notificationPolicy: critical,warning,clear
offloadEfficiency: 5,379.5
powerCount: 2/2
powerStatus: normal
releaseVersion: 11.2.3.2.1
releaseTrackingBug: 14522699
smtpFrom: “Exadata OWT quarter”
smtpFromAddr:***
smtpPort: 25
smtpPwd: ******
smtpServer:***
smtpToAddr: unixasr@**
smtpUser:
smtpUseSSL: FALSE
snmpSubscriber: host=10.**,port=162,community=public,type=asr
status: online
temperatureReading: 20.0
temperatureStatus: normal
upTime: 28 days, 13:52
cellsrvStatus: running
msStatus: running
rsStatus: running
####

Do these steps  for all exadata cells and then check the status:

[root@owtcel01 ~]# dcli -l root -g cell_group “cellcli -e list cell detail” | grep “flashCacheMode”
owtcel01: flashCacheMode: WriteBack
owtcel02: flashCacheMode: WriteBack
owtcel03: flashCacheMode: WriteBack
owtcel04: flashCacheMode: WriteBack
owtcel05: flashCacheMode: WriteBack
owtcel06: flashCacheMode: WriteBack

&nbsp;
<pre><pre>

===========================================================================================================================================

Steps to enable the flash in Write Back mode –

CellCli> drop flashcache
CellCLI> alter cell shutdown services cellsrv
CellCLI> alter cell flashCacheMode = WriteBack
CellCLI> alter cell startup services cellsrv
CellCLI> create flashcache all

The Write Back Cache mode can be reverted back to the Write Through Cache mode by manually flushing all the dirty blocks back to the disk

CellCLI> alter flashcache all flush
CellCLI> drop flashcache
CellCLI> alter cell shutdown services cellsrv
CellCLI> alter cell flashCacheMode=Writethrough
CellCLI> alter cell startup services cellsrv

Sobre Alexandre Pires

ORACLE OCS Goldengate Specialist, OCE RAC 10g R2, OCP 12C, 11g, 10g , 9i e 8i - Mais de 25 anos de experiência na área de TI. Participei de projetos na G&P alocado na TOK STOK, EDINFOR alocado na TV CIDADE "NET", 3CON Alocado no PÃO DE AÇUCAR, DISCOVER alocado na VIVO, BANCO IBI e TIVIT, SPC BRASIL, UOLDIVEO alocado no CARREFOUR e atualmente na ORACLE ACS atendendo os seguintes projetos: VIVO, CLARO, TIM, CIELO, CAIXA SEGUROS, MAPFRE, PORTO SEGURO, SULAMERICA, BRADESCO SEGUROS, BANCO BRADESCO, BASA, SANTANDER, CNJ, TSE, ELETROPAULO, EDP, SKY, NATURA, ODEBRESHT, NISSEI, SICREDI, CELEPAR, TAM, TIVIT, IBM, SMILES, CELEPAR, SERPRO,OKI,BANCO PAN, etc
Esse post foi publicado em EXADATA. Bookmark o link permanente.

Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s