Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure my simple website using JAVA and apply F5 Big-IP LTM to each server??

Ren_Alcala
Cirrus
Cirrus

Hi Everyone,

 

I'm new on the F5 solution and i'm a little bit confuse on how can configure my simple website(created in Java) and apply my F5 Big-IP?? Do i need to configure inside the codes on my website??or i can configure it in the management console on F5 like including the website DNS/URL??

 

Regards,

Renato Alcala

1 ACCEPTED SOLUTION

The domain name must be configured at your DNS service provider.

Say your site should be www.my-awesome-site.com, then you need configure you DNS to point to the virtual IP you configured on the BIG-IP. Or in case there is a NAT device in front of the BIG-IP, you have to use the NATed IP.

 

If you need to redirect to some specific URL or Directory, you can do this with LTM Traffic Policies.

 

If you want your site to use SSL you have to configure a clientside SSL profile and you have to have a SSL cert + private key.

On the AskF5 youtube channel there are a couple of videos regarding SSL Certificates.

View solution in original post

10 REPLIES 10

Daniel_Wolf
Nacreous
Nacreous

Hi Renato,

 

maybe this video from the AskF5 YouTube channel, a good source for getting started, can help you:

Quick deployment A one armed load balancing configuration

It explains how to setup a BIG-IP and how to setup load balancing a single application. Don't worry, it's easy and no code changes to your app are required.

 

KR

Daniel

Ren_Alcala
Cirrus
Cirrus

Hi Daniel,

 

Thanks for the reply :). What i don't understand sir is how did the F5 know what HTML/Web Page to display when you try to access the Virtual Server IP shown in the video??Like showing Serve1 & Server2 Page??

 

Regards,

Renato

Aha, you are asking, how the BIG-IP will know what is the webpage to display? Whether it is index.html or index.php or start.htm. Right?

If your website is running on a webserver like nginx oder Apache, you will have a default document configured. When you access the location /, the webserver will know what page to show because you configured it.

The BIG-IP will not change this behaviour of the webserver.

Ren_Alcala
Cirrus
Cirrus

Hi  ,

 

yes your right, I'm just confused because he only provided an IP for his pool member and not the URL/Domain name/Directory location of his html but still it automatically show the page.. What i plan on my lab is to create a simple website(live w/ free domain name and hostserver(infinityFree)) and integrate F5 big-ip on my web application to provide SSL Load Balancing using 3 web server on my VMWare. sorry for the noob question 😅

0691T00000CnSpwQAF.png0691T00000CnSprQAF.png Regards,

Renato Alcala

 

The domain name must be configured at your DNS service provider.

Say your site should be www.my-awesome-site.com, then you need configure you DNS to point to the virtual IP you configured on the BIG-IP. Or in case there is a NAT device in front of the BIG-IP, you have to use the NATed IP.

 

If you need to redirect to some specific URL or Directory, you can do this with LTM Traffic Policies.

 

If you want your site to use SSL you have to configure a clientside SSL profile and you have to have a SSL cert + private key.

On the AskF5 youtube channel there are a couple of videos regarding SSL Certificates.

Hi  ,

 

Thanks for the information 🙂 will try it on my end to see if it is worked.

 

Regards,

Renato Alcala

Hi Sir  ,

 

Can you please help me with this if your familiar with the issue 😊. I actually planning to create an HA for both of my BIGIP servers.

Issue:

  • Not all devices synced
  • The time for my 1st and 2nd Big-Ip doesn't matched even though they have the same time-zone setup as Asia/Singapore.

Note: I don't know how to setup my NTP server, I just used the IP of my test server as NTP

0691T00000CnetvQAB.pngThank You,

Renato Alcala Jr.

Follow the steps in this KB article:

K10240: Verifying NTP peer server communications

Pay attention to firewalls blocking the communication.

 

And test & verify also the config sync communication.

K13946: Troubleshooting ConfigSync and device service clustering issues

Hi Sir  ,

 

I already applied the steps on the article that you give. But still the error still there. Please see the screenshot. Thanks for the reply sir 🙂 0691T00000Cnf5rQAB.pngRegards,

Renato

 

The reference ID you get is REFID: LOCL. The NTP REFID specifies a string of 4 ASCII characters that defines the reference identifier used by the driver. LOCL means "Undisciplined local clock". Which means you are not using a proper NTP or some local NTP.

 

You say you are in time zone Asia/Singapore? Follow this guide:

K13380: Configuring the BIG-IP system to use an NTP server from the command line (11.x - 16.x)

Use these servers, make sure you add more than one NTP to your config.

Singapore — sg.pool.ntp.org

Plus: configure DNS too, otherwise name resolution for these NTP servers will fail and time synchronization will fail too.

 

EDIT: Once the time is in sync, you can do a sync (if required with overwrite) from the active device to the standby device.