Showing posts with label instances. Show all posts
Showing posts with label instances. Show all posts

Tuesday, March 27, 2012

Creating Additional Instances

How do I create additional instances of any MSSQL 2005 service(specifically database and analysis) given that a default instance is present?

You just need to run setup.exe again but this time do not install it as the default instance. In stead, you install it as a named instance. Under UI, you need to choose a different instance name. If you use a command line, the parameter INSTANCENAME=<NEW INSTANCE NAME> should be use.

|||

During the instance selection screen of the install, you can also click on the button to show currently installed instances to make sure that you don't pick the same instance name again.

Thanks,
Sam Lester (MSFT)

Wednesday, March 7, 2012

creating a distributed service broker application without using certificate.

hi all,

i want to create a service broker application between two different instances.

can i achieve the dialog security and transport security with out using certificate?

like we can achieve the transport security using windows authentication (both the instances are in same domain).

so how to achieve the dialog security with out using certificates.

if any body has any link plz provide me.

Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!

No, the only option for dialog security is to use certificates.

One option is to rely entirely on transport security. Even if at the dialog level messages are not secured (signed and encrypted), the transport level will secure all the trafic (will encrypt everything).

|||

hi ,

thanks a lot fr ur reply!!!!!!

but one thing i want to know like how to rely on transport security.

because previuosly i configured master database for transport secutiry and the initiator and target database for dialog security and both using certificate.

now for this how to achieve transport security as a whole.is it necessary to create route and remote service binding?

how to achieve all this stuff?

I am very new to service broker. so plz help me in little bit details.

|||

Dialog security allows services to authenticate each other and provides end-to-end (service to service) security for SSB messages. If security is desired, it is always recommended, and is required if the path between services is not entirely controled (there are multiple hops that forward messages and some fall outside your administrative control). Dialog security encrypts only the message payload (whatever is passed in to the SEND verb) and does not encrypt the routing information (from service/to service) in order for intermediate forwarders to be able to forward the messages. The closest analogy to dialog security is S-MIME, the protocol to secure mail messages.

Transport security is basicaly encryption of the traffic between two servers (SSL). It will encrypt every single byte of traffic between the servers involved. Enabling transport security is orthogonal (unrelated) to dialog security.

If you consider just two SQL Servers instances and two services exchanging messages, the dialog security and transport security seem to overlap quite a bit. The differentiation becomes clear if you add a third SQL Server instances that acts as a forwarder between the previous two.

In your scenario if you want to rely entirely on transport security and not use dialog security you should make sure your application issues the BEGIN DIALOG verbs with the ENCRYPTION = OFF clause and there is no REMOTE SERVICE BINDING deployed. The target service must grant SEND to [public] in order to accept unsecured messages.

creating a distributed service broker application without using certificate.

hi all,

i want to create a service broker application between two different instances.

can i achieve the dialog security and transport security with out using certificate?

like we can achieve the transport security using windows authentication (both the instances are in same domain).

so how to achieve the dialog security with out using certificates.

if any body has any link plz provide me.

Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!

No, the only option for dialog security is to use certificates.

One option is to rely entirely on transport security. Even if at the dialog level messages are not secured (signed and encrypted), the transport level will secure all the trafic (will encrypt everything).

|||

hi ,

thanks a lot fr ur reply!!!!!!

but one thing i want to know like how to rely on transport security.

because previuosly i configured master database for transport secutiry and the initiator and target database for dialog security and both using certificate.

now for this how to achieve transport security as a whole.is it necessary to create route and remote service binding?

how to achieve all this stuff?

I am very new to service broker. so plz help me in little bit details.

|||

Dialog security allows services to authenticate each other and provides end-to-end (service to service) security for SSB messages. If security is desired, it is always recommended, and is required if the path between services is not entirely controled (there are multiple hops that forward messages and some fall outside your administrative control). Dialog security encrypts only the message payload (whatever is passed in to the SEND verb) and does not encrypt the routing information (from service/to service) in order for intermediate forwarders to be able to forward the messages. The closest analogy to dialog security is S-MIME, the protocol to secure mail messages.

Transport security is basicaly encryption of the traffic between two servers (SSL). It will encrypt every single byte of traffic between the servers involved. Enabling transport security is orthogonal (unrelated) to dialog security.

If you consider just two SQL Servers instances and two services exchanging messages, the dialog security and transport security seem to overlap quite a bit. The differentiation becomes clear if you add a third SQL Server instances that acts as a forwarder between the previous two.

In your scenario if you want to rely entirely on transport security and not use dialog security you should make sure your application issues the BEGIN DIALOG verbs with the ENCRYPTION = OFF clause and there is no REMOTE SERVICE BINDING deployed. The target service must grant SEND to [public] in order to accept unsecured messages.

Friday, February 24, 2012

Creating a Bottleneck.

I’m using Benchmark factory (TPC-C) on a server that has 3 instances of SQL
Server. Each instance has between 1-3 databases on it. Have set min and max
server memory to 512MB.
What I want:
When the TPC-C transactions are executed I want them to create a memory
and a disk I/O bottleneck.
Apart from the above memory setting what else can I change so that it will
result in a I/O bottleneck?
Cheers!
sqlcatz
If the SQL instance only has 512MB, you almost always get a memory and/or I/O
bottleneck with TPC-C when you configure the number of warehouses to be
larger than 10 and include sufficient number of users. If you want to
increase the I/O load, you can reduce the ratios of the read-only
transactions (OrderStatus and StockLevel) in the transaction mix. If you
don't have a really fast I/O subsystem that has a lot of cache, you should
see I/O bottleneck as long as the ffective size of the test database is
significantly larger than the memory size.
Linchi
"SQLCatz" wrote:

> I’m using Benchmark factory (TPC-C) on a server that has 3 instances of SQL
> Server. Each instance has between 1-3 databases on it. Have set min and max
> server memory to 512MB.
> What I want:
> When the TPC-C transactions are executed I want them to create a memory
> and a disk I/O bottleneck.
> Apart from the above memory setting what else can I change so that it will
> result in a I/O bottleneck?
> Cheers!
> sqlcatz
>
|||Hello Linchi!
Thank you for the suggestion.
I tried it.
Apart from getting memory related errors (expected) - and lots of deadlocks
I dont get anything else. On checking the AvgDiskQueueLength - it's just
2.73. I was expecting a much higher value. What else can I do to get the
bottleneck?
Cheers!
sqlcatz

Creating a Bottleneck.

I’m using Benchmark factory (TPC-C) on a server that has 3 instances of SQ
L
Server. Each instance has between 1-3 databases on it. Have set min and max
server memory to 512MB.
What I want:
When the TPC-C transactions are executed I want them to create a memory
and a disk I/O bottleneck.
Apart from the above memory setting what else can I change so that it will
result in a I/O bottleneck?
Cheers!
sqlcatzIf the SQL instance only has 512MB, you almost always get a memory and/or I/
O
bottleneck with TPC-C when you configure the number of warehouses to be
larger than 10 and include sufficient number of users. If you want to
increase the I/O load, you can reduce the ratios of the read-only
transactions (OrderStatus and StockLevel) in the transaction mix. If you
don't have a really fast I/O subsystem that has a lot of cache, you should
see I/O bottleneck as long as the ffective size of the test database is
significantly larger than the memory size.
Linchi
"SQLCatz" wrote:

> I’m using Benchmark factory (TPC-C) on a server that has 3 instances of
SQL
> Server. Each instance has between 1-3 databases on it. Have set min and m
ax
> server memory to 512MB.
> What I want:
> When the TPC-C transactions are executed I want them to create a memory
> and a disk I/O bottleneck.
> Apart from the above memory setting what else can I change so that it will
> result in a I/O bottleneck?
> Cheers!
> sqlcatz
>|||Hello Linchi!
Thank you for the suggestion.
I tried it.
Apart from getting memory related errors (expected) - and lots of deadlocks
I dont get anything else. On checking the AvgDiskQueueLength - it's just
2.73. I was expecting a much higher value. What else can I do to get the
bottleneck?
Cheers!
sqlcatz

Creating a Bottleneck.

Iâ'm using Benchmark factory (TPC-C) on a server that has 3 instances of SQL
Server. Each instance has between 1-3 databases on it. Have set min and max
server memory to 512MB.
What I want:
When the TPC-C transactions are executed I want them to create a memory
and a disk I/O bottleneck.
Apart from the above memory setting what else can I change so that it will
result in a I/O bottleneck?
Cheers!
sqlcatzIf the SQL instance only has 512MB, you almost always get a memory and/or I/O
bottleneck with TPC-C when you configure the number of warehouses to be
larger than 10 and include sufficient number of users. If you want to
increase the I/O load, you can reduce the ratios of the read-only
transactions (OrderStatus and StockLevel) in the transaction mix. If you
don't have a really fast I/O subsystem that has a lot of cache, you should
see I/O bottleneck as long as the ffective size of the test database is
significantly larger than the memory size.
Linchi
"SQLCatz" wrote:
> Iâ'm using Benchmark factory (TPC-C) on a server that has 3 instances of SQL
> Server. Each instance has between 1-3 databases on it. Have set min and max
> server memory to 512MB.
> What I want:
> When the TPC-C transactions are executed I want them to create a memory
> and a disk I/O bottleneck.
> Apart from the above memory setting what else can I change so that it will
> result in a I/O bottleneck?
> Cheers!
> sqlcatz
>|||Hello Linchi!
Thank you for the suggestion.
I tried it.
Apart from getting memory related errors (expected) - and lots of deadlocks
I dont get anything else. On checking the AvgDiskQueueLength - it's just
2.73. I was expecting a much higher value. What else can I do to get the
bottleneck?
Cheers!
sqlcatz