Problem with Alignment of buttons and quiz module when accessed through Loadbalancer IP

Problem with Alignment of buttons and quiz module when accessed through Loadbalancer IP

by shrikant gakhare -
Number of replies: 4

Dear Friends

I had some performance issues with h/w and I posted in the forum. Many Moodlers replied and I could solve them. Now we have new issue.

We have 3-tier architecture (2 web, 1 app, and 1 db). The application (Moodle) is configured on loadbalancer.

Problem

1. When aplication is accessed through webserver IP, everything works fine.

2. When same application is accessed through loadbalancer IP,       a. quiz does not open (Major problem)

b. the buttons (like "add course" "Assign role" etc) get aligned towards left. Actually these buttons should be in the centre of the page.

Is it due to some style sheet issue? Perhaps load balancer is not able to load style sheet properly.

What do you think could be the reason? Please note that same configuration is working fine with webserver.

Request you to provide solution.

Thanks and Regards,

Shrikant

 

 

Average of ratings: -
In reply to shrikant gakhare

Re: Problem with Alignment of buttons and quiz module when accessed through Loadbalancer IP

by shrikant gakhare -

Dear Moodle Experts,

Pls look into the issue explained above and help with resolution.

rgds,

Shrikant

In reply to shrikant gakhare

Re: Problem with Alignment of buttons and quiz module when accessed through Loadbalancer IP

by J S -

Hi

How is your LB setup to balance between the web servers?

Have you verified that both web servers are working correctly and independently of each other (minus the LB)?  

What happens if you drop web server 1 from the cluster, do things work normally?  

What happens when you drop web server 2 out from the cluster?  

Your description of the problem is kinda like walking into a doctors office and telling the doctor you dont feel good and expecting the doctor to know what is wrong without knowing  the specifics.  

If both of your web servers work fine independently of the LB then we have a pretty good idea that the LB is the source of the problem.   

good luck.

 

In reply to shrikant gakhare

Re: Problem with Alignment of buttons and quiz module when accessed through Loadbalancer IP

by Isanka Wijerathne -

Hi  Shrikant,

If Im not wrong actually your set up is not a 3 tier architecture. because you can not think moodle as a one tier. its OK.

my questions to u is

1. how did you test your LB?

2. Did you clear your cache ?

3. did you try to change your theme temporary and tested ?

4. you have 2 web servers, for testing you just add a unique hidden names inside login page in both servers, like web 1 and web 2. then try in two three computers ans check for that name. if its comes with same server. there is an issue in LB configurations

Basically, Im suspecting this may be another issue,. not the LB

 

 

 

In reply to Isanka Wijerathne

Re: Problem with Alignment of buttons and quiz module when accessed through Loadbalancer IP

by shrikant gakhare -

We have 3-tier architecture for MOODLE implemtation

Webserver (SSL/https)+ App Server (Moodle/http)+DB Server

Now we removed load balancer and installed SSL on web server. Now we are trying to access moodle thru webserver IP but problem mentioned in the post persist.

Do you see any issue with https to http communication between app and web server? Are there any settings to be done in configuration file?