Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Step by Step Migration from Local to Web Hosting Environment
ivadenis
#1 Posted : Friday, 2 September 2011 1:05:59 PM(UTC)
ivadenis

Rank: Member

Joined: 22/11/2010(UTC)
Posts: 12
Man
Location: San Jose

Hi, guys!

Currently I'm running GSP in on the local machine in my office. We provide our clients with documents, photos and videos supporting services we performed for them. We facing some performance issues, which I assume due to the server configuration and Internet connection speed.

In particular:
-Slow video caching
-Slow files download speed

The advantages of having GSP locally is that it's easy to maintain. Our technicians create required folders on "Internal Database Directory", generate report and once QA approves it, tech copies the folders to GSP location and syncs the directories in GSP. That way we have working directory and final (clean) directory. Sometimes we don't want to serve working files to clients.

In Web Hosting Environment I would do manipulations through FTP, but in return I'm hoping to get good performance and speed!

The average size of our report is about 100mb.

My question is "What are the steps to make this transition?".


Thank you!
Roger Martin
#2 Posted : Friday, 2 September 2011 2:24:13 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

The Admin Guide has a section called 'Migrate Gallery Server Pro to a new location' that tells you what you need to do. I just reviewed it and noticed the wording could be a little clearer, so I updated it. Since it may be a while before I post the updated version of the guide, here is the revised text:

Migrate Gallery Server Pro to a new location
Follow these directions for transferring an existing installation of Gallery Server Pro to another web application. The new web application may be on the same server or a new server.

1. Copy the web application files to the destination.

2. Use Internet Information Services (IIS) Manager to configure the new directory as a web application, ensure it is running under ASP.NET 4.0 or higher, and – for IIS 5/6 – has default.aspx specified as the default document.

Note: If you encounter an error about permissions, use Windows Explorer to give the user account IIS is running under modify permission to the web directory (ex: C:\inetpub\wwwroot\galleryserverpro). Refer to the section Configuring NTFS Permissions In Microsoft Windows for more information.

3. If necessary, move your media files to the new location.

4. If you are using SQL CE, then you already copied the gallery data, since it is in the file App_Data\Galleryserverpro_Data.sdf. Skip the next step.

5. If you are using SQL Server and you need to migrate the data to another instance of SQL Server, you have a few options:

• Use the tool built in to SQL Server for detaching / backing up and re-attaching / restoring the Gallery Server Pro database. Refer to your SQL Server documentation for more information.
• Use the tool built in to SQL Server to backup and restore the database. Refer to your SQL Server documentation for more information.
• Use the backup function in Gallery Server Pro to back up the data to an XML file, then use the restore function at the destination gallery. Refer to the relevant section in this guide for creating a backup file and restoring it.

6. If necessary, update the SQL Server connection string in web.config.

7. Use your web browser to navigate to your new gallery. If the media files are stored in a new location, you may need to update Gallery Server Pro so that it knows where your files are. This is on the Media Objects - General page in the Site administration console.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
hlee87
#3 Posted : Monday, 12 September 2011 5:45:43 AM(UTC)
Rank: Member

Joined: 10/09/2011(UTC)
Posts: 5
Location: Gosport

Thanks for posting the steps. At the moment I am also planning to migrate from local to web hosting environment. I am not quite sure how I can do that but I think the steps will help me. If I have problems I will definitely come back to you and ask for help.
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.