home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
General
MP2 Custom Installer
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MJGraf" data-source="post: 1031282" data-attributes="member: 17886"><p>Yep, I'm here <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>I have to admit that I never used the installer before so I can't say anything about the installer and why it doesn't install everything where you told it. I guess @[USER=10438]chefkoch[/USER] can say more about that but I suppose, it would be helpful if you could tell what exactly was installed in which location.</p><p></p><p>The reason why I don't use the installer is that it is very easy to move MP2 around wherever you want it to be and that's what I usually do.</p><p>MP2 Client as well as MP2 Server have two "base directories" each.</p><ul> <li data-xf-list-type="ul">One is the directory in which all the executable files and dll files are located. This one is called "APPLICATION_ROOT". As a standard on a x64 system this should be a directory below "C:\Program Files (x86)\Team MediaPortal"</li> <li data-xf-list-type="ul">The second is the directory in which all the data is stored (i.e. configuration files, the database file, etc.). That is called "COMMON_APPLICATION_DATA". The standard e.g. for MP2 Client is "C:\ProgramData\Team MediaPortal\MP2-Client"</li> </ul><p>Now moving MP2 Client application files to another directory is really as easy as just copying the APPLICATION_ROOT directory with all its content and subdirectories somewhere else (don't know if this is recommended, but for me it works...). Just start the MP2-client.exe from the new location and it works.</p><p>For MP2 Server it's a little bit more complicated because this is a windows service. That means you first have to stop the service. Then use "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" to unregister the service at its current location, then copy the APPLICATION_ROOT of MP2 Server to another place and finally use InstallUtil again to register the service at the new location. Then restart the server service and it should work.</p><p></p><p>Changing the COMMON_APPLICATION_DATA directory is easy for both, MP2 Client and Server. Both should have a directory called "Default" directly in their APPLICATION_ROOT folder. In this directory you find a file called paths.xml.</p><p>For me the path.xml of my MP2 Server looks like this:</p><p></p><p></p><p>So if you want to put all the data somewhere else, just amend</p><p><Path value="<COMMON_APPLICATION_DATA>\Team MediaPortal\MP2-Server" name="DATA"/></p><p>to something like</p><p><Path value="X:\MyNewDataPath" name="DATA"/></p><p>Don't forget to stop MP2 Client and / or Server before that change and restart later. Make sure you copied any of the data you want to keep, before you change this because if MP2 starts up for the first time after you changed the paths and it doesn't find any data there, it will just generate new data with the standard values (i.e. a new and empty database file, etc.)</p><p></p><p>That's basically it...</p><p></p><p>But back to your initial assumption: If I was you, I would NOT put my database (i.e. the COMMON_APPLICATION_DATA directory) on your Raid5 because:</p><ul> <li data-xf-list-type="ul">the database requires in particular fast random access times. Your Raid5 has a random access time of 13.4ms, while your SSD has 0.2ms. So your SSD should be more than 60x faster for database use.</li> <li data-xf-list-type="ul">Your Raid 5 is not even much faster for sequential read speed. The average read speed of your SSD is 179,1MB/sec for your Raid5 it's 215,9MB/sec. So not that much of a difference.</li> <li data-xf-list-type="ul">The "burst speed" of 242,7MB/sec (SSD) vs. 3.190,3MB/sec (Raid 5) doesn't say really much. That's the maximum speed data can be transferred once it is already in the HardDisk/SSD/Raid-Controller cache. Assuming that your database will be larger than just a few MBs, the database file will not fit into the cache as a whole and so this figure is more or less irrelevant for your use case.</li> </ul><p>I would just use the Raid5 for your media files and put MP2 application files as well as MP2 data directory onto your SSD. This should give you the best performance.</p><p></p><p>Hope that helps - but nevertheless, we should check why the installer doesn't behave as it should....</p><p>Thanks for testing!</p><p>Michael</p></blockquote><p></p>
[QUOTE="MJGraf, post: 1031282, member: 17886"] Yep, I'm here :D I have to admit that I never used the installer before so I can't say anything about the installer and why it doesn't install everything where you told it. I guess @[USER=10438]chefkoch[/USER] can say more about that but I suppose, it would be helpful if you could tell what exactly was installed in which location. The reason why I don't use the installer is that it is very easy to move MP2 around wherever you want it to be and that's what I usually do. MP2 Client as well as MP2 Server have two "base directories" each. [LIST] [*]One is the directory in which all the executable files and dll files are located. This one is called "APPLICATION_ROOT". As a standard on a x64 system this should be a directory below "C:\Program Files (x86)\Team MediaPortal" [*]The second is the directory in which all the data is stored (i.e. configuration files, the database file, etc.). That is called "COMMON_APPLICATION_DATA". The standard e.g. for MP2 Client is "C:\ProgramData\Team MediaPortal\MP2-Client" [/LIST] Now moving MP2 Client application files to another directory is really as easy as just copying the APPLICATION_ROOT directory with all its content and subdirectories somewhere else (don't know if this is recommended, but for me it works...). Just start the MP2-client.exe from the new location and it works. For MP2 Server it's a little bit more complicated because this is a windows service. That means you first have to stop the service. Then use "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" to unregister the service at its current location, then copy the APPLICATION_ROOT of MP2 Server to another place and finally use InstallUtil again to register the service at the new location. Then restart the server service and it should work. Changing the COMMON_APPLICATION_DATA directory is easy for both, MP2 Client and Server. Both should have a directory called "Default" directly in their APPLICATION_ROOT folder. In this directory you find a file called paths.xml. For me the path.xml of my MP2 Server looks like this: So if you want to put all the data somewhere else, just amend <Path value="<COMMON_APPLICATION_DATA>\Team MediaPortal\MP2-Server" name="DATA"/> to something like <Path value="X:\MyNewDataPath" name="DATA"/> Don't forget to stop MP2 Client and / or Server before that change and restart later. Make sure you copied any of the data you want to keep, before you change this because if MP2 starts up for the first time after you changed the paths and it doesn't find any data there, it will just generate new data with the standard values (i.e. a new and empty database file, etc.) That's basically it... But back to your initial assumption: If I was you, I would NOT put my database (i.e. the COMMON_APPLICATION_DATA directory) on your Raid5 because: [LIST] [*]the database requires in particular fast random access times. Your Raid5 has a random access time of 13.4ms, while your SSD has 0.2ms. So your SSD should be more than 60x faster for database use. [*]Your Raid 5 is not even much faster for sequential read speed. The average read speed of your SSD is 179,1MB/sec for your Raid5 it's 215,9MB/sec. So not that much of a difference. [*]The "burst speed" of 242,7MB/sec (SSD) vs. 3.190,3MB/sec (Raid 5) doesn't say really much. That's the maximum speed data can be transferred once it is already in the HardDisk/SSD/Raid-Controller cache. Assuming that your database will be larger than just a few MBs, the database file will not fit into the cache as a whole and so this figure is more or less irrelevant for your use case. [/LIST] I would just use the Raid5 for your media files and put MP2 application files as well as MP2 data directory onto your SSD. This should give you the best performance. Hope that helps - but nevertheless, we should check why the installer doesn't behave as it should.... Thanks for testing! Michael [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
MP2 Custom Installer
Contact us
RSS
Top
Bottom