Showing posts with label configuring. Show all posts
Showing posts with label configuring. Show all posts

Monday, March 12, 2012

Heterogeneous Subscriber Oracle

Publisher /distributor - same server SQL Server 7.0 SP 4
Subscriber - Oracle 9.2.0.3.0
After configuring Oracle subscriber whether as a linked server or a system
DSN, I run the distribution agent and get the following error message:
"Distributor must be running in per seat (named user) licensing mode to use
this replication feature"
SQL Server is set up in per server licensing mode. Now where in al the
documentation does it say that there is this restriction, I really don't
want to change my licensing mode just to work around this one issue. Is
there something I can change in my config to make this work?
Thanks in advance
Tony.
DTS and replication are two components that require the per seat option for
the desktop version of SQL Server.
http://support.microsoft.com/default...b;en-us;207809
Exactly which version of SQL Server are you running?
"TonyL" <anonymous@.discussions.microsoft.com> wrote in message
news:uUkqsDxIEHA.3572@.TK2MSFTNGP10.phx.gbl...
> Publisher /distributor - same server SQL Server 7.0 SP 4
> Subscriber - Oracle 9.2.0.3.0
> After configuring Oracle subscriber whether as a linked server or a system
> DSN, I run the distribution agent and get the following error message:
> "Distributor must be running in per seat (named user) licensing mode to
use
> this replication feature"
> SQL Server is set up in per server licensing mode. Now where in al the
> documentation does it say that there is this restriction, I really don't
> want to change my licensing mode just to work around this one issue. Is
> there something I can change in my config to make this work?
> Thanks in advance
> Tony.
>
|||It's standard edition. This SQL server has been happily replicating data to
other SQL Servers since I set it up 4 1/2 years ago. Ths week was when I
had the first requirement to replicate to an Oracle subscriber.
"Hilary Cotter" <hilaryk@.att.net> wrote in message
news:u9fHO0xIEHA.940@.tk2msftngp13.phx.gbl...
> DTS and replication are two components that require the per seat option
for[vbcol=seagreen]
> the desktop version of SQL Server.
> http://support.microsoft.com/default...b;en-us;207809
> Exactly which version of SQL Server are you running?
>
> "TonyL" <anonymous@.discussions.microsoft.com> wrote in message
> news:uUkqsDxIEHA.3572@.TK2MSFTNGP10.phx.gbl...
system
> use
>
|||I have run into cases where it seems that the licensing info gets scrambled
on SQL 7. I think these occured when we upgraded from nt 4 to win2k.
Can you run a test where you set up a new publication and replicate locally
to perhaps the pubs or northwind database to see what happens?
"TonyL" <anonymous@.discussions.microsoft.com> wrote in message
news:uQI4r7xIEHA.1528@.TK2MSFTNGP09.phx.gbl...
> It's standard edition. This SQL server has been happily replicating data
to[vbcol=seagreen]
> other SQL Servers since I set it up 4 1/2 years ago. Ths week was when I
> had the first requirement to replicate to an Oracle subscriber.
> "Hilary Cotter" <hilaryk@.att.net> wrote in message
> news:u9fHO0xIEHA.940@.tk2msftngp13.phx.gbl...
> for
> system
to[vbcol=seagreen]
don't[vbcol=seagreen]
Is
>
|||Hilary,
I add SQL Server subscribers to publications on this server regularly, I
don't think this test will identify anything as the issue is with adding an
Oracle subscriber. I also set up a brand new publication on another SQL
Server and added an Oracle subscriber with the same result.
"Hilary Cotter" <hilaryk@.att.net> wrote in message
news:ufGquUyIEHA.2908@.TK2MSFTNGP09.phx.gbl...
> I have run into cases where it seems that the licensing info gets
scrambled
> on SQL 7. I think these occured when we upgraded from nt 4 to win2k.
> Can you run a test where you set up a new publication and replicate
locally[vbcol=seagreen]
> to perhaps the pubs or northwind database to see what happens?
> "TonyL" <anonymous@.discussions.microsoft.com> wrote in message
> news:uQI4r7xIEHA.1528@.TK2MSFTNGP09.phx.gbl...
> to
I[vbcol=seagreen]
option[vbcol=seagreen]
message:[vbcol=seagreen]
> to
the
> don't
> Is
>
|||Hi Tony,
This isn't right. Please call in and open a case with PSS and keep me in the loop so that I can track the case.
Matt
Program Manager
Microsoft SQL Server Replication
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
|||OK, after talking to PSS here is an extract from the resolution email:
"In the article Q207809, if you set up replication with configuring a SQL
7.0 (using Per Server mode ) as distributor and the subscriber is SQL 7.0
desktop edition, then you will receive the error due to license restriction.
We researched and confirmed that it is by-design that any non-SQL server
subscriber will be considered as equivalent to SQL 7.0 desktop edition
license situation. This means the server that the subscriber communicates
with must evaluate connections based on the Per-Seat licensing model. "
My point is that this is not mentioned in any documentation anywhere.
Tony.
"SqlJunkies User" <User@.-NOSPAM-SqlJunkies.com> wrote in message
news:e1spcu$IEHA.3304@.TK2MSFTNGP10.phx.gbl...
> Hi Tony,
> This isn't right. Please call in and open a case with PSS and keep me in
the loop so that I can track the case.
> Matt
> Program Manager
> Microsoft SQL Server Replication
> --
> Posted using Wimdows.net NntpNews Component -
> Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine
supports Post Alerts, Ratings, and Searching.

Friday, February 24, 2012

HELP: Installing SQl server databases

Dear all,
One of our application consist of configuring an SQL server database with
user rights to tables and preparing corresponding store procedure.
usually when we do this, we prepare the server in our test environment and
then ship the whole hardware pre configure to customers.
in some cases we do not have the customer server, so we need to do the whole
configuration on site and in cas of errors its hard to find.
is there an easy way to prepare the SQL confisuration database, store
procedure, table rights on a test PC, then do a kind of straight forward
deployement on any server running SQL ?
thanks for your help
regards
SergeHi,
You can create the customer database in your local sql server. Do all the
setups in that new database. backup the database or detach the database.
Copy the backup or MDF and LDF file and take it in a tape. Restore the files
from tape to Customer side server and
do a Database restore or Attach the MDF and LDF.
Incase if you have login an user suid mismacth use the system stored
procedure sp_change_users_login to fix.
This will ensure that all the configurations are avaiable.
Thanks
Hari
SQL Server MVP
"serge calderara" <sergecalderara@.discussions.microsoft.com> wrote in
message news:EDEAF3C8-903B-49D6-8A48-9FD1B71E379F@.microsoft.com...
> Dear all,
> One of our application consist of configuring an SQL server database with
> user rights to tables and preparing corresponding store procedure.
> usually when we do this, we prepare the server in our test environment and
> then ship the whole hardware pre configure to customers.
> in some cases we do not have the customer server, so we need to do the
> whole
> configuration on site and in cas of errors its hard to find.
> is there an easy way to prepare the SQL confisuration database, store
> procedure, table rights on a test PC, then do a kind of straight forward
> deployement on any server running SQL ?
> thanks for your help
> regards
> Serge|||I have seen the method suggested earlier about taking the mdf and ldf and
using sp_attach_Db and in most cases you should be OK ( except for
permissions.) However the risk you are taking is with the file version...
The physical files will only have a limited life span, as MS changes things
usually attach works for one release backwards...
Another way is to generate scripts... These take longer to run, but are
usually safer because basic syntax does not change that often...One thing
you might do is combine the two... In your release, generate the scripts.
Then when you are about to go and setup a db for a user, THEN run the
scripts, and take the resulting mdf and ldf...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"serge calderara" <sergecalderara@.discussions.microsoft.com> wrote in
message news:EDEAF3C8-903B-49D6-8A48-9FD1B71E379F@.microsoft.com...
> Dear all,
> One of our application consist of configuring an SQL server database with
> user rights to tables and preparing corresponding store procedure.
> usually when we do this, we prepare the server in our test environment and
> then ship the whole hardware pre configure to customers.
> in some cases we do not have the customer server, so we need to do the
> whole
> configuration on site and in cas of errors its hard to find.
> is there an easy way to prepare the SQL confisuration database, store
> procedure, table rights on a test PC, then do a kind of straight forward
> deployement on any server running SQL ?
> thanks for your help
> regards
> Serge|||I am a bit confuse as I am new in that part.
let say that my ServerA is my test server in my office on which I prepare
every thing
lets call ServerB the target server on which th final DB will run
Could you please details me which operation to do on which server?
What is the content of those MDF and LDF files ?
How to deploy rights or group from server A to ServerB at the same time
thanks and sorry to disturb
experince will come with the time :-)
serge
"Wayne Snyder" wrote:
> I have seen the method suggested earlier about taking the mdf and ldf and
> using sp_attach_Db and in most cases you should be OK ( except for
> permissions.) However the risk you are taking is with the file version...
> The physical files will only have a limited life span, as MS changes things
> usually attach works for one release backwards...
> Another way is to generate scripts... These take longer to run, but are
> usually safer because basic syntax does not change that often...One thing
> you might do is combine the two... In your release, generate the scripts.
> Then when you are about to go and setup a db for a user, THEN run the
> scripts, and take the resulting mdf and ldf...
>
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> www.mariner-usa.com
> (Please respond only to the newsgroups.)
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
> "serge calderara" <sergecalderara@.discussions.microsoft.com> wrote in
> message news:EDEAF3C8-903B-49D6-8A48-9FD1B71E379F@.microsoft.com...
> > Dear all,
> >
> > One of our application consist of configuring an SQL server database with
> > user rights to tables and preparing corresponding store procedure.
> >
> > usually when we do this, we prepare the server in our test environment and
> > then ship the whole hardware pre configure to customers.
> >
> > in some cases we do not have the customer server, so we need to do the
> > whole
> > configuration on site and in cas of errors its hard to find.
> >
> > is there an easy way to prepare the SQL confisuration database, store
> > procedure, table rights on a test PC, then do a kind of straight forward
> > deployement on any server running SQL ?
> >
> > thanks for your help
> > regards
> > Serge
>
>|||On ServerA you will prepare the database to be installed, call it DBa. Once
this is complete you have 2 choices. 1) You can dump DBa and use the
resulting dump file, or 2) you can detach DBa and use the MDF and LDF files.
Copy either the dump file or MDF and LDF files to ServerB.
If you selected the database dump option, restore DBa. See Books Online for
the syntax.
If you selected the detach option, attach DBa. Again see Books Online for
the syntax.
As mentioned in one of the earlier posts if you created any data server
logins and database users you will need to fix those up via the
sp_change_users_login stored proc. See Books Online for documentation.
"serge calderara" wrote:
> I am a bit confuse as I am new in that part.
> let say that my ServerA is my test server in my office on which I prepare
> every thing
> lets call ServerB the target server on which th final DB will run
> Could you please details me which operation to do on which server?
> What is the content of those MDF and LDF files ?
> How to deploy rights or group from server A to ServerB at the same time
> thanks and sorry to disturb
> experince will come with the time :-)
> serge
> "Wayne Snyder" wrote:
> > I have seen the method suggested earlier about taking the mdf and ldf and
> > using sp_attach_Db and in most cases you should be OK ( except for
> > permissions.) However the risk you are taking is with the file version...
> > The physical files will only have a limited life span, as MS changes things
> > usually attach works for one release backwards...
> >
> > Another way is to generate scripts... These take longer to run, but are
> > usually safer because basic syntax does not change that often...One thing
> > you might do is combine the two... In your release, generate the scripts.
> > Then when you are about to go and setup a db for a user, THEN run the
> > scripts, and take the resulting mdf and ldf...
> >
> >
> > --
> > Wayne Snyder, MCDBA, SQL Server MVP
> > Mariner, Charlotte, NC
> > www.mariner-usa.com
> > (Please respond only to the newsgroups.)
> >
> > I support the Professional Association of SQL Server (PASS) and it's
> > community of SQL Server professionals.
> > www.sqlpass.org
> >
> > "serge calderara" <sergecalderara@.discussions.microsoft.com> wrote in
> > message news:EDEAF3C8-903B-49D6-8A48-9FD1B71E379F@.microsoft.com...
> > > Dear all,
> > >
> > > One of our application consist of configuring an SQL server database with
> > > user rights to tables and preparing corresponding store procedure.
> > >
> > > usually when we do this, we prepare the server in our test environment and
> > > then ship the whole hardware pre configure to customers.
> > >
> > > in some cases we do not have the customer server, so we need to do the
> > > whole
> > > configuration on site and in cas of errors its hard to find.
> > >
> > > is there an easy way to prepare the SQL confisuration database, store
> > > procedure, table rights on a test PC, then do a kind of straight forward
> > > deployement on any server running SQL ?
> > >
> > > thanks for your help
> > > regards
> > > Serge
> >
> >
> >