*** Best Way to Set Up VisualSVN ***

I have a very big production server in a VM with lots of web pages and SQL database code.

I want to set up VisualSVN so developers can work on the web and database code.

I have 2 options:
1) copy the production VM with all code, name this DEV-VM, and set up SVN on DEV VM
2) setup SVN on production VM so I don't have duplicate VMs that take up A LOT of space

Which option would you choose and why?
benc007Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Normally, we configure our VPN servers, as a standalone server, with plenty of internal disk space.

and then we create repositories for developers to check in and check out their code that they are developing.
1
benc007Author Commented:
Andrew - Interesting!

Is your set up like this?
PROD server
DEV server  <--- VPN  <---  developer's local computer

Does each developer work locally on their own computers and then check in / out their code to a single DEV server where all of the code is?  When the code is tested on DEV, then it's rolled out to PROD server?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
we actually have a few servers.... in our Development Team and Test Team

1. Production Server
2. Staging Server
3. Test and Dev Servers

All developers will submit code changes for revision purposes to SVN server, this allows them to checkout code to workstations, laptops from anywhere, make changes to code, and then submit those changes to SVN.

Code changes and tested on Test and Development Servers, when the change has been signed off and authorised, this also ties in with Service Desk requests for Incidents and Problems and also change control.

It then moves up to the Staging Server, where more testing is completed.... again signed off again before it's deployed to Production.

In this development framework, multiple revisions of code, can be in use at one time....e.g.

Production - Rev 1a
Staging - Rev 1b
Test and Dev - Rev 1c
1
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

benc007Author Commented:
For your test and dev servers, do all developers share the same database on your these servers?

Do you store database code (eg. stored procedures, functions, etc) in SVN?

In SVN, how do you limit the directories and file level access that each developer has access to?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
For your test and dev servers, do all developers share the same database on your these servers?

Developers have access to personal, shared and copies of production databases

Do you store database code (eg. stored procedures, functions, etc) in SVN?

Yes.

We give Developers their own Repos, and we also have Shared Repos for Larger Projects, where developers are working on joint projects/code.

Access is provided by using security based on AD Users and Groups granted on each Repo they connect to.
1
benc007Author Commented:
RE: Developers have access to personal, shared and copies of production databases

Does this mean each developer has SQL database software installed on their machine eg. laptop or do you give them access to a VM with database software pre-installed and they code and work on the VM?

How do you track bugs and how do developers communicate in joint projects / code?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Does this mean each developer has SQL database software installed on their machine eg. laptop or do you give them access to a VM with database software pre-installed and they code and work on the VM?

both.

How do you track bugs and how do developers communicate in joint projects / code?

I think this question is going off topic from the original question posted as to how to install SVN.

I believe this question has been answered, please select a solution, and please post a new question and myself or other experts will be glad to answer.
1
benc007Author Commented:
RE: Access is provided by using security based on AD Users and Groups granted on each Repo they connect to.
What access level do you give developers in AD for SVN?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Depends on the Repo, Read, Write, Read Only.

We generally create AD Groups, and then allocate the Group to the Repo.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
benc007Author Commented:
I appreciate your help. Thank you Andrew!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.