Obtain the correspondence between the pool and the node in f5.

Source: Internet
Author: User
At present, we need to obtain the correspondence between the f5 pool and the node, but we have never done f5. Use commands such as bigpipehelp and bigpipepoolhelp to learn. This is the script for obtaining the corresponding link #! Binsh # Filename: Get_poolmenberlist.sh # Date: 20110719 # Author: chcan # Version1.0 # person_in_chargebi now has the requirement to obtain the corresponding relationship between the f5 pool and the node, without having done f5. Use bigpipe help, bigpipe pool help, and so on. CommandLearning. This is the script for obtaining the corresponding link #! /Bin/sh
# Filename: Get_poolmenberlist.sh
# Date: 2011/07/19
# Author: chcan
# Version 1.0
# Person_in_charge = ""
Bigpipe pool show | Grep"Pool member" | awk '{print $4}'>/config/poolmenberlist
For I in' Cat/Config/poolmenberlist'
Do
Pool = 'echo $ I | awk-F "/" '{print $1 }''
Node = 'echo $ I | awk-F "/" '{print $2 }''
# Echo $ pool $ node
Bigpipe pool $ pool members $ node session show | awk '{print $3 "" $5 $6 }'
Done
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.