Oracle Grid Infrastructure Tips: differenze tra le versioni
Jump to navigation
Jump to search
Riga 4: | Riga 4: | ||
Per creare un cluster filesystem: |
Per creare un cluster filesystem: |
||
⚫ | |||
<pre> |
|||
⚫ | |||
</pre> |
|||
in alternativa si può fare da asmcmd: |
in alternativa si può fare da asmcmd: |
||
grid@server:~$ asmcmd volcreate -G data -s 10G MIOVOL01 |
grid@server:~$ asmcmd volcreate -G data -s 10G MIOVOL01 |
||
Formattare il device: |
Formattare il device: |
||
⚫ | |||
<pre> |
|||
⚫ | |||
</pre> |
|||
Da utente root: |
Da utente root: |
||
root@server:~# srvctl add volume -volume MIOVOL01 -diskgroup DATA -device /dev/asm/miovol01-21 |
|||
<pre> |
|||
root@server:~# |
root@server:~# /sbin/acfsutil registry -a -n node1,node2 /dev/asm/miovol01-21 /MIOVOL01 |
||
root@server:~# / |
root@server:~# /bin/mount -t acfs /dev/asm/miovol01-21 /MIOVOL01 |
||
root@server:~# /bin/mount -t acfs /dev/asm/miovol01-21 /MIOVOL01 |
|||
</pre> |
|||
Versione delle 12:12, 13 ott 2015
Grid Infratructure
Oracle ASM Cluster Filesystem
Per creare un cluster filesystem:
grid@server:~$ echo 'ALTER DISKGROUP DATA ADD VOLUME MIOVOL01 SIZE 10G;' | sqlplus '/ as sysadm'
in alternativa si può fare da asmcmd:
grid@server:~$ asmcmd volcreate -G data -s 10G MIOVOL01
Formattare il device:
grid@server:~$ mkfs -t acfs -n "MIOVOL01" /dev/asm/miovol01-21
Da utente root:
root@server:~# srvctl add volume -volume MIOVOL01 -diskgroup DATA -device /dev/asm/miovol01-21 root@server:~# /sbin/acfsutil registry -a -n node1,node2 /dev/asm/miovol01-21 /MIOVOL01 root@server:~# /bin/mount -t acfs /dev/asm/miovol01-21 /MIOVOL01