Removing Database Server from Farm
In my Servers in Farm I have
SHAREPOINT_DB Microsoft SharePoint Foundation Database
SQLCL-SPOINT Microsoft Sharepoint Foundation Database
SHAREPOINT_DB - is the alias configured on all the wfe's to point to the actual database server which used to be
SQLCL-SPOINT\SHAREPOINT. We have recently migrated all the databases off of db server to a different VM SQL-SPDBP and updated all the cliconfg to point to the new server. I am not really sure WHY SLQCL-SPOINT is showing up as a database
server. All of the service applications with the exception of Usage app use the sharepoint_db alias. The Usage app is the only one that has the sqlcl-spoint/sharepoint hardcoded in the config. I will be using powershell to update that pointer
shortly. That being said .. could that cause SQLCL-SPOINT to show up in servers in farm? Is there a way to verify nothing else is looking at that server before I remove server from Central Admin?
Thank you for any replies!
If you have any database configured to use a specific SQL Server/instance/alias, that will show up in Servers in Farm.
You can verify what is being used by running:
Get-SPDatabase | Select Name,Server
If the SQL Server doesn't show up there, it can be removed.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Similar Messages
-
Best way to remove/add server from farm during LB testing
Hi All,
I've been tasked to assist dev team perform load balancing test. There will be two servers in the server farm. What is the CLI command to toggle a server out of a server farm during the test? Also what is the show command for verifying which server in the pool have the sessions?
This is the test plan:
•1. Open sessions to each of the Test servers to verify that they are working
•2. Open session to the VIP for the Test environment, and identify which server has the VIP connection
•3. Take down server #1 (assumed) of the Test environment
•4. Verify that #1 server is down, and that the VIP session switched over to #2 server with minimal interruption
•5. (consider interfaces to other systems)
•6. Start new session and verify that it goes to #2 server
•7. Bring up #1 server and take down #2 server
•8. Verify that #2 session down, and both VIP sessions switched back to #1 server
•9. (consider interfaces to other systems)
•10. Bring up #2 server
Thanks in advance,
AdilHi Adil,
To get the server out of loadbalancing equation, you can simply go to serverfarm and do "no inservice" for the server you intend to take out or you can make the probe to fail or you can simply take the server out of serverfarm by doing "no rserver .
Also, regarding your testing, if you have two servers to which traffic will be loadbalanced, connection failover will not happen. Existing connections would be dropped or RST(depending upon what you configure) and new connections would be sent to server 2. Once the server 1 comes back up, the connections would again start getting loadbalanced to both servers. You cannot have failover of connections from 1 server to another in same serverfarm.
Let me know if you have any questions.
Regards,
Kanwal -
Any ideas how to execute a .sql file on database server from java?
Any ideas how to execute a xyz.sql file (which is fisically on
database server) from java?
thanksTry
sqlplus "sys/oracletest as sysdba" @bpk.sql
Working locally, and having set the ORACLE_SID, you don't need to specify the SqlNet alias (@testdb).
Remember to put an exit at the end of the bpk.sql script. -
Removing mailbox server from Exchange 2010 DAG - Node not fully cleaned up
Hi,
We are in the process of decommissioning some old Exchange 2010 servers. I have just attempted to remove one of our mailbox servers and have received a number of errors, related to its removal from the DAG.
I have already removed the Public Folder replicas and all mailbox database copies. I then tried to evict the server from the DAG and received the following warning:
I then ran the command that was recommended, from another server and in an administrative command prompt:
I have looked in this log on both the server I ran the command on, a CAS server, and the mailbox server itself and can see no evidence of this error 2 that is listed here.
If I run the Powershell command to look at the DAG I cannot see it there any more. I am assuming that this error message might only be an issue if I was planning on re-using this server somewhere else in Exchange or perhaps adding this server to another
DAG. But I just want to decommission it.
Can anyone put my mind at rest as to whether this is a genuine concern or not. If not my next step is to uninstall Exchange 2010 from this server and turn it off.Hi Belinda,
I get the following:
[PS] C:\Windows\system32>Get-DatabaseAvailabilityGroup
Name Member Servers
Operational Servers
DAG01 {WSR-EX-01, WSR-EX-101, WSR21}
It doesn't look like that server is part of the DAG any more as far as I can see. I just can't explain that error message reported from the cluster command. As far as I can see the server is isolated. I already removed its database copies as a pre-requisite
before removing it from the DAG as per this guide:
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_27039933.html
I found a nice little script that gave reports on your Public Folder configuration and it highlighted that some of our folders were not being replicated properly across our mailbox servers. This helped me in removing these services from the server.
It is currently doing nothing at this time as far as Exchange Services are concerned. -
How to remove database name from SQL query
We have an MS SQL server with several databases that are of the same schema but have different data. We do this for testing different environments. We are using Crystal reports for the first time and we are having trouble changing the database location in the designer. If update the data source location to the same database server, but different database name, the data still comes from the original database used when creating the report. We look at the SQL query and it contains the database name and does not change when updating the data source. Therefore the data always comes from the database used when originally creating the report.
How can I remove the database name from the SQL query so the proper database is used when testing the report?Hi C F
Please ensure you have followed the procedure mentioned below:
In Crystal Reports, there are two ways to set the location of the data source your report points to, depending on your connection type.
For ODBC and Native Connections:
1. On the 'Database' menu, click 'Set Datasource Location'.
2. In the 'Current Data Source' section, click the data source to be changed. You must click each individual table in the data source one by one. If the data source is a stored procedure you will not see individual tables.
NOTE In Crystal Reports 10, XIR1, and XIR2, if you are mapping from a data source such as a stored procedure where the report designer can not determine which fields should be mapped automatically, you will see a 'Mapping' dialog box where you can manually map fields, as in the procedure cited above.
3. In the 'Replace with' section, click the data source you want the report to use.
4. Click 'Update'.
5. Close the 'Set Datasource Location' window.
The report now points to the new location.
For Native Connections Only:
1. On the 'Database' menu, click 'Set Datasource Location'.
2. In the 'Current Data Source' section, click 'Properties' to expand it and right-click 'Database Name: <path to database>'.
3. Click 'Edit' and then type the path to the
new data source location.
4. Close the 'Set Datasource Location' window.
The report now points to the new location.
Regards
Girish -
Can't remove OVM server from server pool
Hi!
I tried to remove Oracle VM server using OVM. Both have version 3.0.3
I use Add/remove wizard from server pool. Selected my single server from list and pressed OK. Nothing happend. Server still in pool.
I tried to do so when server was online, offline. Results are the same. I reinstalled OVS, but now i'm can't discover it again even i configured different name and IP address. MAC is the same and it's the reason.
So, is it any way to force delete OVS using any tool or i have to reinstall OVM and it's repository?I did it but i don't know how :)
I tried to discover re-installed server with new IP and name. This operation was failed.
I changed IP address on re-installed server to old one. And re-discovered server with old name. After that it appeared in unassigned machines list. So, i was able to delete it and also delete old server pool -
How to get Database name/IP address of the database server from forms10g
Hi everybody,
How do I get the database instance name and IP address of the database server?
I am using Foms 10g and the database server is Oracle 10g.
SukantaDear...........
Plz use this code
select SYS_CONTEXT('USERENV', 'IP_ADDRESS', 15) ipaddr from dual;
SELECT utl_inaddr.get_host_address IP ,UTL_INADDR.get_host_name NAME FROM dual;
select SYS_CONTEXT('USERENV', 'HOST') HELLO from dual;
select SYS_CONTEXT('USERENV', 'TERMINAL') HELLO from dual;
select SYS_CONTEXT('USERENV', 'OS_USER') HELLO from dual;
SELECT SYS_CONTEXT ('USERENV', 'SESSION_USER') FROM DUAL;
SELECT SYS_CONTEXT ('USERENV', 'DB_UNIQUE_NAME') FROM DUAL;
thx. -
Can't connect to the database server from localhost
Hi,
I'm having a problem I hope you can help with please!
I recently installed mysql and phpmyadmin... I can access mysql perfectly from the command line, and can access it partially through phpmyadmin although there are some restrictions that I haven't figured out how to change yet (despite editing php.ini, configure.inc.php and others), but on the whole inside phpmyadmin I can see all the databases I've uploaded with the command line and all the users are there and can be edited. Unfortunately whenever I try to connect to a mysql database using a username and password that was created in phpmyadmin (or anywhere!), I get a 'cannot connect to the database server error'. I've checked and rechecked the username, the passwords, the database names and the host names a thousand times but nothing I change is working.
Is there a special prefix my mac could be adding to the database, usernames or host names?
Thanks!Okay, don't worry!
I finally figured it out...
it needed to be 127.0.0.1 rather than localhost! -
How do i remove osx server from my mac mini and just run mac osx lion
i don'r wish to run osx server just osx lion. how do i remove the server software?
One possibility is to obtain the DMG for OS X Lion, boot from it and reinstall the client version.
In my past experience, you'll keep the OS X Lion Server recovery partition, but you will most definitely be running OS X Lion without the server software deployed.
(I'm not sure if you can uninstall the Server software from a Mac Mini Server -- this appears to be integrated with the OS) -
Manually removing Exchange Server from Exchange 2010 Organization
Hi everybody, I need some help with a problem removing my last Exchange Server 2003 (the only one now, back-end) from my mixed environment, actually I have one Exchange 2010 server with all the mailboxes, I have replicated public folders and OAB and List
Address Books to it, after that i removed my front end server from my environment but when I tryed to remove my back-end, I have the error 0x80072030 (8240) when I ran the uninstallation of Exchange from Add/remove Programs: I read
tons of articles but anyone helps (i have removed all mailboxes from that server), my last resource is removing the last Exchange Server 2003 from my mixed (2003/2010) organization, I have read articles about to remove Exchange from one server and to remove
Exchange from one site, also to remove Exchange to reinstall after, but my goal is remove Exchange at all because I have Exchange Server 2010 too and finally need to migrate to Exchange 2013 so I need to clean Exchange 2003 manually from my
organizatión.
Please somebody knows a procedure to remove Exchange Server 2003 from Active Directory and left only Exchange 2010 to be able to migrate to Exchange 2013.
thanks in advance.
Felxs
FelxHi,
Let’s begin with the following similar thread:
http://social.technet.microsoft.com/Forums/exchange/en-US/1c10c868-9b1d-43fe-afe1-d630626e2c28/exchange-2003-removal-fails-w-error-code-0x80072030-8240-there-is-no-such-object-on-the-server?forum=exchangesvrdeploylegacy
And we can check the following possible reasons:
1. HomeMDBBL attribute
http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/f0e3edd7-34e5-46b8-8061-1991aaffc30f
2. msExchHomeServerName attribute (all pointing to Exchange 2010 server)
3. the "famous" postmaster issue:
http://support.microsoft.com/kb/283089/en-us
We can also try to manually remove the old Exchange Server by:
http://support.microsoft.com/kb/833396
Thanks,
Angela Shi
TechNet Community Support -
Connection of oracle database in database server from application server
Hi,
I have two servers, one is application server and another one is database server…..
I want to connect oracle 10g database in database server to application server. In application server oracle 10g client is installed……In database server, I have set tnsnames.ora, Listener.ora …while checking in lsnrctl…the particular sid is running fine…
In application server, while I give as sqlplus
After giving username and password its showing error as
ORA-12545: Connect failed because target host or object does not exist
While surfing in net it shows check tnsnames.ora and listener.ora….. I have set the environmental variables here in application server…..
It’s connecting when I give
Sqlplus
Sql>username/password @ hostname: 1521/sid_name
Is it possible to connect with the username and password
I have set the host names in /etc/hosts….
If we are giving the hostname, port number and Sid name this connects without using tnsnames.ora…..
While pinging between two servers the connectivity is there between two servers…..
Could u pls help me out?
Thanks in advancehi,
as u said i have done that ..s.till the same problem persists...
lsnrctl>services
$ lsnrctl
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 08-FEB-2007 03:56:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "RBTT" has 1 instance(s).
Instance "RBTT", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "RBTTXDB" has 1 instance(s).
Instance "RBTT", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: emea, pid: 197076>
(ADDRESS=(PROTOCOL=tcp)(HOST=emea)(PORT=37484))
Service "RBTT_XPT" has 1 instance(s).
Instance "RBTT", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER -
How can I completely remove OSX Server from my Mavericks installation?
I moved OSX Server and the Server file from the system Library but Server still controls my File sharing with my Sonos app. It will not let my Sonos app access my music folder.
Perhaps there is a more correct way to uninstall server but just in case there isn't, if you remove this file and restart that should stop the server.
/Library/LaunchDaemons/com.apple.serverd.plist
James -
How to connect to an oracle database server from a linux server?
Hi,
I am a total newbie to oracle. At my work, I only know that there is a server with an oracle 10g database set up.
I was provided with the hostname, oracle sid, port, username and password but i don't know how to connect to it, log on to it and do things on the database.
Can anyone give me a pointer on how to get started (like how to log on to the server and start doing some simple things. )
Any help is appreciated :)
Thank youGoto your local Oracle install directory and then goto folder NETWORK/ADMIN
cd ${ORACLE_HOME}/network/admin
do you see a tnsnames.ora file there? If you edit that file in your favorite editor, you would hopefully see some entries there already setup. See if one of those entries contain the hostname, sid, port that was given to you. if it does, that name is what you will use:
$ sqlplus username/password@name_of_tns_entry_you_found_aboveif not, then just duplicate an existing entry and change the relevant settings for your database, give it a new name and use it to connect.
alternatively you can also use the "Net Configuration Assistant" application. -
Is there any patch for migrating database server from oracle to sql server
we have very large application build using oracle forms 6i
(release 2) & reports 6i & Oracle Database as back-end server.
Now we want to port our application on sql server. Is there any
patch available , so that we don't have to change anything at
application level except connection string.
currently I am using :
oca 6.0.5.35.0
sql server 2000
odbc 3.5xxx
d2k 6i(release 2)
But we have to make lot of changes at application level.
So any one can tell me about any tool, or patch for converting
without changing too much at application level.
Thanks
yogeshrefresh
-
SCCM 2012 moving site Database server from SQL 2008 R2 cluster to 2012 cluster
Hello,<o:p></o:p>
Using the SCCM 2012 setup, I get
the following errors and then it eventually fails……I’ve been uninstalled and
installed SQL native client .....still unable to move SQL database,i get this error:<o:p></o:p>
*** Failed to connect to the SQL Server, connection type: SMS ACCESS. Configuration Manager Setup 25/02/2015 21:01:03 8624 (0x21B0)
INFO: SQL Connection failed. Connection: SMS ACCESS, Type: Secure Configuration Manager Setup 25/02/2015 21:01:03 8624 (0x21B0)
*** [08001][-2146893019][Microsoft][SQL Server Native Client 11.0]SSL Provider: The certificate chain was issued by an authority that is not trusted. Configuration Manager Setup 25/02/2015 21:01:07 8624 (0x21B0)
*** [08001][-2146893019][Microsoft][SQL Server Native Client 11.0]Client unable to establish connection Configuration Manager Setup 25/02/2015 21:01:07 8624 (0x21B0)
I know that the problem is related to a certificat issue but i didn't arrived to resolve it.Have a look at this post (pay special attention to the comments):
http://blogs.technet.com/b/configurationmgr/archive/2013/04/02/how-to-move-the-configmgr-2012-site-database-to-a-new-sql-server.aspx
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude
Maybe you are looking for
-
How to have Header and body in reciever SOAP adapter channel
Hi Experts, Please help me with the following scenario. I am designing a webservice scenario and have the WSDL available . The webservice expect the SOAP message as follows <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w
-
Windows Server Backup won't progress
Hello, Recently, wbadmin on our Windows2008 std. can't complete its backup (seems breezed at the 30% -.). I tried to start wbadmin by command line but breezed (at 30%) . I also checked if there are any bad sectors on the volumes. I ran the chkdsk
-
How do you find the serial numbers of the devices that are with your account with out having the divice as it has been stolen
-
Specified driver could not be loaded due to system error 126
I have some problem connecting to Oracle through ODBC. It's an ODBC error, but I cannot find anything to help me on the web so I hope someone already encounter this problem and can answer. So I created a new Oracle Database (SID=orcl) on one of our d
-
Inquiry for photoshop elements v.8 with media kit
hi.. im grace from Philippines.. i just like to inquire if im going to buy online of software of PHOTOSHOP ELEMENTS V.8 with MEDIA KIT; how much and what will be the delivery time. thanks