Uninstall Clustered Instance from Node
I've installed SSAS 2012 as a failover cluster instance on a 2-node Windows 2012 R2 cluster. All was fine in that regard but I now need to change the instance name so am going about the process of uninstalling and re-installing. I've successfully
removed the second node from the configuration using the "Remove cluster node" wizard from the Setup options, but when it comes to removing it from the final node I'm getting the error "the cluster group **** could not be moved from node x to
node 'null'". At this point the uninstall fails and the cluster resource remains in cluster administrator. It's obviously done some work/damage because the service won't start now, but it's left in limbo land where I can't do anything with
it.
Is there a manual way of removing the instance to overcome this issue (file deletions, registry entry deletions etc.)? (usual caveats regarding registry modifications accepted!) :)
Many thanks
Phil
Play around with possible owners for SQL and dependencies for SQL network name and SQL IP to see if adding and remove helps.
Similar Messages
-
How to Uninstall SQL instance on active-passive SQL server , which failed during Cluster Setup (Error-Failed at Validate Active Directory Configuration)
active-passive SQL server cluster setup failed due to some steps missed in initial cluster setup,
now i have unistall sql instance from nodes,
Your help will higly appriciated.
Regards,
Anish
AsandeenHello,
Please refer to the following link about remove a node of SQL Server Failover Cluster Instance:
http://msdn.microsoft.com/en-us/library/ms191545.aspx#Remove
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
For server Eagle-PROD-Instance, the Node Manager associated with machine
I have a wlst script that creates a domain and a managed server. I associate the server with a machine that's attached to a node manager. It creates the managed server fine but when I try and start it I get this error
For server Eagle-PROD-Instance, the Node Manager associated with machine Eagle-Machine is not reachable.
All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
The machine is associated with the Node Manager and the NM is running. I can start the managed server from the command line, but not from the admin console
This is the script, am I missing something?
Thanks
name: createManagedServer.py
description: This script create the weblogic domain, and executes each weblogic queue module
subfile. it reads a property file : weblogic_wlst.properties for server domain information
author : mike reynolds - edifecs 2011
created : April 8th 2011
import sys
from java.lang import System
from java.util import Properties
from java.io import FileInputStream
from java.io import File
from weblogic.management.security.authentication import UserEditorMBean
from weblogic.management.security.authentication import GroupEditorMBean
from weblogic.management.security.authentication import UserPasswordEditorMBean
# Loads the contents a properties file into a java.util.Properties
# configPropFile = "weblogic_wlst.properties"
def loadPropertiesFromFile(configPropFile):
configProps = Properties()
propInputStream = FileInputStream(configPropFile)
configProps.load(propInputStream)
propInputStream.close()
return configProps
def getProperties():
importConfigFile = sys.argv[1]
print importConfigFile
domainProps = loadPropertiesFromFile(importConfigFile)
properties = Properties()
input = FileInputStream(importConfigFile)
properties.load(input)
input.close()
return properties
def create_users(username, password, description):
# create admin user
cmo.getFileRealms()
try:
userObject=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
userObject.createUser(username,password,description)
print "Created user " + username + "successfully"
except:
print "check to see if user " + username + " exists "
def add_user_to_group(username):
print "Adding a user to group ..."
cmo.getFileRealms()
try:
userObject2 = cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
userObject2.addMemberToGroup('Administrators',username)
print "Done adding user " + username
except:
print "check to see if user " + username + " is already in group "
def connect_server(user,pw,url):
connect(user,pw,url)
def create_machine():
try:
print 'Creating machine' + machine
# cd('/')
# create(machine, 'Machine')
mach = cmo.createUnixMachine(machine)
mach.setPostBindUIDEnabled(true)
mach.setPostBindUID('oracle')
mach.setPostBindGIDEnabled(true)
mach.setPostBindGID('oracle')
mach.getNodeManager().setNMType('ssl')
except:
print "machine exists"
def build_domain():
### Read Basic Template
WL_HOME = "C:/Oracle/Middleware/wlserver_10.3"
readTemplate(WL_HOME+"/common/templates/domains/wls.jar")
template=WL_HOME+"/common/templates/domains/wls.jar"
cd('Servers/AdminServer')
set('ListenAddress', adminServerAddress)
set('ListenPort', int(adminServerPort))
cd('/')
cd('/Security/base_domain/User/weblogic')
cmo.setPassword('w3bl0g1c')
### Write Domain
setOption('OverwriteDomain', 'true')
print "writing domain " + domainDir + domainName
writeDomain(domainDir+'/'+domainName)
closeTemplate()
create_machine()
arg = "Arguments=\" -server -Xms256m -Xmx768m -XX:MaxPermSize=256m -da\""
prps = makePropertiesObject (arg)
domain = domainDir + domainName
try:
#startNodeManager()
#nmConnect('weblogic', 'w3bl0g1c', host, 5556, 'AdminServer', domain, 'ssl')
# nmStart('AdminServer')
startServer('AdminServer', domainName, url, adminUser, adminPassword, domainDir, 'true')
except:
print "could not connect to Node Manager"
def create_server():
# get server instance properties
name = properties.getProperty("serverName")
domain = properties.getProperty("domainName")
port = properties.getProperty("listenPort")
address = properties.getProperty("listenAddress")
servermb=getMBean("Servers/" + name)
machine = properties.getProperty("machineName")
nodePort = properties.getProperty("nodeManagerPort")
domainDir = properties.getProperty("domainDir")
if servermb is None:
startEdit()
cd('/')
cmo.createServer(name)
cd('/Servers/'+ name)
cmo.setListenAddress(address)
cmo.setListenPort(int(port))
cd('/')
cmo.createMachine(machine)
cd('/Machines/' + machine + '/NodeManager/' + machine )
cmo.setNMType('Plain')
cmo.setListenAddress(address)
cmo.setListenPort(int(nodePort))
cmo.setDebugEnabled(false)
cd('/Servers/' + name)
cmo.setListenPortEnabled(true)
cmo.setJavaCompiler('javac')
cmo.setClientCertProxyEnabled(false)
cmo.setMachine(getMBean('/Machines/' + machine ))
cmo.setCluster(None)
cd('/Servers/' + name + '/SSL/' + name)
cd('/Servers/' + name + '/ServerDiagnosticConfig/' + name)
cmo.setWLDFDiagnosticVolume('Low')
cd('/Servers/' + name)
cmo.setCluster(None)
cd('/Servers/' + name + '/SSL/' + name)
cmo.setEnabled(false)
### Executable Script
### CreateDomain.py
### Define constants
WL_HOME = "C:/Oracle/Middleware/wlserver_10.3"
print "Starting the script ..."
print "Getting properties ... "
properties = getProperties()
adminServerAddress = properties.getProperty("adminServerAddress")
adminServerPort = properties.getProperty("adminServerPort")
adminUser = properties.getProperty("adminUser")
adminPassword = properties.getProperty("adminPassword")
edifecsUser = properties.getProperty("edifecsUser")
edifecsPassword = properties.getProperty("edifecsPassword")
host = properties.getProperty("host")
domainDir = properties.getProperty("domainDir")
domainName = properties.getProperty("domainName")
user = properties.getProperty("username")
pw = properties.getProperty("passwd")
url = properties.getProperty("adminURL")
machine = properties.getProperty("machineName")
print "Building the domain..."
build_domain()
print "Connecting to server"
connect_server(adminUser, adminPassword, url)
edit()
startEdit()
# create managed server
# create_machine()
create_server()
print "Creating users"
# starting configuration tree
serverConfig()
create_users(adminUser, adminPassword, "Administrator")
add_user_to_group(adminUser)
create_users(edifecsUser, edifecsPassword,"Administrator")
add_user_to_group(edifecsUser)
# have to restart edit to save config
edit()
startEdit()
# nmKill('AdminServer')
print "saving configuration"
try:
save()
activate(block="true")
print "script returns SUCCESS"
print "admin server is running"
print "starting server " + name
startServer(domainName, name ,url,adminUser, adminPassword, domainDir,'true')
except:
print "failed to save server"
dumpStack()Actually the cert is coming from your Dev machine but it is sending the Prod cert.
What cert is used by your admin server ? It should match the host name.
So your Dev machine is apparently using a copy of the prod cert / keystore rather than using its own DEV cert. It's not clear from your post whether this is the nodemanager using the wrong cert, or the managed server. So both should be checked.
The managed servers need to be using a cert that matches their host name. If you have a managed server on VM-BEA-DEV, then the cert needs to be CN=VM-BEA-DEV. You can also use a load-balancer CN name in the cert if you have the cluster's HTTP values set to match.
In your nodemanager.properties, are you explicitly accessing keystores, such as with:
KeyStores=CustomIdentityAndJavaStandardTrust
CustomIdentityAlias=some_alias
CustomIdentityKeyStoreFileName=some_path_to_keystore
CustomIdentityKeyStorePassPhrase={3DES}...
CustomIdentityKeyStoreType=jks
CustomIdentityPrivateKeyPassPhrase={3DES}
In my multi-machine clusters, I have multiple certificates such as:
admin machine1:
has a cert for use by the admin server and NM that matches the host name ( with node manager.properties entries such as the above )
has a 2nd cert that matches the load-balancer name for the cluster - used by the managed servers
all other machines:
has a cert for use by NM that matches the host name ( with node manager.properties entries such as the above )
has a 2nd cert that matches the load-balancer name for the cluster - used by the managed servers -
SQL clustered instance outgoing traffic
Hi,
I have an interesting issue I'm trying to solve. Hopefully I'm missing something really simple. Here's a description of our environment, and the issue I'm having.
2 node SQL 2008 R2 SP2 clustered named instance. There are a total of 4 instance names on the cluster.
Node 1 IP is 192.168.1.121
Node 2 IP is 192.168.1.122
Named instance IPs are 192.168.1.123 to 192.168.1.126
Now here's my dilemma. When I connect to a linked server from one of the 4 named instances, instead of the remote server seeing the named instance IP (eg, 192.168.1.126), it's seeing the IP of the node that is hosting that instance (eg, 192.168.1.121). This
is causing us an issue, as the remote SQL server is behind a firewall, and we expected it to use the instance IP and not the host IP. I have already tried to force the IP in the Server Configuration Manager for the instance name, but this has not
helped.
The server logs for the instance show it listening only on the instance IP (eg. 192.168.1.126 <ipv4> 1433).
All communications to the named instances use the correct IP, and not the node IP. Any help would be greatly appreciated.
Regards,
Hugh McDaidHello Hugh,
You need to add an entry to your DNS server that resolves to the virtual IP used by each cluster role, and also add it as a resource for the corresponding role. Make sure the network interface used by SQL server outbound connections has its DNS server set
up correctly.
If that doesn't work, add the DNS name to your hosts file, pointing to the IP address.
"I have already tried to force the IP in the Server Configuration Manager for the instance name, but this has not helped."
So, you've set up an ALIAS for your sql server native client, right? Please note that there are two native clients installed in your servers, one for 32bit applications and the other for 64bits. Make sure the alias is set for BOTH clients. SSMS uses the
32bit aliases, and remember that they only apply locally. If you wanna work with them, tou need to configure the same aliases in each host that needs to connect to the instance.
Is this problem only happening between clustered instances? -
Migrate a SQL Server 2005 clustered instance
Hi all,
I've a 2 node cluster running Windows Server 2003, on the top of the cluster run two clustered instance of SQL Server 2005 Enterprise. The Windows Server 2003 are physical machine and the shared storage is implemented into a FC SAN.
I want to migrate the 2 clustered instance on a new Windows Server 2008R2 servers that runs on new hardware (so no in-place migration).
Is there a certified path for migration?Hi,
thank you for the answer, I've just seen that web resource. I'm trying to find something specific for SQL Server, if it exists.
Can you please explain your requirement. Did you read complete article ? As far as i can read you dont want inplace migration in that case get a new windows boxes and configure windows server cluster its fair simple and easy. Do you want document how to configure
windows cluster ?
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles -
Can we rename the clustered instance and change its IP address?
Hi,
We have an Sql Server 2008R2 Clustered production instance by name 'ProdVir' configured in 2 nodes(Active-passive) with
WIndows Server 2008 R2. We also have another clustered instance as disaster recovery by name 'VirDr' configured again
in another 2 nodes of Windows Server 2008 R2. Every day morning there is mainatenace plan which backups all the database
in production and another maintenace plan in the disaster recovery server 'VirDr' which restores the backups into the
VirDr instance. I would like to know that in an eventuality of a disaster in the clustered production instance of 'ProdVir'
could we rename the the instance VirDr(meant for disaster recovery) to ProdVir and also change the Ip addresses accordingly
so that the application programs do not have to change the details for the datasource in the connection strings.
Thanking you in advance,
Binny MathewBinny - Yes this is quite achievable, higher level steps (You also need to consider other operational checks):
In the cluster administrator landing page, select your SQL Server Network Name, Press f2 or right click and select rename, give it a new name and then
Take resource OFFLINE and then
Bring it ONLINE back again, test your application
Changing IP Address:
Add one more Network resource with the new IP Address
Then you add this IP address to the SQL Server group and set dependency accordingly
Take SQL Server Application OFFLINE and ONLINE again
Here you will end-up with 2 IP Addresses, you can keep both of them or remove the old one later
Good Luck! Please Mark This As Answer if it solved your issue. Please Vote This As Helpful if it helps to solve your issue -
How to clean the asm instance from RAC manually
for some reason i run crs_unregister asm and crs_unregister lsnr to remove the asm and listener resource from crs yesterday
and today i want rebuild the asm instance ,so i run dbca again ,but error
Error when starting ASM instance on node rac1: PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
[PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
DBCA could not startup the ASM instance on node: rac1. Manual intervention is required to recreate these instances. If you choose to proceed, ASM diskgroups will not be mounted on non-started remote ASM instances. Do you want to proceed with ASM diskgroup management?
and problem is how to do this "Manual intervention is required to recreate these instances", I already do 1, dd the asm disk, 2, remove the +ASM directory from $ORACLE_BASE, 3,clean ASM info from /etc/oratab, so what i can do next ?
i try restart crs ,now the error info is different !!
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log"
for further details.
[oracle@rac1 ~]$ cat /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
Edited by: 859340 on 2011-7-8 下午11:01Hi,
Can you post the dbca log?
and do you share the asm home with oracle home? if it is separated then add LISTENER_+ASM1 in tnsnames in ASMHOME, otherwise add it in ORACLEHOME
Cheers -
Running multiple instances from same oracle home
Hi Gurus,
I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
I hope my questions are not too much confusing ... !!
Cheers,
SudriptaHello,
"If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
More info:
1 Oracle Home - 1 Database - 1 SID is possible.
1 Oracle Home - Many Databases - Many SID is possible.
1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC. -
We have two physical servers hosting 3 SQL 2012 clustered instances, one default instance and two named instances.
The default instance is using port 1433 and the two named instances are using dynamic port assignment.
There is discussion about assigning static port numbers to the two named clustered SQL instances.
What is considered best-practice? For clustered named instances to have dynamic or static ports?
Are there any pitfalls to assigning a static port to a named instance that is a cluster?
Any help is greatly appreciatedHi RobinMCBC,
In SQL server the default instance has a listener which listens on the fixed port which is TCP port 1433. And for the named instance the port on which the SQL server listens is random and is dynamically selected when the named instance of the SQL server
starts.
For Standalone instance of the SQL server we can change the dynamic port of the named instance to the static port by using SQL server configuration manager as other post, however, in case of the cluster, when we change the port no. of the named instance
to the static port using the method described above, the port no. again changes back to the dynamic port after you restart the services. I recommend you changing the Dynamic port of the SQL Server to static port
on all the nodes , disabling and enabling the checkpointing to the quorum.
For more information, you can review the following article about how to change the dynamic port of the SQL Server named instance to an static port in a SQL Server 2005 cluster.
http://blogs.msdn.com/b/sqlserverfaq/archive/2008/06/02/how-to-change-the-dynamic-port-of-the-sql-server-named-instance-to-an-static-port-in-a-sql-server-2005-cluster.aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Cannot uninstall plugin profiler from dev environment.
Hello All,
I'm facing very weired issue while uninstalling Plugin Profiler from my production environment.Here is full description of my problem is given step by step.
1)We have 2 CRM 2015 online instances.one for Dev and another for Production.
2)We have developed solution in the Dev env and deployed it on to the Production env as Managed Solution.
3)With all the above solution plugin profiler is also get imported into the Production as managed solution.
Now,when we are trying to connect outlook with CRM 2015 online it is giving some issue related to plugin profiler and hence we are trying to remove the Plugin Profiler from the production but we are not able to do so and facing the following error,
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: This solution cannot be uninstalled because the 'EntityRelationship'
with id 'd85b5171-3bb4-e411-80e5-c4346bacbf10(mbs_businessunit_mbs_pluginprofile)' is required by the 'XXX' solution. Uninstall the XXX solution and try again.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147160032</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>0</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">EntityRelationship</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>1</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">d85b5171-3bb4-e411-80e5-c4346bacbf10(mbs_businessunit_mbs_pluginprofile)</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>2</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">XXX</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>This solution cannot be uninstalled because the 'EntityRelationship' with id 'd85b5171-3bb4-e411-80e5-c4346bacbf10(mbs_businessunit_mbs_pluginprofile)' is required by the 'XXX' solution. Uninstall the XXX solution and try again.</Message>
<Timestamp>2015-02-23T11:56:25.9022444Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
Where in above error "XXX" is our main Managed solution which we have deployed.
If anybody has face this kind of issue ,please help us on this weired issue ASAP.We are really stuck with the further developement.
Prashant Wani ,Software Engineer-II,Infinx Services Pvt.Ltd.Check SDK Message Processing Steps of your solution if there is PluginProfiler Entry under Event Handler column. You need to stop profiling that step before uninstalling the Plugin Profiler.
Regards, Saad -
Clustering weblogic from a common storage box.
Hi All,
Please some one help me out setting up a weblogic cluster. We have a requisition
as fallows:
Weblogic server needed to be setup in a common storage external box. Then this
server has to be cluster from two machines. Here I am confused, wether is it possible
to create a cluster of two servers instances from two machines(using the common
storage box, where I am going to install weblogic). If this is possible then how
the weblogic property file is going to deffer.
Please help me out.
Thanks,
Murali Ganji
Hi Robert,
Thank you very much for the reply.. But I have few doubts regarding the clustering
of weblogic. Please help me.
1. Does the document meant (maintaining common file system for the weblogic properties
files) the installing of weblogic server setup in the common file system or only
maintaining the common directory for the weblogic for all the clustered servers?
If the later understanding is correct then does it required all the weblogic servers
needed to be installed at their various machines to run. In this case how these
servers are going to make use of the properties file in the common file system(I
mean does we need to mention the paths any where)?
2. Can you please help me out in figuring out few draw backs of the common file
system other than single point failure of all the weblogic servers in the cluster?
Thanks and regards,
Murali G
Robert Patrick <[email protected]> wrote:
>Hi,
>
>First of all, there is no requirement that you use a shared file system
>when setting up a
>cluster (make sure you install the service pack for WLS 5.1 as there
>was a bug in the
>base product regarding the file system). The reason that the documentation
>recommends
>this is to simply the configuration of the cluster.
>
>Secondly, WebLogic 5.1 has the capability of using a hierarchy of property
>files. The
>global properties file is read first, then if it exists the properties
>file in the
>cluster directory (e.g., mycluster/weblogic.properties), and finally
>if it exists the
>properties file in the server directory (e.g., mycluster/server###/weblogic.properties
>where ### is the last octet of the machine's IP address). This allows
>you to share a
>directory structure and still have different settings for different clusters/servers.
>
>Finally, most people use homogeneous clusters. In a homogeneous cluster,
>the
>weblogic.property file is the same across all servers in the cluster.
>
>Hope this helps,
>Robert
>
>Murali Ganji wrote:
>
>> Hi All,
>> Please some one help me out setting up a weblogic cluster. We have
>a requisition
>> as fallows:
>> Weblogic server needed to be setup in a common storage external box.
>Then this
>> server has to be cluster from two machines. Here I am confused, wether
>is it possible
>> to create a cluster of two servers instances from two machines(using
>the common
>> storage box, where I am going to install weblogic). If this is possible
>then how
>> the weblogic property file is going to deffer.
>> Please help me out.
>> Thanks,
>> Murali Ganji
>
-
PRKO-2015 : Error in checking condition of instance on node:
I am using Oracle 10.2.0.4 2 node RAC on Solaris 10 x86_86.
I have renamed our test database using nid and have restarted the RAC instance.
The cluster is not able to identify the database eventhough I've tried adding the database and instances manually.
oracle@slsmtdrdbs01$srvctl add database -d SMTTSTDR -o /u01/app/oracle/product/10.2.0/db_1 -p /u02/app/oracle/smttstdr/spfilesmttstdr.ora
oracle@slsmtdrdbs01$srvctl add instance -d smttstdr -i smttstdr1 -n slsmtdrdbs01
oracle@slsmtdrdbs01$srvctl add instance -d smttstdr -i smttstdr2 -n slsmtdrdbs02
oracle@slsmtdrdbs01$srvctl status database -d smttstdr
PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs01
PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs02I see these messages in the CRS log which confirm tht the instances have been successfully regstered .
2009-06-24 15:47:49.823: [ CRSRES][781664] Resource Registered: ora.SMTTSTDR.db
2009-06-24 15:48:16.256: [ CRSRES][781666] Resource Registered: ora.smttstdr.smttstdr1.inst
2009-06-24 15:48:28.436: [ CRSRES][781672] Resource Registered: ora.smttstdr.smttstdr2.inst
But still I get the error messages with srvctl.
Think so this would need CRS reboot.
Wanted to confirm if there is any other way to fix this issue as there is a production database in the same box and rebooting the CRS would require downtime.
Any suggestions ?oracle@slsmtdrdbs01$crs_stat -t
Name Type Target State Host
ora....STDR.db application OFFLINE OFFLINE
ora....01.lsnr application ONLINE ONLINE slsm...bs01
ora....s01.gsd application OFFLINE OFFLINE
ora....s01.ons application ONLINE ONLINE slsm...bs01
ora....s01.vip application ONLINE ONLINE slsm...bs01
ora....02.lsnr application ONLINE ONLINE slsm...bs02
ora....s02.gsd application OFFLINE OFFLINE
ora....s02.ons application ONLINE ONLINE slsm...bs02
ora....s02.vip application ONLINE ONLINE slsm...bs02
ora.smtdgsl.db application OFFLINE OFFLINE
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application ONLINE OFFLINE
ora....rddr.db application ONLINE ONLINE slsm...bs02
ora....1a.inst application ONLINE ONLINE slsm...bs01
ora....1b.inst application ONLINE ONLINE slsm...bs02
ora....r1.inst application OFFLINE OFFLINE
ora....r2.inst application OFFLINE OFFLINESMTTSTDR is the test database that was created by renaming SMTDGSL. SMTPRDDR is the production database.
I don't see imon files at all.
I went through the thread
Not able to start instance using srvctl
I checked the permissions for the CRS directories
oracle@slsmtdrdbs01$pwd
/u01/app/oracle/product/10.2.0/crs/log
oracle@slsmtdrdbs01$ls -l
total 4
drwxrwx--- 2 oracle dba 512 Nov 24 2008 crs
drwxr-xr-t 8 root dba 512 Nov 24 2008 slsmtdrdbs01
oracle@slsmtdrdbs01$pwd
/u01/app/oracle/product/10.2.0/crs/log/slsmtdrdbs01
oracle@slsmtdrdbs01$ls -l
total 88
drwxr-x--- 2 oracle dba 512 Nov 24 2008 admin
-rw-rw-r-- 1 root dba 37122 Mar 9 09:23 alertslsmtdrdbs01.log
drwxr-x--- 2 oracle dba 2048 Apr 30 13:14 client
drwxr-x--- 2 root dba 512 Nov 24 2008 crsd
drwxr-x--- 4 oracle dba 512 Nov 26 2008 cssd
drwxr-x--- 2 oracle dba 512 Nov 24 2008 evmd
drwxrwxr-t 5 oracle dba 512 Jun 25 10:00 racgslsmtdrdbs01 directory is owned by root. Is that an issue?
But racg is owned by oracle.
Output of the trace
srvctl status database -d smttstdr
432 [main] [10:5:53:34] [HAOperationImpl.runCommand:1223] CRS cmd is: /u01/app/oracle/product/10.2.0/crs/bin/crs_stat -u
ora.SMTTSTDR.smttstdr1.inst ora.SMTTSTDR.smttstdr2.inst
433 [main] [10:5:53:36] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
434 [main] [10:5:53:37] [RuntimeExec.runCommand:76] /u01/app/oracle/product/10.2.0/crs/bin/crs_stat
435 [main] [10:5:53:38] [RuntimeExec.runCommand:76] -u
436 [main] [10:5:53:39] [RuntimeExec.runCommand:76] ora.SMTTSTDR.smttstdr1.inst
437 [main] [10:5:53:41] [RuntimeExec.runCommand:76] ora.SMTTSTDR.smttstdr2.inst
438 [main] [10:5:53:47] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
439 [Thread-1] [10:5:53:48] [StreamReader.run:61] In StreamReader.run
440 [Thread-0] [10:5:53:48] [StreamReader.run:61] In StreamReader.run
441 [Thread-0] [10:5:53:96] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.inst.
442 [Thread-0] [10:5:53:97] [StreamReader.run:65] OUTPUT>
443 [Thread-0] [10:5:53:98] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.inst.
444 [Thread-0] [10:5:53:100] [StreamReader.run:65] OUTPUT>
445 [main] [10:5:53:103] [RuntimeExec.runCommand:133] runCommand: process returns 210
446 [main] [10:5:53:104] [RuntimeExec.runCommand:147] RunTimeExec: output>
447 [main] [10:5:53:105] [RuntimeExec.runCommand:150] CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.inst.
448 [main] [10:5:53:108] [RuntimeExec.runCommand:150]
449 [main] [10:5:53:109] [RuntimeExec.runCommand:150] CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.inst.
450 [main] [10:5:53:110] [RuntimeExec.runCommand:150]
451 [main] [10:5:53:111] [RuntimeExec.runCommand:155] RunTimeExec: error>
452 [main] [10:5:53:113] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
453 [main] [10:5:53:114] [HAOperationImpl.runCommand:1232] signed exit value = 210
454 [main] [10:5:53:115] [HAOperationImpl.runCommand:1257] set status HA_RES_NOT_EXIST_ERR
455 [main] [10:5:53:117] [HAStatusOperation.run:127] Returned from executing the HA Operation
456 [main] [10:5:53:118] [HAStatusOperation.run:132] OUTPUT> CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.in
st.
457 [main] [10:5:53:119] [HAStatusOperation.run:132] OUTPUT>
458 [main] [10:5:53:120] [HAStatusOperation.run:132] OUTPUT> CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.in
st.
459 [main] [10:5:53:121] [HAStatusOperation.run:132] OUTPUT>
460 [main] [10:5:53:122] [HAStatusOperation.run:138] ERROR>
461 [main] [10:5:53:124] [LocalCommand.execute:56] LocalCommand.execute: Returned from run method
462 [main] [10:5:53:125] [ParallelServerHA.isRunningInstances:581] Stat operation failed. it could be a partial failure.
no exception thrown.
463 [main] [10:5:53:127] [StatusAction.internalDisplayInstanceStatus:708] displaying status for instance smttstdr1
464 [main] [10:5:53:129] [Instance.isEnabled:197] enabled is true
465 PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs01
466 [main] [10:5:53:143] [StatusAction.internalDisplayInstanceStatus:708] displaying status for instance smttstdr2
467 [main] [10:5:53:144] [Instance.isEnabled:197] enabled is true
468 PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs02 -
Server Network Address on Clustered Instance
Hi,
I am looking to configure database mirroring and as part of this need to specify the server network address. The primary instance is on a 2 node cluster and the mirror data base is on a separate instance on a standalone server. When creating the server network
address on the clustered instance should i specify the hostname\IP address of the SQL cluster and if so do I need to do this on both nodes in the cluster?
ThanksHello.
You need to specify SQL server Virtual cluster name not specefic node IP or hostname.For outside application this virtual name acts as Single SQL server
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Deregister instance from cluster
Hi,
How can i deregister an instance from the cluster ?
thx.Hi,
The commands bellow can helps u.
$ srvctl remove instance -d your_datababase -i your_instance1
Remove instance 1 from OCR (Oracle Cluster Registry)
$ srvctl remove instance -d your_datababase -i your_instance1
Remove instance 2 from OCR (Oracle Cluster Registry)
$ srvctl remove database -d your_database
Remove the database from OCR (Oracle Cluster Registry)
$ srvctl remove service -d your_database -s your_service -i your_instance1,your_instance2
Remove the services from OCR (Oracle Cluster Registry)
$ srvctl remove nodeapps -n your_host1
Remove all node apps from node 1 do OCR (Oracle Cluster Registry)
$ srvctl remove nodeapps -n your_host2
Remove all node apps from node 2 do OCR (Oracle Cluster Registry)
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com -
I desperately need to uninstall adobe reader from my Mac book air. I sent adobe reader to trash and afterwards look for internet plugs in library but this folder is empty in my library. Can anybody help me?
I looked for plugs in in my library but the folder internet plugs in is empty
Maybe you are looking for
-
Question regarding Time Machine
I have a question about potentially backing up my iMac to two separate external hard drives using Time Machine: Because I realize Time Machine is not capable of backing up to more than one volume, i.e. you have to keep changing the Preferences settin
-
Subpixel drawing of slow-moving sprites
Hi. I've been working on an iOS game with Flash for a while. Now I'm stuck with a display problem. My game objects move very slowly and steadily and I notice pretty bad jittering/stuttering. This is GPU mode in Air 2.7, CPU mode is too slow. The caus
-
Phenomenal optimization technique!
I just discovered an amazing way of optimizing a script, which I thought I'd share. I have a script that adds line numbers to an InDesign document (www.freelancebookdesign.com under the scripting tab). It works by adding a text frame alongside each I
-
Does iphoto automatically download facebook albums?
*** you can skip the next paragraph*** I've been scanning, sorting and uploading family photos over the past few days and I'm finding iPhoto's integration with various web services ennerving. First, hundreds of megabytes of photos started uploading t
-
I want to buy an app for a gift, from i phone is it possible?
i want to buy an app for a gift, from i phone is it possible?