Oracle restart and ASM
Hi,
I have noticed following 'strange' behaviour of Oracle Restart and ASM.
starting position:
-bash-3.2 $ crsctl status resource -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DATA.dg
ONLINE ONLINE oracle-restart
ora.LISTENERASM.lsnr
ONLINE ONLINE oracle-restart
ora.asm
ONLINE ONLINE oracle-restart Started
Cluster Resources
ora.cssd
1 ONLINE ONLINE oracle-restart
ora.diskmon
1 ONLINE ONLINE oracle-restartstep 1:
-bash-3.2 $ srvctl stop asm
-bash-3.2 $ srvctl stop diskgroup -g data
-bash-3.2 $ srvctl disable diskgroup -g datastep 2:
via sqlplus start ASM instance
SQL> startup
ASM instance started
Total System Global Area 283930624 bytes
Fixed Size 2212656 bytes
Variable Size 256552144 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled
SQL> select * from v$asm_diskgroup;
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE
ALLOCATION_UNIT_SIZE STATE TYPE TOTAL_MB FREE_MB HOT_USED_MB
COLD_USED_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB OFFLINE_DISKS
COMPATIBILITY
DATABASE_COMPATIBILITY V
1 DATA 512 4096
1048576 MOUNTED EXTERN 10236 10177 0
59 0 10177 0
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE
ALLOCATION_UNIT_SIZE STATE TYPE TOTAL_MB FREE_MB HOT_USED_MB
COLD_USED_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB OFFLINE_DISKS
COMPATIBILITY
DATABASE_COMPATIBILITY V
11.2.0.0.0
10.1.0.0.0 N
-bash-3.2 $ crsctl status resource -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DATA.dg
OFFLINE OFFLINE oracle-restart <== funny !!!
ora.LISTENERASM.lsnr
ONLINE ONLINE oracle-restart
ora.asm
ONLINE ONLINE oracle-restart Started
Cluster Resources
ora.cssd
1 ONLINE ONLINE oracle-restart
ora.diskmon
1 ONLINE ONLINE oracle-restartIs this behaviour a 'feature' or bug?
Anyone had similar experience?
thanks,
goran
Hi,
asm resource is depending on diskgroup resource ... if diskgroup res. is not available, crsctl status shows offline, I would expect asm should be also shown as 'offline' (and brought offline) as they are dependent.
What is the point of managing resources via srvctl when it doesn't take care of dependencies? For me it's wrong.ora.asm : is ASM Instance
ora.*.dg : is Diskgroup
ora.*.dg is dependent of ora.asm, not to the contrary.
I can have more than one diskgroup and want only one diskgroup disabled, so I need the ASM Instance (ora.asm) online.
Important:
If you shut down the database with SQL*Plus, Oracle Restart does not interpret this as a database failure and does not attempt to restart the database.
Similarly, if you shut down the Oracle ASM instance with SQL*Plus or ASMCMD, Oracle Restart does not attempt to restart it.
An important difference between starting a component with SRVCTL and starting it with SQL*Plus (or another utility) is the following:
When you start a component with SRVCTL, any components on which this component depends are automatically started first, and in the proper order.
When you start a component with SQL*Plus (or another utility), other components in the dependency chain are not automatically started; you must ensure that any components on which this component depends are started.
Oracle Restart also manages the weak dependency between database instances and the Oracle Net listener (the listener): When a database instance is started, Oracle Restart attempts to start the listener. If the listener startup fails, then the database is still started. If the listener later fails, Oracle Restart does not shut down and restart any database instances.
It makes no sense Oracle Restart to shut down all environment (databases) because the listener down.
Regards,
Levi Pereira
Similar Messages
-
Oracle RAC and ASM for SAP in SLES
Hello,
We are installing our SAP ERP with Oracle RAC 11.2.0.2 on SLES 11 x86_64. According note 527843 (Oracle RAC support in the SAP environment), this is supported for SAP. But as a requirement ASM Cluster File System must be setup.
But when Oracle Grid is installed, ACFS installation returns the following error:
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'sles-release-11.1-1.152'
So Oracle GRID has been installed without ACFS, so we will not be able to use Oracle Clusterware for providing high availability of SAP.
As this is supposed to be a feasible combination (Oracle RAC 11.2.0.2 with ASM on SLES 11 SP1, Netweaver 7.0), I'm wondering if it is a bug, a lack of documentation or something I'm missing.
Kind regards,
FermíRead this below Oracle Note:
ACFS not supported on certain platforms [ID 1075058.1]
oracle@node1:~/app/oracle/product/grid/log/node1> tail -1 alertesiha.log
[client(14083)]CRS-10001:ADVM/ACFS is not supported on SUSE
Then these can be ignored, since ACFS/ADVM may not be supported for your platform. As of this writing, Sun, AIX, SuSE 10 are all supported in 11.2.0.2 only. HP-UX, SuSe 11 and RH6.0, as well as Oracle UEK ((2.6.32-100*) are not yet supported in 11.2.0.2. Keep in mind that this does not prevent your Grid Infrastructure stack (Clusterware and ASM) from starting. This is just an informational message for these platforms
Extract from SAP Note:
RAC 11.2.0.2 (x86 & x86_64 only):
Oracle Clusterware 11.2.0.2 + ASM/ACFS 11.2.0.2 (currently only for SLES10, RHEL5, OL 5.x (without UEK))
Thanks
Srikanth M -
Does Oracle 11g stream run with ASM together?
They are independent products, working at different layers for different purposes.
You can have Streams with ASM.
You can have Streams without ASM.
You can have ASM with Streams.
You can have ASM without Streams.
Hemant K Chitale -
Oracle database 10g RAC and ASM configuration
Hi all,
I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
Our materials are bellow:
Hardware: RP 3440 (HP)
OS : HPUX 11i Ver 1
Storage: EVA 4000 (eva disk group)
The problem is:
Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
But we want to use Oracekl Clusterware + RAC + ASM
My question is if anybody know what is the best configuration, we want to use ASm.
Can we use HP serviguard and ASM.
Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
Thanks for your help.
Regards.
raitsarevoHello,
there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first. -
Oracle database 10g RAC and ASm installation
Hi all,
I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
Our materials are bellow:
Hardware: RP 3440 (HP)
OS : HPUX 11i Ver 1
Storage: EVA 4000 (eva disk group)
The problem is:
Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
But we want to use Oracekl Clusterware + RAC + ASM
My question is if anybody know what is the best configuration, we want to use ASm.
Can we use HP serviguard and ASM.
Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
Thanks for your help.
Regards.
raitsarevoHi Experts ,
Using this command
$ emca
STARTED EMCA at Mon Mar 09 16:13:13 GMT+07:00 2009
Enter the following information about the database to be configured
Listener port number:
Following error comes:
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/emSDK/conf/InventoryLoader
at oracle.sysman.emcp.EMConfig.getFreePorts(EMConfig.java:4225)
at oracle.sysman.emcp.EMConfig.checkParameters(EMConfig.java:994)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:265)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:692)
at oracle.sysman.emcp.EMConfigAssistant.performSetup(EMConfigAssistant.java:641)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:340)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:180)
Moreover this command does not work on Aix 5.3
emca -config dbcontrol db -repos recreate
Regards,
Edited by: LazyDBA10g on Mar 16, 2009 6:20 AM -
PSU for Oracle Restart 11.2.0.1 AIX 6.1
Hi Gurus,
I have applied the patch 9655006 to GI for standalone i,e Oracle Restart.The patch went through fine but changed the owner on the grid directory and permissions.The grid directory under /u01/app/11.2.0/grid should be owned by root, instead after patch its owned by grid now .
Let me breakdown the steps that i performed for patch aplication.
1)Unlocked the grid home as root using command "roothas.pl -unlock"
2)Applied PSU patch as grid user(grid) using command opatch apply .The patch was applied successfully.
3)tried locking the grid home again using comand "roothas.pl -patch"
the command failed with the error "u01/app/11.2.0/grid/bin/crsctl[158]: /u01/app/11.2.0/grid/bin/crsctl.bin: cannot execute".
4)Tried rolling back the patch with command "opatch rollback -id 9655006" failed with error Copy failed from '/u01/app/11.2.0/grid/.patch_storage/9655006_Jul_6_2010_12_27_31/files/bin/oradnssd' to '/u01/app/11.2.0/grid/bin/oradnssd'...
5)Gave execute privilege recursively in GI-home/ bin directory and the Oracle Restart Stack came up.
My concerned is how the privileges got changed and how safe/consistent is the environment now after patch?what would be the impact of this on my existing environment?
ls -ld /u01/app/11.2.0/grid
drwxr-xr-x 66 grid oinstall 4096 Aug 12 11:24 /u01/app/11.2.0/grid
Please any inputs would be really appreciated.
ThanksHi,
822424 wrote:
Hi Gurus,
I have applied the patch 9655006 to GI for standalone i,e Oracle Restart.The patch went through fine but changed the owner on the grid directory and permissions.The grid directory under /u01/app/11.2.0/grid should be owned by root, instead after patch its owned by grid now .
Let me breakdown the steps that i performed for patch aplication.
1)Unlocked the grid home as root using command "roothas.pl -unlock"
2)*Applied PSU patch as grid user(grid) using command opatch apply .The patch was applied successfully.*
3)tried locking the grid home again using comand "roothas.pl -patch"
the command failed with the error "u01/app/11.2.0/grid/bin/crsctl[158]: /u01/app/11.2.0/grid/bin/crsctl.bin: cannot execute".
4)Tried rolling back the patch with command "opatch rollback -id 9655006" failed with error Copy failed from '/u01/app/11.2.0/grid/.patch_storage/9655006_Jul_6_2010_12_27_31/files/bin/oradnssd' to '/u01/app/11.2.0/grid/bin/oradnssd'...
5)Gave execute privilege recursively in GI-home/ bin directory and the Oracle Restart Stack came up.
Did you read README of Patch?
OPatch Automation for GI
The utility (opatch) must be executed by an operating system (OS) user with root privileges (usually user root), and it must be executed on each node in the cluster.
Patching the Oracle Restart Home
Before patching the Oracle Restart home, keep the Oracle Restart stack up and running.
To patch the Oracle Restart home, as an administrative user (usually root user) execute a command in the following format:
#opatch auto <UNZIPPED_PATCH_LOCATION> -oh <path to Oracle Restart home>
So, opatch with root privileges unlock and relock the GRID_HOME automatically.
This patch must be applied using an administrative user (usually root user).
My concerned is how the privileges got changed and how safe/consistent is the environment now after patch?what would be the impact of this on my existing environment?Did you take backup of Grid Home before patch?
Backup of the Oracle home can be taken using any preferred method. You can use any tool such as zip, tar, and cpio to compress the Oracle home. It is highly recommended to take a backup of Oracle home binaries while applying patch set(s) or patches. You should also backup the Central Inventory where the Oracle home is installed, while taking backup of the Oracle Home.
If you have backup of Oracle Home then you can restore all files of GRID HOME (Oracle Restart) and apply patch using root user.
Regards,
Levi Pereira
Edited by: Levi Pereira on Aug 15, 2011 8:14 PM -
Do we require two listeners. that is ASM listnener and DB listnener in oracle restart
Hi,
I have few question's on oracle restart.
1) Do we require two listeners. that is ASM listnener and DB listnener if yes why and if not what is the reason ?
2)If we add the components to OHASD,do we have to restart the services ?Hi,
I don't get the point.
Listener don't hold connection but only redirect it to Instance, is the instance which create a session/process.
The use of listener is so small it's only for incoming connection, so after connection is established it is handled by Oracle Database process.
If you stop listener only incoming connection are affected, all current connection still alive on database.
1) ASM Connection is done only when someone try to connect at ASM remotely. It's pretty rare the use of it.
2) Does not matter if you are using ASM or DB Listener, ff you have a storm of connection incoming on its listener it should be avoided, in setting up the clients in a manner they don't open 100rds of connections at the same time - and with some listener.ora parameters.
Still see no reason to have two listener. -
Directory Setup for RAC and Oracle Restart
I have three database installations that I'd like some insight on the initial directory structure and permissions. The three installations are:
1) Prod RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
2) Test RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
3) Single Instance - OEL 5U2, 11.2.0.2 Grid Infrastructure Standalone (Oracle Restart), 11.2.0.2 DB EE
The they all have two users GRID (for Grid Infrastructure Software Owner) and ORACLE (for Oracle Database Software Owner).
We had a consultant install the databases. It's very weird since we have an inconsistency in directories and permission. I want to understand the inconsistency between RAC installations as well as Oracle Restart Install.
SEE BELOW: The two RAC servers have different owners for /u01/app/11.2.0.2 directory. The Oracle Restart Installation - Single Instance has the same owner as Prod RAC but different than Test RAC. What the consultant said was that ORACLE_BASE would be /u01/app/oracle for both Grid Infrastructure and Database installations. This was to apply to TEST/PROD RAC (3 node, 3 instances, 1 instance/node) and Oracle Restart installation. The GRID_HOME would be /u01/app/11.2.0.2/grid and ORACLE_HOME would be /u01/app/11.2.0.2/db_1. It seems like the owners aren't setup correctly. Why? I don't want problems with patching or upgrading. If this setup is technically incorrect what is the best way to setup so there's no owner/permission issues. Is it necessary to have two separate ORACLE_BASE's like /u01/app/grid?
PRODUCTION REAL APPLICATION CLUSTER (Displaying only one Node details)
$ cd app
drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 .
drwxr-xr-x 3 root oinstall 4096 Apr 21 2009 ..
drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
drwxrwxr-x 2 emagent oinstall 4096 Feb 26 2011 emagent
drwxrwxr-x 9 oracle oinstall 4096 May 16 2011 oracle
drwxrwx--- 7 grid oinstall 4096 Feb 26 2011 oraInventory
$ cd 11.2.0.2
drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
drwxr-xr-x 79 oracle oinstall 4096 Mar 29 2011 db_1
drwxr-xr-x 69 root oinstall 4096 Feb 26 2011 grid
$ cd ..
$ cd oracle
9 oracle oinstall 4096 May 16 2011 .
drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
drwxr-xr-x 4 oracle oinstall 4096 Feb 26 2011 admin
drwxr-xr-x 3 oracle oinstall 4096 Feb 26 2011 cfgtoollogs
drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqrac03
drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle
drwxr-xr-x 3 root root 4096 Mar 13 2011 oradiag_root
TEST REAL APPLICATION CLUSTER (Displaying only one Node details)
$ cd app
drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ./
drwxr-xr-x 3 root oinstall 4096 Jan 26 2009 ../
drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 11.2.0.2/
drwxrwxr-x 2 emagent oinstall 4096 Mar 1 2011 emagent/
drwxrwxr-x 10 grid oinstall 4096 May 16 2011 oracle/
drwxrwx--- 7 grid oinstall 4096 Jan 27 2011 oraInventory/
$ cd 11.2.0.2
drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 ./
drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
drwxr-xr-x 80 oracle oinstall 4096 Mar 17 2011 db_1/
drwxr-xr-x 70 root oinstall 4096 Jan 27 2011 grid/
$ cd ..
$ cd oracle
drwxrwxr-x 10 grid oinstall 4096 May 16 2011 ./
drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 admin/
drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 cfgtoollogs/
drwxr-xr-x 2 grid oinstall 4096 Jan 26 2011 Clusterware/
drwxrwxr-x 11 grid oinstall 4096 Jan 26 2011 diag/
drwxr-xr-x 3 grid oinstall 4096 Jan 26 2011 hqract03/
drwxr-xr-x 3 grid oinstall 4096 Mar 23 2011 oradiag_grid/
drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle/
drwxr-xr-x 3 root root 4096 Jan 27 2011 oradiag_root/
SINGLE INSTANCE DATABASE (ORACLE RESTART)
$ cd app
drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 .
drwxr-xr-x 3 root root 4096 Apr 16 2009 ..
drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 oracle
drwxrwx--- 6 grid oinstall 4096 Feb 26 2011 oraInventory
$ cd 11.2.0.2
drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
drwxr-xr-x 76 oracle oinstall 4096 Apr 6 2011 db_1
drwxr-x--- 69 root oinstall 4096 Feb 26 2011 grid
$ cd ..
$ cd oracle
drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 .
drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
drwxrwxr-x 5 grid oinstall 4096 Feb 26 2011 admin
drwxrwxr-x 7 grid oinstall 4096 Feb 26 2011 cfgtoollogs
drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 checkpoints
drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqods01
Thanks so much.Hello
I did only check prod, as that is the important one.
i am afraid that setup is not clean. I won't use the work is wrong, but need to be normalized.
grid oracle base need to be separate from oracle oracle base, and the grid oracle home, MUST be outside of oracle base/oracle home of the oracle user.
In a multi user setup, the structure should be as follow.
grid user, group oinstall, asm* groups
oracle user, group oinstall, dba and db* groups
The GRID install, have, grid home and oracle base
the oracle base for grid should be, /u01/app/grid
the grid home should be, /u01/app/11.2.0.3/grid
the Oracle user have several homes, and oracle base
the oracle base for oracle should be, /u01/oracle
so, for permissions, when I create this, i do as root
mkdir -p /u01/app/11.2.0.3/grid
mkdir -p /u01/app/grid
mkdir -p /u01/app/oracle
mkdir -p /u01/app/oraInventory
chown -R grid:oinstall /u01
chown -R oracle:oinstall /u01/app/oracle
then, you install grid .. you have so say oracle home is /u01/app/grid and oracle home is /u01/app/11.2.0.3/grid
at the end, the root.sh as part of the install will take care of the permissions for oraInventory, and the rest for grid.
when grid is installed, you can move to the oracle db install you use oracle base as /u01/app/oracle and oracle home as /u01/app/oracle/product/11.2.0.3/dbhome_1
that will give you
2 4 drwxr-xr-x 6 root oinstall 4096 Sep 21 03:20 /u01
5996545 4 drwxr-xr-x 6 root oinstall 4096 Sep 18 22:58 /u01/app
5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid
5996547 4 drwxr-xr-x 3 root oinstall 4096 Sep 18 22:30 /u01/app/11.2.0.3
5996548 4 drwxr-xr-x 69 root oinstall 4096 Sep 21 10:52 /u01/app/11.2.0.3/grid
5996549 4 drwxrwx--- 5 grid oinstall 4096 Oct 30 22:08 /u01/app/oraInventory
7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle
7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
7406842 4 drwxr-xr-x 6 oracle oinstall 4096 Oct 30 22:04 /u01/app/oracle/product/11.2.0.3
7766052 4 drwxr-xr-x 77 oracle oinstall 4096 Nov 2 01:20 /u01/app/oracle/product/11.2.0.3/dbhome_1
Each user have to use his own oracle_base, as each oracle_base will store files and folders created for logs, admin, diagnostic with different permissions and different usages, for a reason you have role separation.
example of the content of each oracle base
$ find /u01/app/oracle/ -maxdepth 1 -ls
7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/
7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
8749076 4 drwxrwxr-x 3 oracle asmadmin 4096 Sep 18 23:03 /u01/app/oracle/diag
8749064 4 drwxr-x--- 6 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/admin
8716289 4 drwxr-xr-x 2 oracle oinstall 4096 Oct 30 22:18 /u01/app/oracle/checkpoints
8749061 4 drwxr-x--- 5 oracle oinstall 4096 Sep 18 23:12 /u01/app/oracle/cfgtoollogs
$ find /u01/app/grid/ -maxdepth 1 -ls
5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid/
7307540 4 drwxrwxr-x 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/diag
7307474 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/Clusterware
7307265 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/checkpoints
7307532 4 drwxr-x--- 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/cfgtoollogs
7406796 4 drwxr-xr-x 3 root root 4096 Sep 18 22:50 /u01/app/grid/oradiag_root
Take care,
Alvaro. -
Grid Infrastructure installable for Oracle Restart only (No ASM)?
Hello,
Can Oracle Grid Infrastructure be installed for its Oracle Restart functionality only? i.e., No ASM,; this box uses local RAID 5 filesystems only.
This is a standalone 32-bit RHEL 5 system with Oracle Database 10gR2 already installed that I intend to upgrade to 11gR2. Just experimenting with installing Grid Infrastructure for only its restart capability. There isn't anything out there I've found that addresses this other than the Oracle doc stating that the Infrastructure must be installed if I want to use ASM or Oracle Restart.
I'm currently in the installer in a Software Only installation waiting for my SysAdmin to run the root.sh script, but in looking at this script, it looks like it might try to do things with CRS, voting files and the like, which do not exist.
Thank you!
-JonHi Erik,
Can Oracle Grid Infrastructure be installed for its Oracle Restart functionality only? Yes ... you can do that installing Software Only
I'm currently in the installer in a Software Only installation waiting for my SysAdmin to run the root.sh script, but in looking at this script, it looks like it might try to do things with CRS, voting files and the like, which do not exist.Don't worry about that ... at the end of the execution of the root.sh script will report a proceedings to configure only Oracle Restart.
Only this resource "ora.evmd" will appear online.
Regards,
Levi Pereira -
Solaris 10 and Hitachi LUN mapping with Oracle 10g RAC and ASM?
Hi all,
I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
My question is this:
How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
I cannot find this critical piece of information ANYWHERE!!!!
Thanks for your help!You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
Tim
--- -
Oracle Grid Infrastructure and ASM Tech Supprot
Considering purchase the Tech Support from Oracle for Grid Infrastructure and ASM. Is there a web site/link I can go to?
Is the tech support for ASM covered under the Oracle Database tech support package or I need a separate support package for it?
-
Hello All,
I have a standby database with ASM. I would like it to be start on the server reboot.
I have read chapter 4 of Oracle Database Administration Guide 11g R2 where it mentions
If you install Oracle Restart by installing the Oracle Grid Infrastructure for a
standalone server and then create your database, the database is automatically added
to the Oracle Restart configuration, and is then automatically restarted when required.
However, if you install Oracle Restart on a host computer on which a database already
exists, you must manually add the database, the listener, the Oracle Automatic Storage
Management (Oracle ASM) instance, and possibly other components to the Oracle
Restart configuration.
Please can someone help me with the steps to setup Orace restart in 11gr2.
Thanks[oracle@rs1pre92dvdbsa01 bin]$ srvctl add database -d MDM2 -o /u01/app/oracle/product/11.2.0/dbhome_1 -s ope
[oracle@rs1pre92dvdbsa01 bin]$ srvctl stop database -d MDM2
PRCC-1016 : MDM2 was already stopped
[oracle@rs1pre92dvdbsa01 bin]$ srvctl start database -d MDM2
[oracle@rs1pre92dvdbsa01 bin]$ srvctl status database -d MDM2
Database is running.
[oracle@rs1pre92dvdbsa01 bin]$ su -
Password:
[root@rs1pre92dvdbsa01 ~]# reboot
***After reboot
[oracle@rs1pre92dvdbsa01 ~]$ cat /etc/oratab
#Backup file is /u01/app/oracle/product/11.2.0/dbhome_1/srvm/admin/oratab.bak.r
s1pre92dvdbsa01 line added by Agent
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
# Multiple entries with the same $ORACLE_SID are not allowed.
+ASM:/u01/app/11.2.0/grid:N # line added by Agent
MDM2:/u01/app/oracle/product/11.2.0/dbhome_1:N # line added by Agent
[oracle@rs1pre92dvdbsa01 ~]$ uptime
14:02:28 up 3 min, 1 user, load average: 0.41, 0.75, 0.35
[oracle@rs1pre92dvdbsa01 ~]$ ps -ef | grep pmon
oracle 4314 1 0 14:01 ? 00:00:00 asm_pmon_+ASM
oracle 4378 3878 0 14:02 pts/0 00:00:00 grep pmon
[oracle@rs1pre92dvdbsa01 ~]$
After rebooting the server MDM2 is not started
Is is because oratab flag is N -
I am going to upgrade from 10.2 to 11.2 in linux. I like to add the new feature Oracle restart but i am not going to configure ASM and files hold in file system. If i want to do so how i install Grid Infrastructure seperatly to support only for Oracle restart.
hi
The Oracle grid infrastructure for a standalone server is the Oracle software that provides system support for an Oracle database including volume management, file system, and automatic restart capabilities. If you plan to use Oracle Restart or Automatic Storage Management, you must install the grid infrastructure before installing your database.
pls also check
http://download.oracle.com/docs/cd/E11882_01/install.112/e10840/oraclerestart.htm#LADBI999
regards
zekeriya -
ASM resource online and ASM idle instance
Hi all,
SO..........: CentOS 5.8 32bits (VM - VirtualBox)
Oracle...: 11gR2 (11.2.0.1.0)
On my test environment, i have a VM running Oracle Clusterware and 2 11g instances. The problem is: The ASM service appears online (through ./crsctl status resource -t, see below), but when a try to connect to the ASM instance as sysasm, it shows me that the instance is idle, and if i try to startup it, the message "ORA-15149: another ASM instance found running on the host" is shown to me.
--output of ./crsctl status resource -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DATA.dg
ONLINE ONLINE vm-cent5
ora.DG_MANOBRA.dg
ONLINE ONLINE vm-cent5
ora.LISTENER.lsnr
ONLINE ONLINE vm-cent5
ora.asm
ONLINE OFFLINE vm-cent5 Instance Shutdown
Cluster Resources
ora.auxdb.db
1 ONLINE ONLINE vm-cent5 Open
ora.cssd
1 ONLINE ONLINE vm-cent5
ora.diskmon
1 ONLINE ONLINE vm-cent5 If i try to start the ora.asm resource through ./crtctl start, the following output is shown:
[root@VM-Cent5 bin]# ./crsctl start resource ora.asm
CRS-2672: Attempting to start 'ora.asm' on 'vm-cent5'
ORA-01012: not logged on
CRS-2674: Start of 'ora.asm' on 'vm-cent5' failed
CRS-2679: Attempting to clean 'ora.asm' on 'vm-cent5'
CRS-2681: Clean of 'ora.asm' on 'vm-cent5' succeeded
CRS-4000: Command Start failed, or completed with errors.I am probably doing something stupid, but i still could not see what i'm doing wrong.
Any help will be appreciated. Thanks in advance.Just one thing that i saw in my recent tests. I restarted CRS (crsctl stop | start resource -all), and the asm service (ora.asm) was back online, both target and state, as you can see below:
[root@VM-Cent5 bin]# ./crsctl status resource -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DATA.dg
ONLINE ONLINE vm-cent5
ora.DG_MANOBRA.dg
ONLINE ONLINE vm-cent5
ora.LISTENER.lsnr
ONLINE ONLINE vm-cent5
ora.asm
ONLINE ONLINE vm-cent5 Started
Cluster Resources
ora.auxdb.db
1 ONLINE ONLINE vm-cent5 Open
ora.cssd
1 ONLINE ONLINE vm-cent5
ora.diskmon
1 ONLINE ONLINE vm-cent5 ... but when i connect as sysasm using user oracle (sid +ASM), i see again the idle instance. -
Installing oracle 11g with ASM
Hi ,
Thanx for priviuos supportss.
Here we are going to configure a new set up on new hardware :
clients requirements :
oracle 11g with ASM :
Number of instance = Single database
Platform = IBM AIX 6.1
Kindly provide me any guidence / steps regarding same as i havent configured this yet..user12045405 wrote:
Thank u very much for interest ...
version = 11.2.0.2
Can u plz ans my below questions :
1.When we say ASM , is it considedred as a Grid Infrastructure ASM is one component of Grid Infrastructure. You can't have ASM without it.
2.What is ORACLE RESTART , do i really need to install it...It is also part and parcel of Grid Infrastructure - at least for a stand-alone.
there is an entire forum dedicated to GI installation, located [url https://forums.oracle.com/forums/forum.jspa?forumID=62]here
>
And fwiw, if you run the GI installer, one of the options is gives is to Install Grid Infrastructure for a standalone server. Pretty painless as long as you have correctly configured your disks that will be used with ASM.
kindly revert.........Edited by: EdStevens on Feb 28, 2013 7:25 AM
Maybe you are looking for
-
AVI TO MOV = blur?
Hi! I used Qt pro 6.5.2 to convert some Avi files (1024x768 pixels) to Mov.files. the result is SO blurred! i have used the "best" settings all over... Then burned them in IDvd 5.0.1. The Avi files looks just fine played in Qt or Vlc - not blurred. T
-
Hi All. I have some data loaded in BW flow from Nov 13 to Till date.Its a daily load.Now the client wants the data before Nov. 13 also.One month data has above 2 crore records.Its an FIGL Load.As its a daily load,i have a small window of time to load
-
Lens profile downloader issue with download target dirs (Win7)
Hi, I installed LPD on Windows 7 Ultimate 64bit and did some downloads. Now I find that this does not work very nicely. a) All downloads end up in adirectory "C:\Users\[username]\AppData\Roaming\Adobe\CameraRaw\LensProfiles\1.0\Downloaded". This is n
-
HT1351 Can my iPod music which is stored on my computer be added to my ipad?
I Have all my music on my laptop can this also be stored on my iPadiPad
-
When I send and iMessage from my computer it sends through my email. How do I get it so that people receive them from my phone number instead?