<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Migration from Alfresco Comm. 4.2.c on CentOS to Win2k8x64 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-alfresco-comm-4-2-c-on-centos-to-win2k8x64/m-p/310906#M264036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this even possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a dev box running on CentOS, but the powers that be want everything moved to a Windows environment. I'm not TOO far in that I can't start from scratch, but it would be a serious PITA. Is it possible to migrate from the Linux distro to the Windows version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it a PG_DUMPALL, alf_data copy, restore, voila! type of situation or am I heading down a dark… dark road?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2014 18:43:59 GMT</pubDate>
    <dc:creator>therev</dc:creator>
    <dc:date>2014-03-17T18:43:59Z</dc:date>
    <item>
      <title>Migration from Alfresco Comm. 4.2.c on CentOS to Win2k8x64</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-alfresco-comm-4-2-c-on-centos-to-win2k8x64/m-p/310906#M264036</link>
      <description>Is this even possible?I've got a dev box running on CentOS, but the powers that be want everything moved to a Windows environment. I'm not TOO far in that I can't start from scratch, but it would be a serious PITA. Is it possible to migrate from the Linux distro to the Windows version?Is it a PG_DUM</description>
      <pubDate>Mon, 17 Mar 2014 18:43:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-alfresco-comm-4-2-c-on-centos-to-win2k8x64/m-p/310906#M264036</guid>
      <dc:creator>therev</dc:creator>
      <dc:date>2014-03-17T18:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Alfresco Comm. 4.2.c on CentOS to Win2k8x64</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-alfresco-comm-4-2-c-on-centos-to-win2k8x64/m-p/310907#M264037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, I found this blog post that describes the upgrade procedure within Linux. It's clear and concise and works (with minor changes) for migrating from CentOS to Windows 2008 x64.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Original Blog: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.fossoffice.com/en/2012/10/31/alfresco-community-upgrade/" rel="nofollow noopener noreferrer"&gt;https://www.fossoffice.com/en/2012/10/31/alfresco-community-upgrade/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Upgrade steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Stop Alfresco server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;root@alftest:~# sh /opt/alfresco-4.2.f/alfresco.sh stop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Make a complete backup of alfresco installation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I made a full zip of the /opt/alfresco-4.2.f directory into a zip file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Turn off indexing inside the old installation (thanks to Loftux from Alfresco forum for the advise):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In /opt/alfresco-4.2.f/tomcat/shared/classes/alfresco-global.properties turn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### Solr indexing ###&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index.subsystem.name=solr&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dir.keystore=${dir.root}/keystore&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;solr.port.ssl=8443&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;into&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### Solr indexing ###&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index.subsystem.name=noindex&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dir.keystore=${dir.root}/keystore&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#solr.port.ssl=8443&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Start and stop alfresco server (throw a delay of 5 minutes between the two commands in order for the server to start properly):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;root@alftest:~# sh /opt/alfresco-4.2.f/alfresco.sh start &amp;amp;&amp;amp; sleep 300 &amp;amp;&amp;amp; sh /opt/alfresco-4.2.f/alfresco.sh stop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(the quote above consist of one command)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Start Alfresco postgresql:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;root@alftest:~# sh /opt/alfresco-4.2.f/alfresco.sh start postgresql&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Dump (backup) the entire alfresco postgresql database to a script file. The postgres user password will be asked, use the one that you gave during the Alfresco installation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;root@alftest:~# su postgres&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$ cd /opt/alfresco-4.2.f/postgresql/bin/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$ ./pg_dump -h localhost alfresco &amp;gt; /tmp/alfrescodbdump&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Password:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$ exit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Stop Alfresco postgresql:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;root@alftest:~# sh /opt/alfresco-4.2.f/alfresco.sh stop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Install the new Alfresco release on your Windows 2008 machine - make sure you install the same version of Alfresco ont he Windows server as you are migrating from on the Linux box. It is recommended to keep the same Admin Password as in the old one. Do not start Share during installation (answer “no” when asked to). Additionally, set the two Windows services (Tomcat and PostgreSQL) to start MANUALLY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Make the essential configurations inside the new installation (e.g. server’s hostname, etc) AND turn indexing off as in the corresponding step above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Start new installation’s postgresql:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start the 'alfrescoPostgreSQL' service on the Windows 2008 server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Copy your data and Alfresco dump file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Drag and drop the zip file of the Linux alfresco-4.2.f directory and the alfrescodbdump file to your windows machine. I dropped it into the C:\Temp directory and extracted the zip into C:\Temp\Alf directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Allow Trusted DB connections/logins&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This will allow you to run postgres commands without having the postgres user's password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open your pg_hba.conf file located at C:\Alfresco\alf_data\postgresql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit the authentication method so it matches the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# IPv4 local connections:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;host&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 127.0.0.1/32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trust&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Drop new installation’s database, create the new one and restore the above backed up:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open an elevated cmd prompt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cd C:\Alfresco\postgresql\bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dropdb alfresco &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Database "alfresco" will be permanently removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure? (y/n) y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Password:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;createdb -T template0 alfresco &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Password:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;psql alfresco &amp;lt; c:\Temp\alfrescodbdump&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Password:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ALTER TABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ALTER TABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REVOKE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REVOKE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GRANT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GRANT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$ exit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Stop new Alfresco postgresql:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stop the 'alfrescoPostgreSQL' service on the Windows 2008 server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Move content storage to new installation’s storage. You have a backup, remember?…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Drag and drop the contentstore contentstore.deleted directories from C:\Temp\Alf to C:\Alfresco\alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Start and stop the new alfresco server (again wait for 5 minutes between the two commands for the server to start properly):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start the 'alfrescoTomcat' service - this should also start the 'alfrescoPostgreSQL' service. Verify both are running and wait 5 minutes before stopping the 'alfrescoTomcat' service. This should also stop the 'alfrescoPostgreSQL' service. Verify both stop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Change the PostgreSQL authentication Back&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the above step where you changed the pg_hba.conf back to the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# IPv4 local connections:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;host&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 127.0.0.1/32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; md5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Make any modification (in configuration files, etc) to match your installation scheme.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- This is where I do a reboot. Sure, you can just start the services, but why not give the box a clean boot? Wait a couple of minutes for the Tomcat server to sort itself and then login to the new server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And that's it! If you have any problems, feel free to post a question or hit me up on Twitter: @spidlerc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 11:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-alfresco-comm-4-2-c-on-centos-to-win2k8x64/m-p/310907#M264037</guid>
      <dc:creator>therev</dc:creator>
      <dc:date>2014-03-27T11:46:00Z</dc:date>
    </item>
  </channel>
</rss>

