Configure a Fast Recovery Area

Configurar a Fast Recovery Area é uma tarefa que envolve dois parâmetros: DB_RECOVERY_FILE_DEST_SIZE e DB_RECOVERY_FILE_DEST. O primeiro basicamente determina o tamanho da Fast Recovery Area e o segundo o diretório onde os arquivos  serão gerados. Sendo isso, neste post irei mostrar a configuração desta área em um ambiente Single instance. Uma vez que, a configuração em um ambiente com Oracle Real Application Clusters (RAC) deve ser a mesma em todas as instâncias do ambiente, além de especificar a cláusula SID=’*’ . Configuração do DB_RECOVERY_FILE_DEST_SIZE: Configuração do DB_RECOVERY_FILE_DEST: brunorsHi! I am Bruno, a…

ASM Health Checker found 1 new failures

Estava analisando o arquivo alert.log do ASM, quando encontrei a seguinte mensagem “ASM Health Checker found 1 new failures”. Após executar o comando “ALTER DISKGROUP <disk group name>  CHECK;”  para verificar se havia alguma inconsistência no disk group , foi encontrado que de fato havia .  Com isso, após a execução do comando “ALTER DISKGROUP <disk group name> CHECK ALL REPAIR;” que faz uma análise e repara a corrupção encontrada, o alerta foi resolvido. Segue a execução: Checando e reparando a corrupção: brunorsHi! I am Bruno, a Brazilian born and…

ORA-32018: parameter cannot be modified in memory on another instance

Quando administramos um banco de dados Oracle com RAC (Real Application Clusters), há a necessidade de sempre ter atenção quando se vai efetuar a alteração de um parâmetro. Há parâmetros que só são alterados após uma reinicialização do banco de dados e há aqueles que podem ser alterados dinamicamente  (parâmetro Modifiable= ALTER SYSTEM na documentação da Corporação Oracle)  na instância inicializada. No entanto, para estes parâmetros dinâmicos há aqueles parâmetros que não há a possiblidade de se alterar no nó principal do cluster e nos demais ao mesmo tempo e, com…

ORA-01586: database must be mounted EXCLUSIVE and not open for this operation ao tentar apagar o banco de dados

Se você obteve o erro “ORA-01586: database must be mounted EXCLUSIVE and not open for this operation” após uma tentativa de apagar seu banco “drop database;”, este post pode te ajudar. Provavelmente este banco que você está tentando apagar é um Oracle RAC, acertei? Se sim, continue lendo…   Coloquei o banco no estado mounted e habilitei o modo restrito. No entanto, após tentar apagar o banco,  eis que resulta em um “ORA-01586: database must be mounted EXCLUSIVE and not open for this operation” , como se pode ver abaixo:…

Getting Instantiating disk: failed while an attempt to create a disk on OEL 6.3

While an attempt to create a disk, I got the follow error: ” Instantiating disk: failed”. Then, I did the follow steps: vi /etc/selinux/config and change the value selinux=enforcing to disabled. Restart your Operating System. Type it getenforce on prompt to your terminal. Try create the disk again through the command oracleasm createdisk DISK1 /dev/sdb1 Follow the example after the reboot:               brunors

ASM 11g Disk Groups Management

  Some Views: V$ASM V$ASM_ATTRIBUTE V$ASM_DISK V$ASM_DISKGROUP V$ASM_DISK_STAT V$ASM_FILE V$ASM_OPERATION V$ASM_USER   Redundancy level of the disk group:  Normal Redundancy: 2-way mirroring by default for most file types and the  maximum oracle asm file sizes for disk group is 5.8 TB High Redundancy:3-way mirroring for all files and the maximum oracle asm file sizes for disk group is 3.9 TB. External Redundancy: If you do not want mirroring by Oracle ASM, but for RAID disk and the maximum oracle asm file sizes for disk group is  16 TB.   CREATING…

Install Oracle Grid 11.2.0.3 Infrastructure on Oracle Linux 6.3

Install Oracle Grid 11.2.0.3 Infrastructure it is an operation that you have to do the prerequisites in the section Installing and Upgrading from Oracle documetation before continue installing the Oracle Grid infrastructure. Then go to stage area to grid file and do the follow operation: unzip p10404530_112030_Linux-x86-64_3of7.zip In the grid directory, run the runInstaller and start the installation: In the “Download Software Update” section, select “Skip software update” option and click in “Next”. Click “Install and Configure Oracle Grid Infrasctruture for a Cluster”. Click “Advanced Installation” and “Next” . In…

Configure Services using Policy Managed Method on Oracle RAC 11G

On the Oracle Real Application Clusters (Oracle RAC) 11G you can create services for clients use to connect to one or several instances using  either Oracle Enterprise Manager or SRVCTL. Moreover, it is important you know the managed methods for configure the services and what are the activities that you can do in a service.The activities are show below: Delete a service Check the status of a service Start or stop a service for a database or an instance Map a service to a consumer group Enable or disable a…

Configure Services using Manual Managed Method on Oracle RAC 11G

On the Oracle Real Application Clusters (Oracle RAC) 11G you can create services for clients use to connect to one or several instances using  either Oracle Enterprise Manager or SRVCTL. Moreover, it is important you know the managed methods for configure the services and what are the activities that you can do in a service.The activities are show bellow: Delete a service Check the status of a service Start or stop a service for a database or an instance Map a service to a consumer group Enable or disable a…

Configure archiving in Oracle Real Application Clusters (RAC) 11G

Configure archiving in Oracle RAC it is similar to configure archiving to a Oracle Single Instance. But on Oracle RAC you have to stop the instances for the database and configure . I will show an example in the environment where the database it is  named bd. First, you have to stop the database: srvctl stop database -d bd   After check the status: Start one instance in mount state. startup mount Configure archiving and opening the database: Start the instance where the state is down  (In our case bd2) and…