1) Please create the mount points on all the nodes (as root user):
[root@testdb ~]# mkdir /goldengate
2) Connect to the ASM instance & create the ACFS diskgroup (from the +ASM1 instance):
SQL> CREATE DISKGROUP VOLTEST EXTERNAL REDUNDANCY
DISK 'ORCL:ASMDISK18' SIZE 4157 M
DISK 'ORCL:ASMDISK19' SIZE 4157 M
ATTRIBUTE 'compatible.asm' = '11.2', 'compatible.advm' = '11.2';
Diskgroup created.
3) Create the ACFS volume (from the +ASM1 instance):
SQL> ALTER DISKGROUP VOLTEST ADD VOLUME VOLTESTVOL SIZE 7G;
Diskgroup altered.
4) Verify the volume was created and obtain the new volume name:
[grid@testdb grid]$ asmcmd
ASMCMD> volinfo -a
Diskgroup Name: VOLTEST
Volume Name: VOLTESTVOL
Volume Device: /dev/asm/VOLTESTvol-76
State: ENABLED
Size (MB): 7168
Resize Unit (MB): 256
Redundancy: UNPROT
Stripe Columns: 4
Stripe Width (K): 128
Usage:
Mountpath:
5) From the first node, please create the ACFS filesystem on the new volume ( e.g. “/dev/asm/VOLTESTvol-76”) as “grid” user:
[root@testdb ~]# /sbin/mkfs -t acfs -b 4k /dev/asm/voltestvol-76
mkfs.acfs: version = 11.2.0.1.0.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/voltestvol-76
mkfs.acfs: volume size = 7516192768
mkfs.acfs: Format complete
6) Register the ACFS filesystem & new volume with the CRS as root user:
[root@testdb ~]# <GI Oracle Home>/bin/srvctl add filesystem -d /dev/asm/VOLTESTvol-76 -g 'VOLTEST' -v VOLTESTVOL -m /goldengate -u oracle
7) Start the new ACFS CRS resource (as root user):
[root@testdb ~]# <GI Oracle Home>/bin/srvctl start filesystem -d /dev/asm/voltestvol-76
8) Set the desired new ownership and permissions as root user:
[root@testdb ~]# chown oracle:oinstall /goldengate
[root@testdb ~]# chmod 775 /goldengate
9) Verify the new ACFS CRS managed filesystem is mounted on both nodes:
Node #1
[root@asmgrid1 ~]# df -k /goldengate
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/voltestvol-76 35651584 4590104 31061480 13% /goldengate
Node #2
[root@asmgrid2 ~]# df -k /goldengate
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/voltestvol-76 35651584 4590104 31061480 13% /goldengate
10) Verify the ACFS CRS resource is present in the CRS:
[root@asmgrid1 ~]# crsctl stat res -w "TYPE = ora.acfs.type"
NAME=ora.voltest.voltestvol.acfs
TYPE=ora.acfs.type
TARGET=ONLINE
STATE=ONLINE on asmgrid1, asmgrid2
[root@testdb ~]# mkdir /goldengate
2) Connect to the ASM instance & create the ACFS diskgroup (from the +ASM1 instance):
SQL> CREATE DISKGROUP VOLTEST EXTERNAL REDUNDANCY
DISK 'ORCL:ASMDISK18' SIZE 4157 M
DISK 'ORCL:ASMDISK19' SIZE 4157 M
ATTRIBUTE 'compatible.asm' = '11.2', 'compatible.advm' = '11.2';
Diskgroup created.
3) Create the ACFS volume (from the +ASM1 instance):
SQL> ALTER DISKGROUP VOLTEST ADD VOLUME VOLTESTVOL SIZE 7G;
Diskgroup altered.
4) Verify the volume was created and obtain the new volume name:
[grid@testdb grid]$ asmcmd
ASMCMD> volinfo -a
Diskgroup Name: VOLTEST
Volume Name: VOLTESTVOL
Volume Device: /dev/asm/VOLTESTvol-76
State: ENABLED
Size (MB): 7168
Resize Unit (MB): 256
Redundancy: UNPROT
Stripe Columns: 4
Stripe Width (K): 128
Usage:
Mountpath:
5) From the first node, please create the ACFS filesystem on the new volume ( e.g. “/dev/asm/VOLTESTvol-76”) as “grid” user:
[root@testdb ~]# /sbin/mkfs -t acfs -b 4k /dev/asm/voltestvol-76
mkfs.acfs: version = 11.2.0.1.0.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/voltestvol-76
mkfs.acfs: volume size = 7516192768
mkfs.acfs: Format complete
6) Register the ACFS filesystem & new volume with the CRS as root user:
[root@testdb ~]# <GI Oracle Home>/bin/srvctl add filesystem -d /dev/asm/VOLTESTvol-76 -g 'VOLTEST' -v VOLTESTVOL -m /goldengate -u oracle
7) Start the new ACFS CRS resource (as root user):
[root@testdb ~]# <GI Oracle Home>/bin/srvctl start filesystem -d /dev/asm/voltestvol-76
8) Set the desired new ownership and permissions as root user:
[root@testdb ~]# chown oracle:oinstall /goldengate
[root@testdb ~]# chmod 775 /goldengate
9) Verify the new ACFS CRS managed filesystem is mounted on both nodes:
Node #1
[root@asmgrid1 ~]# df -k /goldengate
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/voltestvol-76 35651584 4590104 31061480 13% /goldengate
Node #2
[root@asmgrid2 ~]# df -k /goldengate
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/voltestvol-76 35651584 4590104 31061480 13% /goldengate
10) Verify the ACFS CRS resource is present in the CRS:
[root@asmgrid1 ~]# crsctl stat res -w "TYPE = ora.acfs.type"
NAME=ora.voltest.voltestvol.acfs
TYPE=ora.acfs.type
TARGET=ONLINE
STATE=ONLINE on asmgrid1, asmgrid2