Forum Discussion
VS configuration
Can any one help me as to how can I configure a VS with the backend server and port.
also I need to do port redirection form 80 to 443
- MvdG
Cirrus
Hi,
- Create a node or nodes. Local Traffic -> Nodes -> Node List -> Create.
- Create a pool. Local Traffic -> Poold -> Pool List -> Create.
- Add nodes to the pool on Service Port 443.
- Add a monitor to the pool.
- Create a Standard Virtual Server. Local Traffic -> Virtual Servers -> Virtual Server List -> Create.
- Select HTTP as the Service Port.
- Add a HTTP profile to the Virtual Server.
- Add a SSL Profile (Server) to the Virtual Server. For testing this can be serverssl-insecure-compatible.
- Add the Default Pool from step 2.
When creating the pool, you can select a load balancing method. You can also configure some persistency.
But the above steps should do the trick.
Good luck.
Martijn
- Aditya_Mehra
Cirrus
Hi,
In addition to above and to your redirection query.
- Create two VS with same Name and IPs but use port 443 and 80
- 443 will have all the configurations , Persistance ,Pool, Pool Members etc.
- In 80 VS add an iRule to redirect the connection to 443 VS
You can use the simple one:
when HTTP_REQUEST {
Regards,
- Aditya_248044
Nimbostratus
Hi,
In addition to above and to your redirection query.
- Create two VS with same Name and IPs but use port 443 and 80
- 443 will have all the configurations , Persistance ,Pool, Pool Members etc.
- In 80 VS add an iRule to redirect the connection to 443 VS
You can use the simple one:
when HTTP_REQUEST {
Regards,
- MvdG
Cirrus
Missed the part of the redirection.
Aditya is right. Create a second VS on port 443 and add an iRule on the port 80 VS for the redirection to port 443. This is a default iRule within the LTM iRule list: _sys_https_redirect
Do not forget to add a SSL Profile (Client) on the port 443 VS. For testing this can be clientssl-insecure-compatible.
- immu
Altostratus
Martin and Aditya really appreciate the response given by both of you...as I have 25 number of VIP's to be created can I get the cli procedure to do the above task..
Thanks Immu
- Aditya_Mehra
Cirrus
Hi Immu,
It depends on the settings of the Virtual Server and Pools. You should refer to the Traffic Management Shell (tmsh) Reference Guide for your version.
For example this is for 11.5.0 : Guide
The command to create basic VS,Pool and Nodes will be the below:
tmsh create ltm node address tmsh create ltm pool members add { : } tmsh create ltm virtual destination : pool
But there are many more parameters which you will need to add; those you can check in the Traffic Management Shell (tmsh) Reference Guide for your version.
Regards,
Aditya
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com