How to restasrt primary instance in services
Hi Experts,
We have 4 nodes ORACLE RAc in oracle 11.1 with database 10GR2 in red hat 5.3
The service saleapps default 2 primary instance and 2 available instance.
From the moniotr, I found that the most application is working on available nodes by saleapps server.
From EM manage I saw service saleapps messasge
service status for instance as stoped. the status detail message as
Service is stopped on this preferred instance.
But instance columm shows ALl instance status is UP and I can log inot each individual nodes too.
I clicked start button at tab of Cluster Database under Cluster Managed Database Services > Cluster Managed Database Service: saleapps
I got message as
Service Start : The service is already started on 2 instance(s), matching the number of preferred instances defined for this service.
At the present, saleapps service is running on other 2 available instance.
This is a production RAC databaase, How can I fix these issue and put primary instance back to saleapps server?
Thanks for your help.
JIm
Hi,
output as
saleapps PREF: sale2 sale1 AVAIL: sale3 sale4 TAF: BASIC
If it were wrong, You'd have to correct it. The command is:
srvctl modify service -d sale -s saleapps -n -i "sale1, sale2" -a "sale3, sale4" -f
what do I need to do next?As the configuration is rigth, You have only to relocate it. The command is:
srvctl relocate service -d sale -s saleapps -i sale3 -t sale1 -f
srvctl relocate service -d sale -s saleapps -i sale4 -t sale2 -f
Hope it helps,
Cerreia
Edited by: Cerreia on 30/10/2009 19:42
Edited by: Cerreia on 30/10/2009 19:57
Similar Messages
-
TNSNAMES.ora for DR And Primary Instance
I have 2 node rac, how do i specify load balance and failover in the client tnsnames.ora including DR hostnames so that when the primary instance is not available it automatically goes to DR. Instead of flipping the tnsnames.ora.
You seem to have a substantial amount of confusion in your request.
When you use the term DR are you referring to an unmentioned Physical Data Guard implementation somewhere else or are you misusing the term to mean "the other node in my cluster?"
In what version of Oracle?
What services have you defined?
How is failover configured? Using TAF or FCF?
You need to provide a lot more information for us to help you.
Load balancing has nothing to do with failover. Are you asking about one of them or both?
Review the capabilities of the DBMS_SERVICE package with respect to creating a service. How did you define your RAC services? -
How to Separate the Instances?
Hi All,
Please let me know How to separate the instance (CI & DB in one Cluster and DI in Failover )
Thanks in Advance,
Jayakumar CHi ,
Can you please explain the present scenario. Is your SAP running in clusture? do u have 2 seperate boxes for Primary and Failover and now you want to run all services in primary and you want your FO to act as a DI? -
Hi
If a organization have 200 to 300 daily complains of there IT equipment/Software/Network e.t.c.
How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?
Is there any standard DataSources/InfoObjects/DSOs/InfoCubes etc. available in SAP BI Content?Imran,
The point I think was to ensure that you knew exactly what was required. A customer service desk can have many interpretations from a BI perspective.
You could have :
1. Operational reports - calls attended per shift , Average number of calls per person , Seasonality in the calls coming in etc
2. Analytic views - Utilization of resources , Average call time and trending , customer satisfaction , average wait time
3. Strategic - Call volumes corresponding to campaigns etc , Employee churn and related call times
Based on these you would then have to construct your models which would be populated by data from the MySQL instance for you to report.
Else if you have BWA you could have data discovery instead or if you have HANA - you could do even more and if you have a HANA sidecar - you technically dont need BW. The possibilities are virtually endless - it depends on how you want to drive it and how the end user ( client ) sees value in the same. -
How to expose a SOAP web service from HCP
Hello All,
Currently I am trying to create a SOAP web service within a HCP Java application to allow backend systems to consume data stored in HCP.
This is the planned scenario:
1. Create data in HCP - therefor I am using JPA and a oData Model.
2. Backend uses web service to consume data from HCP - with this point I do have some problems.. I do want to create a SOAP web service in order to achieve this.
Is there an easy way to create a SOAP web service in HCP? There are many tutorials in the internet of how to create a SOAP web service in 20 sec´s, but non of these helped me. I do was able to consume a SOAP web service in HCP coming from the ByD, but the other way around seems pretty complicated...
Can I make use of the Eclipse functions to create a web service? (New --> Other... --> Web Services --> Web Service and than choose the Button up Java bean Web Service type)
Have any of you some coding snippets that would probably help me out?
I have unsuccessfully tried to use the @WebService, @SOAPBinding, @WebMethod notation in my java classes...
Thank you,
SwenHello Nedelcho,
Yes. All the required jar files are in the lib directory.
Currently I am able to create a web service locally.
But when I deploy that to the cloud server my JPA service is not working any more.
Receiving the following error message:
<?xml version='1.0' encoding='UTF-8'?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en">javax.naming.NamingException: Error while attempting to resolve reference [Root exception is javax.naming.NamingException: Cannot create resource object instance due to exception in the object factory [Root exception is javax.naming.NamingException: Data source 'jdbc/DefaultDB' not available.]]</message></error>
The web.xml contains the following:
Any advice?
Best regards,
Swen -
How does 1 ASM instance in a 10 node RAC cause all 10 ASM instance to hang
Linux RHEL4
11.2.0.1.0 GI
11.2.0.1.0 RDBMS
11.1.0.7.0 RDBMS
10.2.0.4.4 RDBMS
Yesterday we had one of the ASM instance on our 10-node cluster hang with a latch "ASM file allocation latch". Oracle support has stated we are hitting a bug with is fixed in the latest PSU.
What I am trying to understand is how a latch on one ASM instance caused all 10 ASM instances to hang?
Oracle Supports explanation still does not answer how all 10 ASM instance were affected other then the faulty code that the patch fixes. Bellow is info out of the SAR.
Data Guard Site:
================
ARC1 PID 21508 reports ORA-240 'control file enqueue held for more than 120 seconds' at Thu Oct 28 11:35:54 2010. This message means ARC1 PID 21508 was holding the enqueue past the maximum tine limit of 120 seconds.
Next ARC0 PID 17398 reports ORA-16146: 'control file enqueue unavailable' at Thu Oct 28 11:36:52 2010. This means ARC0 PID 17398 tried to access the controlfile and it could get the lock.
ARC1 PID 21508 is then killed at Thu Oct 28 11:49:57 2010.
Killing enqueue blocker (pid=21508) on resource CF-00000000-00000000 by (pid=23078) by killing session 5.3
We see that RSM has been restarted by Broker. This matches to the alert.log and messages showing RSM being restarted several time. i.e. RSM0 started with pid=84, OS id=27915
Since this started happening around 11:14, the problem may have really started then instead of w/ the CF enqueue block.
The primary appears to be shipping redo to the standby using asynchronous mode. Unless there was a gap, I do no know if ARC1 should have been doing any remote network I/O. Because a log switch to thread 1 sequence 5235 had just happened at 11:33am, I suspect it was a local disk I/O that was started at least. The ORA-240 is reported at 11:35, exactly 120 sec (or 2min) from this log switch. Notice also the entry to show the log thread 1 sequence 5234 was registered to the controlfile didn't happen yet.
ASM Side:
============
From the systemstate dump on ASM, multiple processes are waiting on 'ASM file allocation latch' and we are kind of stuck on stack:
ksedsts()+461<-ksdxfstk()+32<-ksdxcb()+1782<-sspuser()+112<-0000003218E0C5B0<-kfuhInsert()+175<-kffilCreate()+601<-kfnsUFG()+3691<-kfnsBackground()+4382<-kfnDispatch()+527<-opiodr()+1149<-ttcpip()+1251<-opitsk()+1633<-opiino()+958<-opiodr()+1149<-opidrv()+570<-sou2o()+103<-opimai_real()+133<-ssthrdmain()+214<-main()+201<-__libc_start_main()+219
This caused the hang on the ASM side and hence ASM was not responding to the database. The CF Enqueue issue on the database was a side effect of this.
This is a direct <BUG:9232266> which is a duplicate of <BUG:8974548>Thanks Murali,
I was little reluctent to open a tar since my experince says that its better to troubleshoot the issue yourself instead of spending time with the Oracle support :)
Well, I got some more information on this : the sql for the process id of ASM instance is :
Alter Diskgroup mount all;
It looks like it is unable to mount the diskgroup and get hunged at that point , is it due to the new disk added to the system or do we missed something after adding the new disk.
Also, the ASM process can not be killed from unix box while the ASM is down.
Will appreciate your time if we can move in any directions from here ..
Thanks ,
Ankur -
Asm, instance and service failing to start 10g rac redhat el5
hi,
i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
[oracle@rac01 ~]$ crs_stat -t
Name Type Target State Host
ora.orcl.db application ONLINE ONLINE rac01
ora...._taf.cs application ONLINE ONLINE rac02
ora....cl1.srv application ONLINE OFFLINE
ora....cl2.srv application ONLINE ONLINE rac02
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application ONLINE ONLINE rac02
ora....SM1.asm application OFFLINE OFFLINE
ora....01.lsnr application ONLINE ONLINE rac01
ora.rac01.gsd application ONLINE ONLINE rac01
ora.rac01.ons application ONLINE ONLINE rac01
ora.rac01.vip application ONLINE ONLINE rac01
ora....SM2.asm application ONLINE ONLINE rac02
ora....02.lsnr application ONLINE ONLINE rac02
ora.rac02.gsd application ONLINE ONLINE rac02
ora.rac02.ons application ONLINE ONLINE rac02
ora.rac02.vip application ONLINE ONLINE rac02though I can start the asm instance manually by
srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
Regards
Martin.Check ASM resource:
crs_stat -p "resource_name
$ crs_stat | grep NAME\= | grep ASM1
NAME=ora.rac01.ASM1.asm
$ crs_stat -p ora.rac01.ASM1.asm
NAME=ora.rac01.ASM1.asm
TYPE=application
ACTIVE_PLACEMENT=0
*AUTO_START*=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for ASM instance
What do you see AUTO_START?
if 1 = auto start:
or check error ASM while start... at ASM_HOME/log/rac01/racg/*
If AUTO_START=2
Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
If AUTO_START=2 and need to change to 1:
Example:
$ crs_stat -p ora.rac01.ASM1.asm
NAME=ora.rac01.ASM1.asm
TYPE=application
ACTIVE_PLACEMENT=0
AUTO_START=2
$ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
$ crs_unregister ora.rac01.ASM1.asm
$ crs_stat -p ora.rac01.ASM1.asm
CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
$ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
AUTO_START=2
to
AUTO_START=1
$ crs_register ora.rac01.ASM1.asm
$ crs_stat -p ora.rac01.ASM1.asm
NAME=ora.rac01.ASM1.asm
TYPE=application
*AUTO_START=1*
Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM -
How to use the default database service name on creating procedure for data
how to use the default database service name on creating procedure for datagaurd client failover ??? all oracle doc says create a new service as below and enable at DB startup. but our client is using/wanted database default service to connect from application on the datagaurd environment (rac to non rac setup).please help.
Db name is = prod.
exec DBMS_SERVICE.CREATE_SERVICE (service_name => 'prod',network_name =>'prod',failover_method => 'BASIC',failover_type => 'SELECT',failover_retries => 180,failover_delay => 1);
says already the service available.
CREATE OR REPLACE TRIGGER manage_dgservice after startup on database DECLARE role
VARCHAR(30);BEGIN SELECT DATABASE_ROLE INTO role FROM V$DATABASE;
IF role = 'NO' THEN DBMS_SERVICE.START_SERVICE('prod');
END IF;
END;
says trigger created, but during a swithover still the service is listeneing on listener.
tns entry.
prod =
(DESCRIPTION =
(ADDRESS_LIST =
(LOAD_BALANCE = YES)
(ADDRESS = (PROTOCOL = TCP)(HOST = prod1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = prod2)(PORT = 1521)) ---> primary db entry
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = proddr)(PORT = 1521)) --> DR DB entry
(CONNECT_DATA =
(SERVICE_NAME = prod)
thanks in advance.
Edited by: 854393 on Dec 29, 2012 11:52 AMHello;
So in the example below replace "ernie" with the alias you want the client to use.
I can show you how I do it :
First an entry need to be added to the client tnsnames.ora that uses a SERVICE_NAME instead of a SID.
ernie =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Primary.host)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = Standby.host)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ernie)
)Next the service 'ernie' needs to be created manually on the primary database.
BEGIN
DBMS_SERVICE.CREATE_SERVICE('ernie','ernie');
END;
/After creating the service needs to be manually started.
BEGIN
DBMS_SERVICE.START_SERVICE('ernie');
END;
/Several of the default parameters can now be set for 'ernie'.
BEGIN
DBMS_SERVICE.MODIFY_SERVICE
('ernie',
FAILOVER_METHOD => 'BASIC',
FAILOVER_TYPE => 'SELECT',
FAILOVER_RETRIES => 200,
FAILOVER_DELAY => 1);
END;
/Finally a database STARTUP trigger should be created to ensures that this service is only offered if the database is primary.
CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
DECLARE
V_ROLE VARCHAR(30);
BEGIN
SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
IF V_ROLE = 'PRIMARY' THEN
DBMS_SERVICE.START_SERVICE('ernie');
ELSE
DBMS_SERVICE.STOP_SERVICE('ernie');
END IF;
END;
/lsnrctl status - should show the new service.
When I do this the Database will still register with the listener. I don't give that to the clients. That one will still be available but nobody knows about it. Meanwhile "ernie" moves with the database role.
So in my example the default just hangs out in the background.
Best Regards
mseberg
Edited by: mseberg on Dec 29, 2012 3:51 PM -
How to sync primary and standby database in 11GR2 on linux
Hi ,
How to sync primary and standby database in 11GR2 on linux . Both my primay and standby are 3 node cluster each.
Can you please suggest a good link and brief steps .
ThanksAre you trying to setup a new standby or sync an existing standby database?
OK I see it
"standby is behind the primary"
So you have a gap.
I would check both alert logs for a cause. You might find something like this
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.Look for ORA-00308 and ORA-27037 and ORA-16055.
There's no sense fixing the gap unless the cause is fixed too.
Also check out this post from a few days ago its dealing with similar issues.
How to sync the standby database with the primary?
If you find this helpful please mark it so.
Edited by: mseberg on Jul 20, 2011 4:37 PM -
Integration Of BPM with SMS & Instance Messaging services
is it possible to integrate Oracle BPM with SMS & Instance messaging services? If yes, how?
BPM 11g can be configured to use SMS & IM for notifications using the User Messaging Service.
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/partpage_vii.htm#BCIHAJJI
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_hwfmodel.htm#BABICIAH
If you want interactive user messaging and collaboration, then the WebCenter based Process Spaces application can provide this.
There was a recent webcast on Social BPM, which may be helpful - you can view it on demand here:
http://event.on24.com/r.htm?e=207713&s=1&k=CF1343DD07037B7BBE0C5AD09F335FC3&partnerref=fwp -
How to create a control center service ?
Hallo,
i have a server with 1 DB Home (with 2 instances) and 1 OWB Home.
I have OWB repositories in both instances and can connect to both via Design Center.
But trying to open the Control Center Manage in instance 2 fails with:
RTC-5301 Control Center service not available
In instance 1 it is working.
ps -ef | grep owb
shows me 3 processes running for the 1. instance
(based on owb/bin/unix/run_service.sh),
but none for the 2. instance
So my question is:
How can i create this missing service ?
I checked this doc http://download.oracle.com/docs/cd/B31080_01/doc/install.102/b28224/install_rep02.htm#CCHEDJBD
but the information on this topic is not very detailed.
Thanks,
JochenHi,
you must use the repository assistant, advanced option, to create a new repository owner. If you want to use both control center in one design rep: Then you must register it in the design center: create a new control center. To switch between both you must make one of them to the active control center/configuration.
Then you will have another services with the name oft he new cc.
Regards,
Detlef -
How to append SAP instance in SAP MMC
Hi,
We had two instances running in one host.
After a reboot one system is up and running and can be seen in MMC but the other instance niether starting nor appearing in MMC.
Can any one tell me how to append the instance in MMC with the existing up & running Instance?
Regads,
SourenHi,
In the properties widow select the fixed tab and add the hosttname and the instance number and then press ADD.
The SAP instance may not be listed in the MMC if the sapservices fails to start due to logon failure. Please check whether the services SAP<SID>_<Instance Number> has been started and if not please check whether the password for the user .\sapservice<SID> is valid.
Regards,
Varadhu -
How to start CRS and other services after rebooting nodes.
Hi,
i have created two node cluster database.how to start CRS and other service after rebooting nodes?
Thanks,use crsctl command start...
$ORA_CRS_HOME/bin/crsctl start crsOr check status about CLusterware...
$ORA_CRS_HOME/bin/crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthyIf not OK... check log at $ORA_CRS_HOME/log/hostname/*
and check status database , service and etc...
use crs_stat
$ORA_CRS_HOME/bin/crs_stat -t
$ORA_CRS_HOME/bin/crs_stat if you find some service or instance ... not online...
use srvctl command, help to start
Get Help...
$ORA_CRS_HOME/bin/srvctl -h -
How to Find Oracle instances?
Hi all,
Could you please guide how to check oracle instances?
Thanks in advance!!Hi all,
Could you please guide how to check oracle
instances?
Thanks in advance!!Hi,
If you mean "how to find out running instances?" then the answer is OS dependent.
On Windows, you can look for windows services for service names starting with "OracleService...".
On UNIX, you can inquire the same using
ps -ef|grep pmon
Regards -
How to delete Dialog instance on NW04
Hi guys
I have an installation NW04 on Cluster MSCS:
Central Instance on node A
SCS instance on Cluster Disk
Dialog instance on node B
We have performed upgrade to NW04s, and now in postprocessin we should deinstall Dialog Instance and install it again with software NW04s.
Here documentation guide:
****************************************+
After the upgrade of the central instance, you need to upgrade the dialog instance to the new release.
Due to the fact that some special settings and binaries on a dialog instance cannot be upgraded
remotely, you can only upgrade a dialog instance by uninstalling the old instance and then installing
a new dialog instance with the tool SAPinst.
Procedure
1. Uninstall the old dialog instances as described in the document Installation Guide ‒ SAP Web Application
Server 6.40 Java on <Operating System>: <Database>, Part II Installation and Post-Installation.
2. Install the new dialog instances as described in the document Installation Guide ‒ <SAP NetWeaver /
SAP application> <Technology> on <Operating System>: <Database>.
Point 1, is :
*************+
1. Log on as a user with domain administration rights.
2. Choose Start u2192 Settings u2192 Control Panel u2192 Add/Remove Programs.
3. The Add/Remove Programs dialog box appears.
4. Find the SAP entries.
. Note
Each SAP instance that is installed on the computer is listed with an entry like SAP Application Server
for System <SAPSID> instance.
5. Choose Remove.
The SAP Uninstall Wizard starts.
6. In the Welcome window, choose Next.
The dialog box Uninstalling SAP System appears for you to select an uninstall method
Depending on your selection, note the following when you use the check box to delete an SAP instance:
-- If your check box is marked gray, you delete or uninstall the following:
The SAP instance directory, for example:
\usr\sap\<SAPSID>\D00
Services, for example:
SAP<SAPSID>_00
The whole system directory, for example:
\usr\sap\<SAPSID>\*
-- If your check box is marked black, you delete or uninstall the following:
The SAP instance directory, for example:
\usr\sap\<SAPSID>\D00
Services, for example, SAP <SAPSID>_00
The whole system directory, for example:
\usr\sap\<SAPSID>\*
Local and domain user accounts
If you have different SAP instances that use the same <SAPSID>, you can delete the instance
directory only.
The wizard informs you when the SAP system or selected instances have been deleted successfully
But in my node B there is no SAP entry on Start u2192 Settings u2192 Control Panel u2192 Add/Remove Programs, however Dialog Instance exists, and windows service exists...and so on...
So how can we deinstall this dialog instance???
Thanks and regards
JavierHi
In node A there is JC30 (Java central instance)
In node B there is J32 (Java Dialog instance)
SCS31 (Services Central Instance) is now in node A, but can be switched.
Database Instance is OUTSIDE, is located on a Unix Server. (is not affected in this case)
Looking node B, there is no entry on Adding/Removing Programs regarding to SAP instance.
Of course, I can see windows services on node B, one for J32, other for SAPoscol, and one more for SCS31.
Any idea?
Thanks
Javier
Maybe you are looking for
-
Change the description of the line in the EMOLUMENTS PAID in the FORM16
Hello Seniors, A small issue regarding the change the name of the FIXED DA to DEARNESS ALLOWANCE in the EMOLUMENTS PAID in the FORM16. my client asked me to change the description of the DA. how can i change this, programm HINCF160 is SAP STANDARD it
-
How to conatant value in F4 & it should be gery out
Hi. I need to create a search help for a field . In seection method I have given one table. obviously in F4 it will pull all the data from table which we have mentioned in selection method. but I dont want all the data from it.In my search help
-
Can I set up Photo Booth to send through gmail?
I don't use Mac Mail. I always use gmail in a web browser. Is there a way to setup Photo Booth so that when I press the e-mail button, it opens up gmail instead?
-
Mapping multiple objects to a same db table
Can Kodo support mapping of multiple objects to a same table? For example, we have two objects PersAutoPolicy and InsuredOrPrinciple, and we want to map them to a same db table.
-
X4200 windows server 2003 sp1 install
Hello, i'm trying to install a x4200 using windows 2003 sp1. Created the F6 floppy using the make floppy utility found on the drivers cd. during install, after the hardware config has been inspected, i see the f6 screen, hit f6 and finaly enter the a