dannieboiz 13 Posted March 6, 2014 Posted March 6, 2014 Just thinking out loud here. At the moment, I got 2 Core i7 HTPC and actually just got another Core i5 laptop sitting around that I don't ever use. One of the HTPC has MBS on and it's doing all the work. Our family of 5 is constantly using it slowing down the main htpc. Thinking, what if I added MBS on the other machines and change the ports and spread the stream and only allow a couple machines to each of the server. I'll lighten the load on the one machine. Everything is shared on a NAS with GB Ethernet.
ebr 16184 Posted March 6, 2014 Posted March 6, 2014 You can do this, you just have to do your own load balancing - as you said, point some machines to one server and the other machines to the other. You would just need to maintain configurations and plug-ins in two places too. The only other thing I'd say is to be sure only one of the servers has the metadata savers turned on or they may both start triggering each other for changes. I actually have this type of a setup because I have a production server I actually use and another one on my dev box for testing. 1
roberthleeii 61 Posted March 8, 2014 Posted March 8, 2014 Could you explain how you would go about doing this.
ebr 16184 Posted March 8, 2014 Posted March 8, 2014 Could you explain how you would go about doing this. Just install two servers on two different machines. Point them both at the same media locations then point different clients at each server to balance out the load.
Abobader 3464 Posted March 8, 2014 Posted March 8, 2014 Good day, What Ebr saying here as example: Server A = Have all your share folder path (media library) + Internet metadata fetching enable on it Server B = Have all your share folder path (media library) - Internet metadata fetching disable on it Here to do the load balance matters, profile (user) 1 direct to server A, profile (user) 2 direct to server B ... etc. My best
dannieboiz 13 Posted March 8, 2014 Author Posted March 8, 2014 also make sure you assign different port numbers for each of the server
ebr 16184 Posted March 8, 2014 Posted March 8, 2014 also make sure you assign different port numbers for each of the server They would be on different machines so you wouldn't have to have separate ports - except externally and you could take care of that at the router.
dannieboiz 13 Posted March 9, 2014 Author Posted March 9, 2014 They would be on different machines so you wouldn't have to have separate ports - except externally and you could take care of that at the router. that would be true if you are only streaming on your LAN, but you need to assign a different port to each server if you want any port forwarding to stream when you're on the go.
miket5au 0 Posted March 9, 2014 Posted March 9, 2014 that would be true if you are only streaming on your LAN, but you need to assign a different port to each server if you want any port forwarding to stream when you're on the go. Doesn't port forwarding redirect from the external port to "any" internal port? So you can use the same port on all the MB servers and have several external ports redirected to different internal machine + port combinations. Wouldn't the upload speed on your internet control the amount of load on your server (built in throttling unless you are on a 100/40 NBN plan).
ebr 16184 Posted March 9, 2014 Posted March 9, 2014 that would be true if you are only streaming on your LAN, but you need to assign a different port to each server if you want any port forwarding to stream when you're on the go. As I said, you could take care of this on the router. You would define a different external port to forward to the other machine on the proper port.
dannieboiz 13 Posted March 9, 2014 Author Posted March 9, 2014 (edited) I'm really confused now. Maybe we're talking about different things? Assuming that everyone is not at home and watching something from a remote location. I have a 30Mbps Cable connection with an LTE failover & auto load balancing connection at home so it's more than enough. What we're talking about here is load balancing the hardware. Lets take this example and see how to properly configure it. This is how I would set mine up. Server A: 192.168.1.101:8096 Server B: 192.168.1.102:8097 Server C: 192.168.1.103:8098 My router would have those ports forwarded to the associating IP address Lets split my family members into 3 groups of users and call them 1,2 and 3.To load balance,here's how I would configure the users. Group1 devices set to myhomeURL.com:8096/mediabrowser/dashboard/login.html Group2 devices set to myhomeURL.com:8097/mediabrowser/dashboard/login.html Group3 devices set to myhomeURL.com:8098/mediabrowser/dashboard/login.html Am I doing it the hard way? On the netgear routers, that's our port forwarding options. Edited March 9, 2014 by dannieboiz
ebr 16184 Posted March 9, 2014 Posted March 9, 2014 Hmmm.... it appears your router does not allow you to translate the port. Mine does:
Danee 57 Posted March 9, 2014 Posted March 9, 2014 (edited) Seeing that configuration page makes me think you cannot (on that router) map a particular 'outside' port to a different 'inside' port, so yes, in your situation your 3 servers would be needing different ports. There are router however that can take 3 different outside ports and map these to 3 identical ports on different internal ip addresses. Hth. Edit: I was typing this while @@ebr posted the screenshot which is a great example of what I try to explain in my last sentence Edited March 9, 2014 by Danee
ebr 16184 Posted March 9, 2014 Posted March 9, 2014 Oh wait - I see what the issue is - you are in Port-range forwarding which, obviously, cannot translate. Is there an option for "Single Port Forwarding" in your router configuration?
dannieboiz 13 Posted March 9, 2014 Author Posted March 9, 2014 EBW, The interface of your router looks very similar to an SMC router. That might be the reason why you have PAT. Most consumer grade routers does not include port address translation. So for an average home users the only way to make it work is assigning multiple ports like in my case. 1
Solution ebr 16184 Posted March 9, 2014 Solution Posted March 9, 2014 Okay. Mine is a Linksys Smart Wifi router. Not top of the line but also not bottom. In any case, obviously, some routers will be able to and others not so, as you said, depending on that capability, you may need to use different ports for external access. 1
SilentAssassin 96 Posted March 10, 2014 Posted March 10, 2014 What I want to know is if the HTPC is a Core i7 why is it even being slowed down. My server is only a Pentium dual core and I can support two streaming users. What is the likely hood all five people will be connecting at the same time? Could the spare i5 device be used as a designated server and that way you're not slowing a HTPC. The HTPC's will connect to the server using MBC or MBT so they will not put any strain on the server.
dannieboiz 13 Posted March 10, 2014 Author Posted March 10, 2014 What I want to know is if the HTPC is a Core i7 why is it even being slowed down. My server is only a Pentium dual core and I can support two streaming users. What is the likely hood all five people will be connecting at the same time? Could the spare i5 device be used as a designated server and that way you're not slowing a HTPC. The HTPC's will connect to the server using MBC or MBT so they will not put any strain on the server. When you're using mbc or mbt, mbs doesn't do any transcoding. Hence you need to have codecs when you install mbc. When streaming for clients like browsers and android and what not, mbs needs to transcode the streams so that its playable on the browser.
SilentAssassin 96 Posted March 11, 2014 Posted March 11, 2014 When you're using mbc or mbt, mbs doesn't do any transcoding. Hence you need to have codecs when you install mbc. When streaming for clients like browsers and android and what not, mbs needs to transcode the streams so that its playable on the browser. Sorry but I don't know what your point is.
mwongjay 74 Posted June 18, 2017 Posted June 18, 2017 (edited) Good day, What Ebr saying here as example: Server A = Have all your share folder path (media library) + Internet metadata fetching enable on it <--- Master server Server B = Have all your share folder path (media library) - Internet metadata fetching disable on it <--- Slave server Here to do the load balance matters, profile (user) 1 direct to server A, profile (user) 2 direct to server B ... etc. My best Is this done from the Metadata Manager? Or Library -> Movies -> Library Settings? Would be cool if someone could post exactly what changes need to be made on slave servers. TIA. Edited June 18, 2017 by mwongjay
Abobader 3464 Posted June 18, 2017 Posted June 18, 2017 Good day, Click on your library - then click on your share media folder, and disable (unchecked) all the option box there, do this for all media libraries share folders. for the slave server. Also on the slave server direct the metadata setting to the master server: Library - Advanced - Metadata path. Well I do not do that anymore, I do not know if Luke update something that the above steps not need it anymore. My best
mwongjay 74 Posted June 18, 2017 Posted June 18, 2017 Good day, Click on your library - then click on your share media folder, and disable (unchecked) all the option box there, do this for all media libraries share folders. for the slave server. Also on the slave server direct the metadata setting to the master server: Library - Advanced - Metadata path. Well I do not do that anymore, I do not know if Luke update something that the above steps not need it anymore. My best Thanks. Do you know if I should update any setting in the Metadata Manager?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now