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
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
Hi,
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
Hi,
In addition to above and to your redirection query.
You can use the simple one:
when HTTP_REQUEST {
HTTP::redirect “https://[HTTP::host][HTTP::uri]”
}
Regards,
Aditya
Hi,
In addition to above and to your redirection query.
You can use the simple one:
when HTTP_REQUEST {
HTTP::redirect “https://[HTTP::host][HTTP::uri]”
}
Regards,
Aditya
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.
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
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
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
Thanks Aditya