Remove decommissioned SQL database from SCOM
Hi,
In SCOM 2007 R2, we have few SQL databases which have been decommissioned & removed but, they are still in Healthy state in SCOM.
How can I remove these entries from SCOM? I want to remove only the databases.
TIA.
Try this -
1) Log in to those SQL servers
2) Stop System center management(SCOM health) service.
3) Rename Health Service State folder located at "c:\programfiles\system center operations manager\agent\Health Service State:.
4) Restart System center management(SCOM health) service.
5) Wait for few minutes so that discoveries can run again and then check in the SCOM console. Those Databases should go away now.
Please let me know if this did not help or if this is not what you are looking for.
Thanks, S K Agrawal
Similar Messages
-
Hi, How to move SQL database from one location to another location i.e. from C' drive to D' drive ? please share some link.
Thanks and Regards, Rangnath MaliHi Rangnath,
According to your description, my understanding is that you want to move databased from C drive to D drive.
You can detach Database so that the files become independent, cut and paste the files from source to destination and attach again.
There are two similar posts for your reference:
http://mssqltalks.wordpress.com/2013/02/28/how-to-move-database-files-from-one-drive-to-another-or-from-one-location-to-another-in-sql-server/
http://stackoverflow.com/questions/6584938/move-sql-server-2008-database-files-to-a-new-folder-location
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Best
practice to remove content databases from SharePoint 2007 without any Farm
impact <o:p></o:p>Hi ,
For removing a content database from a Web application, you can take steps as below:
1.On the Manage Content Databases page, click the content database that you want to remove.
2.On the Manage Content Database Settings page, in the Remove Content Database section, select the Remove content database check box.
If any sites are currently using this database, a message box appears. Click OK to indicate that you want to proceed with the removal.
3.Click OK.
Reference:
http://technet.microsoft.com/en-us/library/cc262440(v=office.12).aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Can I connect Azure SQL Database from Project Siena ?
Can I connect Azure SQL Database from Project Siena ?
I want to connect Azure SQL Database of Office 365 SharePoint's Access App from Project Siena.
Access App's Database is Azure SQL Database.
and can connect to Excel/PowerBI/etc.
Access App's Database can connect from specific location / any locations.
Access App's Database can allow read-only connection / read-write connection.
I want to create Windows App connected to Access App's Database.
Regards,
Yoshihiro Kawabata.Hi Yoshihiro,
Could you share more with us about the high level scenario for what you are trying to accomplish offline? We can discuss further at
[email protected]
Once we are done, we will definitely share our findings with the community.
Thanks! -
Transferring 3 SQL databases from both SQL Express 2005 and Standard to a new physical server
I am trying to figure out the best method for transferring SQL 2005 databases from 2 different physical servers to a new server running windows server 2008 64bit.
I own a fully registered copy of Microsoft SQL 2005 32bit Standard Edition. However all of my SQL databases together are only 4GB in size thereby making 2008 SQL Express an option.
Here is the breakdown of the servers:
1) (Old Server1) Windows 2003 Server 32bit - SQL Express 2005 32bit
2) (Old Server2) Windows 2003 Server 32bit - SQL Server 2005 32bit Standard
3) (New Server) Windows 2008 Server 64bit - (Not sure which version to install)
**The objective is to migrate 2 SQL databases from Old Server1 and 1 SQL database from Old Server 2 to the New Server. What version should I install on the new server??? Do I go with 2008 express or install the 2005 Standard Edition?
Pending your response to which version to install, what are the correct steps to migrate (which I have never done before) the databases from both of these servers to the new server?
I have researched this online and I think this particular situation is unique in that I am transferring from both SQL Express and Standard from 2 different physical servers to a 2008 server that is 64bit. I cannot find anything online that I feel confident
in trying. Please help me, as I have this migration deadline of this weekend. Any help is appreciated. Thanks.Hello,
You may choose between using backup/restore or using detach/attach methods to migrate the databases.
https://msdn.microsoft.com/en-us/library/ms187858(v=sql.90).aspx
You can transfer logins using the following article.
http://support.microsoft.com/en-us/kb/918992
To decide if you migrate to Express Edition or to another edition, please review the features supported by each edition. For instance, Express Edition does not support jobs (SQL Server Agent is not available).
https://msdn.microsoft.com/en-us/library/cc645993(v=sql.100).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Connecting to an Azure SQL Database from a Windows C# Form
Hi,
Is it possible to connect to an SQL database in Azure from Visual Studio C# 2010 or 2012? If so how is this done. Is it the same as if you were connecting to SQL Express database with the use of a connection string? Any directions or tutorials would be of
great help!
Thanks!Hi,
>>Thanks for the reply Paul, That is disappointing. I am trying to get my students to create a C# application that will connect with a database in Azure. Is there another approach besides SQL that I could use?
Using SQL Azure will work fine (see below), if the students are familiar with SQL Server and SQL Databases it will be great for them to see how it works in the cloud. As an alternative you could explore Azure Storage, using Table Storage, Blob Storage or
the new Document Database features.
>>Azure enforces a firewall that prevents direct external access to the database server. You can add a firewall rule allowing external access, but the rules only support connecting from a fixed IP address because you have to specify the numeric IP
from which connection will be allowed.
You can specify ranges here, so you could cover a range of IP addresses. You can even specify 0.0.0.0 to 255.255.255.255 and allow all IP addresses, this could be an option if you don't know where the students will be connecting from, and you are using a
database for the exercise where you don't care too much about the security.
When I have run classes I typically use an IP address range, for example XXX.YYY.ZZZ.0 to XXX.YYY.ZZZ.255 if the students are accessing from the same classroom, and the external IP address may vary. You may find that they all have the same external IP address
if they are on the same internal network.
Also, with many students accessing the same database, you may get throttling if they place a lot of load on it. This is cool, as you can also teach them about transient fault handling and resource throttling :-).
Regards,
Alan
Free e-book: Windows Azure Service Bus Developer Guide. -
Querying an SQL Database from ABAP
Is is possible from within ABAP in R/3 (or NetWeaver) to query a non-SAP database? For example, can I write ABAP code which will go after data in say a non SAP DB2 database at some remote location?
KevinHi
Connecting to an External database from SAP
Step 1: Create an entry for the External database in DBCON table using Trxn: DBCA.
Table: DBCON (Description of Database Connections)
Field Name Description Value (For: E.g.:)
CON_NAME Logical name for a database connection RAJ
DBMS Database system MSS
USER_NAME Database user <username>
PASSWORD Password for setting up the connection to the database <pwd>/<pwd>
CON_ENV Database-specific information for a database connection MSSQL_SERVER=depotserver MSSQL_DBNAME=HOF_INDORE
DB_RECO Availability type for an open database connect
Step 2: Now you can write code to connect to the external database
Your Sample code can be something like this
DATA: BEGIN OF wa,
c_locid(3),
c_locname(50),
c_locstate(5),
END OF wa.
EXEC SQL.
CONNECT TO 'RAJ' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
*- Get the data from MS-SQL Server
EXEC SQL.
open C1 for
select
loc_id,
loc_name,
loc_state
from ho_loc_mast
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_locstate
ENDEXEC.
IF sy-subrc = 0.
PERFORM loop_output.
ELSE.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE C1
ENDEXEC.
*& Form LOOP_OUTPUT
Output
FORM loop_output .
WRITE: /5 wa-c_locid, 10 wa-c_locname, 65 wa-c_locstate.
CLEAR wa.
ENDFORM. " LOOP_OUTPUT
Regards
Raj -
Protect SQL database from untrusted domain
Hello,
I have some problems protecting a SQL 2008 SP3 database from untrusted domain with DPM 2012 R2 RU3.
When I try to protect the databases, it does not appear in the tree to select them, also when I try to recover a database into untrusted domain it doesnt appear in the tree.
The NT Authority\System has sysadmin permissions, I have all TCP ports open and the following UDP ports: 389,88,netbios-dgm,netbios-ns.
Any idea ?Hi
Is this sql Server part of Sql Server Cluster or a standalone Sql Server?
Regards, Trinadh [MSFT] This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights. If you found the reply helpful, please &quot;MARK IT AS ANSWER&quot;. Looking for source of information for DPM?
http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx -
How to Create SQL "Databases" from LV?
Is there a way to create SQL Databases (not just tables) from inside LabVIEW??? This sould be fairly easy...
All I know is what is in the SQL Server help file. There is the SQL command "CREATE DATABASE". An example is:
USE master
GO
CREATE DATABASE Sales
ON
( NAME = Sales_dat,
FILENAME = 'c:\program files\microsoft sql server\mssql\data\saledat.mdf',
SIZE = 10,
MAXSIZE = 50,
FILEGROWTH = 5 )
LOG ON
( NAME = 'Sales_log',
FILENAME = 'c:\program files\microsoft sql server\mssql\data\salelog.ldf',
SIZE = 5MB,
MAXSIZE = 25MB,
FILEGROWTH = 5MB )
GO
You have to have the correct permissions in order to do this and the server itself has to exist. I'm assuming that you already have the Database Connectivity Toolkit, LabSQL (http://www.jeffreytravis.com/lost/labsql.html), or are using your own ADO routines. -
Troubles Exporting SQL databases from Azure
1. If I connect via SQL Server Management Studio and choose Export Data Tier Application to local disk, it never ends
2. If I export via Azure web portal, it takes few hours
3. The only way that works is using SQL Server Management Studio and exporting to Azure container and then downloading it and importing via SQL Server Management Studio, seems like a lot of hassle
I need Azure SQL database to be transferred daily to my local machine, preferably automatically. How can I do it?Hi Alex,
Since the issue regards Windows Azure SQL Database, I will help you move the question to the related forums, It is appropriate and more experts will assist you.
As Olaf’s post, if you want to migrate databases between the SQL Server Database Engine and Windows Azure SQL Database, you can use the Windows Azure SQL Database Import and Export operations to copy databases between two different SQL Database servers.
In addition, you can also use the Windows Azure SQL Database copy database feature to make a consistent copy of a database, and perform the export from the copy. For more information, see
Copying Databases in Windows Azure SQL Database. And you also can migrate a database by using the generate scripts wizard. For more information, see:
How to: Migrate a Database by Using the Generate Scripts Wizard (Windows Azure SQL Database)
According to your description, you want to migrate database daily and automatically, you can configure automated exports to schedule export operations for a SQL database, and to specify the frequency of export operations, and to set the retention period
to store export files. Also you can set data sync between SQL Server and Windows Azure SQL database, configure bi-directional for database. For more information, see:
Windows Azure SQL Data Sync.
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
How to remove(Delete) multiple agents from SCOM console
Hello Experts,
We are using scom 2012 and monitoring around 10000 agents in our environment. Now Windows team decomissioned around 1000 server/clients and we need to remove those agents(grayed agents) from console.
It is very difficult to find and delete the agent one by one. Is there any script to remove/delete the agent from console?
Thanks in advance.
Regards
KarthickHi,
In addition,several ways to remove SCOM agent if SCOM console fails.
1. Add/Remove Programs (appwiz.cpl)
2. Run (MsiExec.exe /uninstall {E7600A9C-6782-4221-984E-AB89C780DC2D} /quiet)
3. psexec -d MsiExec.exe /uninstall {E7600A9C-6782-4221-984E-AB89C780DC2D} /quiet *
Here are some links about using PowerShell remove Agents:
- http://support.micro...b/2626752/en-us
- http://technet.micro...y/hh545186.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I have a web app that is backed by a an Azure SQL Database. The problem is that I had multiple issues when connecting to the database mainly when trying to establish a connection, or timeouts. This is the log I just encountered when trying to use the web
app.
[Win32Exception (0x80004005): The wait operation timed out]
[SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21970; handshake=1; ]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +671
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1012
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6712291
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
System.Data.SqlClient.SqlConnection.Open() +229
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102Hi Affar2k,
According to your description, we need to verify if there is no network issue and the Sqlclient version is older than .NET 4.5. You can try to connect to the Windows Azure SQL database via SSMS and check if it can run well. When you
connect to the SQL Azure database via ADO.NET, you need to verify that the server name and passwords are right in the connection string.
For more information, you can review the following article about how to connect to Windows Azure SQL Database using ADO.NET.
http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Remove network device inventory from SCOM database
Hello Gurus
I have a quick question. I think one of the internal connectors in my SCOM environment has got deleted by mistake. As a result all the network devices that were being monitored previously has now disappeared. I believe because they were present in the database,
I can't discover them now. Is it possible somehow to list those network devices from the database, and then delete them, by using powershell and/or SQL.
Any help in this regard will be greatly appreciated.
Regards,You can delete them by:
In the Discovery Rules option under the Administration Tab, you will be able to see all the network devices that are discovered. This shows the devices that are discovered and currently getting monitored in SCOM. You can select multiple devices and then
remove them.
Then Run in powershell Get-RemotelyManagedDevice to check that all Network devices deleted.
you can also check below link to remove/restore network device
http://technet.microsoft.com/en-us/library/hh212795.aspx
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer" -
Connecting to an Azure SQL Database from VB6
We have an old Application that is accessing a database located on a client site. We currently access this database using ADO and SQL Authentication. Would it be possible to migrate to Azure SQL Server and connect to it from the VB6 Application by just changing
the connection string?Yes, but you have to make sure that you are not using any features that SQL Azure doesn't support. And make sure that the SQL Azure server address is open for connection from outside. You also need to be concerned about data security.
Frank -
How to Remove Decommissioned CA's from PKIVIEW Locations
Hello,
I recently decommissioned two of our Enterprise Issuing Certificate Authorities from our PKI environment. I have removed the decommissioned CA http references on each of our existing CA Management Console's Extensions tabs and ensured that my CA Exchange
certs do not have the decommissioned CDP locations referenced. I have restarted all CAs, but the decommissioned servers still appear in the CDP and DeltaCRL http Locations. I've also verified they don't exist in the registry and don't exist in the NTAuthCertificates
container viewed through pkiview.msc > Enterprise PKI > Manage AD Containers.
Environment consists of Windows Server 2008 Offline Root and Policy CAs with five online Issuing CAs (which consist of two 2008 and three 2012 servers)
Any other ideas of how to get rid of the decom'd locations in pkiview.msc?
Thanks! PatrickYou need to revoke the most recent CA Exchange certificate and re-run PKIView.msc.
Vadims Podāns, aka PowerShell CryptoGuy
My weblog: en-us.sysadmins.lv
PowerShell PKI Module: pspki.codeplex.com
PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
Check out new: SSL Certificate Verifier
Check out new:
PowerShell File Checksum Integrity Verifier tool.
Maybe you are looking for
-
Can i use one hardrive for time machine and other data?
i want to buy an external drive for my macbook pro retina. i want to knwo if i were to buy an external hardrive big enought ot back up my 768 on my retina could i also put other media on it (like video and movie) without it overwriting or something l
-
Data for Classification View in Material Master
Dear all, Can someone tell where the data for classification view is stored ?? We are running a BDC and need to check whether classification view is maintained or not ?? Thanks in Advance Regards, Vivek K
-
Copy text to Windows clipboard
I need to copy text, either from a Flash textArea component or a text member, to the Windows clipboard so it can be pasted into a form field in a web page. I'm trying to streamline a data entry process and alleviating CTRL+C will be a big help. Does
-
How do I add titles to a completed movie?
I am new to imovie. I have imported a completed movie in MP4 from my previous PC. I can only add a title to the beginning of the movie, but would like to insert section titles, but since all the clips have been joined, any attempt to insert such a t
-
Drag and drop not working on Mac
By testing my extension in a Mac I noticed that drag and drop doesn't work as expected. Therefore I have created a new simple extension with only one list and a simple data provider: [Bindable] public var aData:ArrayCollection = new ArrayCollecti