- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VG with a two nodes cluster with Oracle RAC
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:00 AM
тАО06-08-2009 04:00 AM
VG with a two nodes cluster with Oracle RAC
Oracle RAC it is installed and configured with SLVM + Raw devices.
In node1, i can see this VG activated, available and shared. Everything it's OK. But in node2, i can not activate VG with the needed configuration. When i try activate them i get the error:
agnesi/#vgchange -c y -S y /dev/vgpro02data
vgchange: Failed to set the specified attributes for volume group "/dev/vgpro02data".
I atach screen captures about SMH on both servers.
How could i activate VG for node2.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:49 AM
тАО06-08-2009 04:49 AM
Re: VG with a two nodes cluster with Oracle RAC
Activate the volume group in shared mode.
The volume group must be on shared storage, visible to both systems.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:49 AM
тАО06-08-2009 04:49 AM
Re: VG with a two nodes cluster with Oracle RAC
I would like the RAC experts to correct me as i suggest the following.
if the VG is activated already on one node as an SLVM vg then it has the SHARED and Cluster aware attributes set.
On the other node you need to activate in the shsred mode as
#vgchange -a s /dev/vgprod2data.
please wait for some more suggestions from RAC experts.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 06:26 AM
тАО06-08-2009 06:26 AM
Re: VG with a two nodes cluster with Oracle RAC
u alread assigned assigned to high availability cluster and mark volume group sharable from node1
vgchange -c cluster -S sharable vg_name
now no need to execute the same command from node2 also
u have to activate the volume group in shared mode thats all
vgchange -a s /dev/vgpro02data
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 10:35 PM
тАО06-08-2009 10:35 PM
Re: VG with a two nodes cluster with Oracle RAC
The command:
vgchange -a s /dev/vgpro02indx
for each volume group, works fine. And i have already the cluster volumes actives and shareds.
When i try to run Serviceguard i get:
agnesi/#cmrunpkg SG-RAC
Unable to run package SG-RAC on node godel, the node switching is disabled
Unable to run package SG-RAC on node agnesi, the node switching is disabled
cmrunpkg: Unable to start some package or package instances
├В┬┐What have i to change on cluster definition to run the cluster package?
In addition: in a enviroment like this (Serviceguard + Oracle RAC), there is a way to increase a LV size (LV, after all, are the oracle datafiles on this env.) or create new LV inside the VG that the cluster manage?
When i try to resize LV or resize VG i get:
agnesi/#lvextend -L 165 /dev/vgpro02data/raw_pro02_users
lvextend: The volume group "/dev/vgpro02data" is active in Shared Mode.
Cannot perform configuration change.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 05:07 AM
тАО06-09-2009 05:07 AM
Re: VG with a two nodes cluster with Oracle RAC
I already see that you put tha VG in Shared Mode !! ..
Now your second problem!!
To run the pkg you must enable de switching beetween nodes to do that just run the command:
cmmodpkg -e -n "node_name" "pkg_name"
Man cmmodpkg for more information!!
If you have any doubt please reply !! ..
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 07:47 AM
тАО06-09-2009 07:47 AM
Re: VG with a two nodes cluster with Oracle RAC
cmmodpkg -e -n "node_name" "pkg_name"
and works fine
Anyway there is something wrong on my configuration. RAC it's up on just one node:
agnesi/#cmviewcl -v
CLUSTER STATUS
clspro up
NODE STATUS STATE
godel up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c9t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up LinkAgg1 lan901
PRIMARY up LinkAgg2 lan902
STANDBY up 1/0/1/1/0/6/1 lan7
NODE STATUS STATE
agnesi up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c11t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up LinkAgg1 lan901
PRIMARY up LinkAgg2 lan902
STANDBY up 1/0/1/1/0/6/1 lan9
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
SG-RAC up (1/2) changing enabled no
NODE_NAME STATUS STATE SWITCHING
godel up running enabled
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS INTERCONNECT NAME
Service up 0 0 crsp-srv
NODE_NAME STATUS STATE SWITCHING
agnesi starting starting enabled
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS INTERCONNECT NAME
Service unknown 0 0 crsp-srv
I can not do anything with tradicional cm-comands, because it always get back:
agnesi/#cmrunpkg SG-RAC
Cannot start SG-RAC while it is starting on node agnesi.
Oracle Clusterware it is generating a lot of file similar with:
agnesi/#more /tmp/crsctl.3640
OCR initialization failed accessing OCR device: PROC-26: Error while accessing the physical storage Operating System error [Permissi
on denied] [13]
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 08:05 AM
тАО06-09-2009 08:05 AM
Re: VG with a two nodes cluster with Oracle RAC
I think you have something wrong in your configurations !!
In a RAC Cluster Environment you need to have 2 instances in Oracle !!
So you need to have 2 PKG in a two node cluster !!
In your environment with would be SG-RAC1 for node godel and instance one and SG-RAC2 for node agnesi and instance2
I Suggest you HALT the entirely cluster and alter your configurations !! ..
Regards !! ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 08:45 AM
тАО06-09-2009 08:45 AM
Re: VG with a two nodes cluster with Oracle RAC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 01:46 AM
тАО06-15-2009 01:46 AM
Re: VG with a two nodes cluster with Oracle RAC
Yes I'am shure, in a RAC environment there are two instances of the oracle, you have to configure 1 package for instance one and other package for instance two without failover.
The packages share the same VG ( VG in shared mode).
In my environment the SG, is used only for activate/desactivate the VG and Lv's. The ClusterWare do the oracle's work.
You have to proceed the installation instruction for oracle RAC.