Forum Discussion

Michel_van_der_'s avatar
Michel_van_der_
Icon for Nimbostratus rankNimbostratus
Feb 14, 2006

What is 'LOGIN: Re-starting pvad'?

After I mercilessly rebuild my bigip system using iControl, and

 

I log in to check the config files, I see:

 

 

Feb 14 14:36:24 kopsildb003 LOGIN: Re-starting pvad

 

 

over and over and over (every second or so).

 

 

What is pvad? The GUI also shows that the failover state has become unknown.

 

Obviously I'm modifying something that the device is not too hapy with...

 

 

Michel

 

 

9 Replies

  • After reboot, when loggin in, the system shows:

    6: Waiting for system initialization to complete.  Enter  for prompt
    -------------------------------------------------------------
    Warning: System is not fully initialized.
             Issuing configuration changes during initialization
             phase may have unpredictable results.
    -------------------------------------------------------------

    The bigip.conf file looks OK, as does the bigip_base.conf file.

    However, the GUI shows that most configuration changes weren't loaded?

  • To answer my own question.

     

     

    I used an empty string in the profile section of the

     

    create call of a virtual server.

     

     

  • To add more confusion. This was adapted from the code Joe

     

    posted under the question: Forwarding Virtual Server example.

     

     

    Let me see if I can take that code verbatim and reproduce the

     

    code. Sorry for the running commentary.

     

  • After updating Joe's code as follows, my machine will come

     

    to a grinding halt. Any suggestions are welcome at this point:

     

    
    !/usr/bin/perl
    ----------------------------------------------------------------------------
     The contents of this file are subject to the iControl Public License
     Version 4.5 (the "License"); you may not use this file except in
     compliance with the License. You may obtain a copy of the License at
     http://www.f5.com/.
     Software distributed under the License is distributed on an "AS IS"
     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
     the License for the specific language governing rights and limitations
     under the License.
     The Original Code is iControl Code and related documentation
     distributed by F5.
     The Initial Developer of the Original Code is F5 Networks,
     Inc. Seattle, WA, USA. Portions created by F5 are Copyright (C) 1996-2003 F5 Networks,
     Inc. All Rights Reserved.  iControl (TM) is a registered trademark of F5 Networks, Inc.
     Alternatively, the contents of this file may be used under the terms
     of the GNU General Public License (the "GPL"), in which case the
     provisions of GPL are applicable instead of those above.  If you wish
     to allow use of your version of this file only under the terms of the
     GPL and not to allow others to use your version of this file under the
     License, indicate your decision by deleting the provisions above and
     replace them with the notice and other provisions required by the GPL.
     If you do not delete the provisions above, a recipient may use your
     version of this file under either the License or the GPL.
    ----------------------------------------------------------------------------
    use SOAP::Lite;
    ----------------------------------------------------------------------------
     Validate Arguments
    ----------------------------------------------------------------------------
    my $sHost = $ARGV[0];
    my $sPort = $ARGV[1];
    my $sUID = $ARGV[2];
    my $sPWD = $ARGV[3];
    my $sProtocol = "https";
    if ( ("80" eq $sPort) or ("8080" eq $sPort) )
    {
      $sProtocol = "http";
    }
    sub usage()
    {
      die ("Usage: PoolMember.pl host port uid pwd ([pool] AND [enable|disable])\n");
    }
    if ( ($sHost eq "") or ($sPort eq "") or ($sUID eq "") or ($sPWD eq "") )
    {
      usage();
    }
    ----------------------------------------------------------------------------
     Transport Information
    ----------------------------------------------------------------------------
    sub SOAP::Transport::HTTP::Client::get_basic_credentials
    {
      return "$sUID" => "$sPWD";
    }
    $VirtualServer = SOAP::Lite
      -> uri('urn:iControl:LocalLB/VirtualServer')
      -> readable(1)
      -> proxy("$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi");
    ----------------------------------------------------------------------------
     Attempt to add auth headers to avoid dual-round trip
    ----------------------------------------------------------------------------
    eval { $VirtualServer->transport->http_request->header
    (
      'Authorization' =>
      'Basic ' . MIME::Base64::encode("$sUID:$sPWD", '')
    ); };
    ----------------------------------------------------------------------------
     support for custom enum types
    ----------------------------------------------------------------------------
    sub SOAP::Deserializer::typecast
    {
      my ($self, $value, $name, $attrs, $children, $type) = @_;
      my $retval = undef;
      if ( "{urn:iControl}Common.EnabledState" == $type )
      {
        $retval = $value;
      }
      return $retval;
    }
    ----------------------------------------------------------------------------
     Main logic
    ----------------------------------------------------------------------------
    &createForwardingVirtual();
    sub createForwardingVirtual()
    {
      $VirtualServerDefinition =
      {
        name => "my_forwarding_virtual",
        address => "0.0.0.0",
        port => "0",
        protocol => "PROTOCOL_TYPE_ANY"
      };
      $wildmask = "0.0.0.0";
      $VirtualServerResource =
      {
        type => "RESOURCE_TYPE_IP_FORWARDING",
        default_pool_name => ""
      };
      $VirtualServerProfile =
      {
        profile_context => "PROFILE_CONTEXT_TYPE_ALL",
        profile_name => ""
      };
      $soapResponse = $VirtualServer->create
      (
        SOAP::Data->name(definitions => [$VirtualServerDefinition]),
        SOAP::Data->name(wildmasks => [$wildmask]),
        SOAP::Data->name(resources => [$VirtualServerResource]),
        SOAP::Data->name(profiles => [[$VirtualServerProfile]])
      );
      &checkResponse($soapResponse);
      print "Virtual Server Created!\n"
    }
    ----------------------------------------------------------------------------
     checkResponse makes sure the error isn't a SOAP error
    ----------------------------------------------------------------------------
    sub checkResponse()
    {
      my ($soapResponse) = (@_);
      if ( $soapResponse->fault )
      {
        print $soapResponse->faultcode, " ", $soapResponse->faultstring, "\n";
        exit();
      }
    }
  • I'll try to address all your posts in one.

     

     

    What is pvad? The GUI also shows that the failover state has become unknown.

     

    Obviously I'm modifying something that the device is not too hapy with...

     

     

    pvad is our packet velocity asic daemon that controls lower layer optimizations. Not sure why this is restarting.

     

     

    The bigip.conf file looks OK, as does the bigip_base.conf file.

     

     

    However, the GUI shows that most configuration changes weren't loaded?

     

     

    Did you try a "bigstart shutdown", "bigstart startup", and then a "bigpipe load". If you get no errors at this point but it still won't initialize, then you might need to contact Product Support to further diagnose this issue.

     

     

    After updating Joe's code as follows, my machine will come

     

    to a grinding halt. Any suggestions are welcome at this point:

     

     

    Define grinding halt. Does that mean that the CPU is pegged at 100%. Does that mean that configuration won't load? Does that mean that the box looks idle, but won't pass traffic. You'll need to be a bit more specific. I'll try to replicate your issue with your code, but it looks good to me at first glance.

     

     

    -Joe
  • To fix your pvad error message, it seems you must have the fastL4 profile applied when creating a forwarding virtual. The GUI enforces this but it doesn't seem that iControl does. I'll submit a CR to get this fixed.

     

     

    In the mean time, change your code to the following and you should be set.

     

     

      ...
      $VirtualServerProfile =
      {
        profile_context => "PROFILE_CONTEXT_TYPE_ALL",
        profile_name => "fastL4"
      };

     

     

    -Joe
  • I'm gettin the same thing after upgrading from 9.4.5 to 10.0.1 (the "Waiting for system initialization to complete" message) - still happening after 5 hours. Config looks ok in the web console though.
  • If there are errors at the prompt, try running 'b load' from the command line to see what is preventing the configuration from loading.

     

     

    Aaron
  • even i have the same problem when i typed "b load" it is showing as vlan1 does not exist

     

     

    pls help me to solve the issue