Forum Discussion

cjunior_138458's avatar
cjunior_138458
Icon for Altostratus rankAltostratus
Jul 28, 2017

AWS - BIGIP HA is not setting IP on interfaces when on failover

Hi, I'm trying to deploy an high availability system on EC2, but when I've tested the failover actions, the BIG-IP pair are facing issue when trying to change the float IP adressess on AWS interfaces:

IAM Policy:

{
     "Version": "2012-10-17",
     "Statement": [
         {
             "Effect": "Allow",
             "Action": [
             "ec2:describeinstancestatus",
             "ec2:describenetworkinterfaces",
             "ec2:assignprivateipaddresses"
             ],
             "Resource": "*"
         }
     ]
 }

Jul 28 11:02:21 ip-10-0-0-45 err logger: /usr/libexec/aws/aws-failover-tgactive.sh (traffic-group-1): Failed to reassign some or all address(es): 10.0.1.100 10.0.1.100 on interface eni-8de3add1

Deployment guide I've followed:

https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-ve-high-availability-amazon-ec2-12-1-0.html

Any idea?

Thank you in advance.

  • I have solved it. After debugging the "/usr/libexec/aws/aws-failover-tgactive.sh" script file, I realize that looks like virtual servers can't have same ip address as float ip address. I changed it and all becomes to work.

     

    Regards.

     

    • omar_padilla's avatar
      omar_padilla
      Icon for Altocumulus rankAltocumulus

      Hola junior, quería consultarte algo, publicar los servidores virtuales, ¿lo asociaste con una IP elástica?

      • cjunior's avatar
        cjunior
        Icon for Nacreous rankNacreous

        Hola.

        No recuerdo, pero probablemente fue solo con una IP de red privada fija.

        Saludo.