Wednesday, March 28, 2012
Is it possible to install the third instance?
I have active-passive two node cluster server, it's already installed two
instances with associated two network names and IP addresses. Is there
possible to install the third instance in this cluster server, if give the
specific network name and IP address but no physical node 3?
Regards,
-Chen
Yes. The Active-Passive, Active-Active nomenclature is left over from SQL
7.0 and no longer accurately represents the clustering capabilities of SQL
Server 2000. The short version is you can have up to 16 instances on a
cluster, regardless of the number of nodes. You can choose which instances
should be on which nodes during normal operating conditions. You do have to
have a unique network name, IP address, and disk resource for each instance.
You also need to make sure you have enough physical resources (memory, CPU,
IO capacity) on each node to handle the work load, even during a failover
condition.
The correct current terms are single-instance and multiple-instance
clusters.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Chen" <Chen@.discussions.microsoft.com> wrote in message
news:430C357E-407A-4F73-8764-DDAFD3203DC2@.microsoft.com...
> Hi everyone,
> I have active-passive two node cluster server, it's already installed two
> instances with associated two network names and IP addresses. Is there
> possible to install the third instance in this cluster server, if give the
> specific network name and IP address but no physical node 3?
> Regards,
> -Chen
>
sql
Monday, March 19, 2012
Is it possible to access data in a raw .mdf file from another database
We have a database which has crashed and only have the raw mdf file (and
associated ldf file). Can we import this data into a new database?
Gary"Gary" <gary@.ggg.com> wrote in message
news:u9kCr8xMHHA.4848@.TK2MSFTNGP04.phx.gbl...
> Hello
> We have a database which has crashed and only have the raw mdf file (and
> associated ldf file). Can we import this data into a new database?
Yes.
Make a copy and then use sp_attach_db to attach it to the server.
> Gary
>|||Gary
It could be done , but I have seen many times it did not work\
1. From a query window, set the status so that you can update the system
tables by running the following query:
use Master
go
sp_configure "allow", 1
go
reconfigure with override
go
2. Then set the status of the DB that is giving you the problem (XXXXX) into
Emergency Mode by running the following query:
update sysdatabases set status = 32768 where name = '<DBName>'
go
checkpoint
go
shutdown with nowait
go
3. Go into the data directory (MSSQL\DATA) and rename the log file
associated
the DB in question (XXXX.ldf) to some
temporary name, such as XXXX.TMP.
4. Exit the query window.
5. Then start up SQL Server from a DOS command window by issuing:
sqlservr -c -T3608 -T4022.
6. Bring up another query window and verify that the DB is in emergency mode
by issuing:
select Name, Status from Sysdatabases where name = '<DB_Name>'
7. Verify that the status is 32768. If it is, then issue the query:
dbcc traceon(3604)
dbcc rebuild_log('<DB_Name>','<log_filename>') <-- You will need
the quotation marks
REBUILD_LOG should take less than 5 minutes even on a very large
database. It should complete with the message
DBCC execution completed
8. Take the database out of bypass recovery mode by issuing the command
update sysdatabases set status = 0 where name = '<DBName>'
9. Exit the query window and then shutdown (Ctrl-C in the DOS window) and
restart SQL server. Verify the status of the
database by running DBCC NEWALLOC and DBCC CHECKDB on the database.
"Gary" <gary@.ggg.com> wrote in message
news:u9kCr8xMHHA.4848@.TK2MSFTNGP04.phx.gbl...
> Hello
> We have a database which has crashed and only have the raw mdf file (and
> associated ldf file). Can we import this data into a new database?
> Gary
>|||Greg
If the database was not properly detached (sp_detach) , it may not work .
"Greg D. Moore (Strider)" <mooregr_deleteth1s@.greenms.com> wrote in message
news:OJsKwLyMHHA.4712@.TK2MSFTNGP04.phx.gbl...
> "Gary" <gary@.ggg.com> wrote in message
> news:u9kCr8xMHHA.4848@.TK2MSFTNGP04.phx.gbl...
>> Hello
>> We have a database which has crashed and only have the raw mdf file (and
>> associated ldf file). Can we import this data into a new database?
> Yes.
> Make a copy and then use sp_attach_db to attach it to the server.
>
>> Gary
>
Is it possible to access data associated with a hyperlink in SSIS?
I need to be able to to extract the data that is returned by clicking a hyperlink. I click the link and it displays the data.
I know that SSIS has a web services task, and that appears to be a neat feature, but the link I am connecting to does not have a WSDL file or anything like that. So I think I cannot use this task.
Does anyone have a suggestion about how I might do this?
Thanks for your help,
Harold
What data that is returned by clicking a hyperlink?
What is the hyperlink hosted in?
What defines or restricts this data?
What do you expect to happen to this extracted data?
SSIS is a backend ETL tool, I cannot work out what you would expect it to do for you, in what I am guessing is some kind of web UI
|||Hello Darren,
Thanks for responding to my post.
I want to read the data that are displayed when I click a hyperlink.
When the package is executed, it should go to the hyperlink (URL) and get the data it displays.
The data that are displayed are:
var imgRates = {"ThirtyFixed":"6.298","FifteenFixed":"5.926","ThirtyFixedJumbo":"6.339","FiveOneARM":"5.831"};
I want to read that string into my package. I will then parse and store it.
Do you know if this can be done?
Thanks,
Harold
|||Your data looks to be a line of code. It doesn;t look very big, and not really what i woudl expct for an ETL source. Just write this in your programming language of choice, forget about SSIS.|||Here is some code that will go to a URL that you provide and read the content into a string.
Code Snippet
Dim webRequest As System.Net.WebRequest = System.Net.HttpWebRequest.Create(Dts.Variables("Url").Value.ToString())
Dim webResponse As System.Net.WebResponse = webRequest.GetResponse()
Dim stream As System.IO.Stream = webResponse.GetResponseStream()
Dim streamReader As New System.IO.StreamReader(stream)
Dim content As String = streamReader.ReadToEnd()
|||
Hello Jay,
The code snippet was just what I needed!
Thanks for your help, and for the others who took time to repond.
Harold