Synchronize system tables between Sybase Servers

This is a discussion on Synchronize system tables between Sybase Servers within the sybase forums in Other Databases category; Hi All, I have some doubts regarding what needs to be synchronized between two sybase servers after a dump&load. My DEV servers will be completly refreshed (all user databases) and we want to replicate all the logins(passwords),roles from PROD to DEV. I believe the best thing is to BCP in some system tables from prod to dev, so like this we don't need to fix users in the user databases after a load, as all suids will match between environments. I believe I will need to do this for the follow master system tables: syslogins ...

Go Back   Database Forum > Other Databases > sybase

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 05:38 AM
Default Synchronize system tables between Sybase Servers

Hi All,

I have some doubts regarding what needs to be synchronized
between two sybase servers after a dump&load.

My DEV servers will be completly refreshed (all user
databases) and we want to replicate all the
logins(passwords),roles from PROD to DEV. I believe the best
thing is to BCP in some system tables from prod to dev, so
like this we don't need to fix users in the user databases
after a load, as all suids will match between environments.

I believe I will need to do this for the follow master
system tables:
syslogins
sysloginroles
syssrvroles
sysalternates

my doubt is about sysattributes, as only some object_types
will be needed to be bcp out, but I have no idea.

Can you suggest me the best way to have DEV server in synch
with PROD, assuming that we will copy all the login
information and roles,permissions,groups,etc...

Thanks in advance.
Regards,
Sergio
Reply With Quote
  #2  
Old 08-27-2008, 09:00 AM
Default Re: Synchronize system tables between Sybase Servers


wrote in message news:48b51299.7794.1681692777@sybase.com...
> Hi All,
>
> I have some doubts regarding what needs to be synchronized
> between two sybase servers after a dump&load.
>
> My DEV servers will be completly refreshed (all user
> databases) and we want to replicate all the
> logins(passwords),roles from PROD to DEV. I believe the best
> thing is to BCP in some system tables from prod to dev, so
> like this we don't need to fix users in the user databases
> after a load, as all suids will match between environments.
>
> I believe I will need to do this for the follow master
> system tables:
> syslogins
> sysloginroles
> syssrvroles
> sysalternates
>
> my doubt is about sysattributes, as only some object_types
> will be needed to be bcp out, but I have no idea.


Class=8, object_type='UR', attribute=2 sysattributes rows hold role
hierarchy information. Per (15.0)
http://infocenter.sybase.com/help/to...les/tables.pdf
the L, U, and GR rows might be needed as well. If the roles have passwords
then some of the PS rows may also be needed.

p.s., Anyone know what a "group role" (GR) is?

>
> Can you suggest me the best way to have DEV server in synch
> with PROD, assuming that we will copy all the login
> information and roles,permissions,groups,etc...
>
> Thanks in advance.
> Regards,
> Sergio



Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 07:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.