Forum Discussion

anotherjoe_1066's avatar
anotherjoe_1066
Icon for Nimbostratus rankNimbostratus
Aug 10, 2010

bigpipe stderr/stdout

I noticed that a successful 'b config sync' outputs to stderr. Is this the expected behavior of bigpipe? I haven't tested any other commands.

 

 

[admin@ltm02:Standby] ~ b config sync pull &> /dev/null

 

[admin@ltm02:Standby] ~ b config sync pull 1> /dev/null

 

Checking configuration on local system and peer system...

 

Peer's IP address: 172.1.1.1

 

Saving active configuration...

 

Current configuration backed up to /var/local/ucs/cs_backup.ucs.

 

Product : BIG-IP

 

Version : 10.2.0

 

Hostname: UCS : ltm01.domain.com

 

System: ltm02.domain.com

 

Installing --shared-- configuration on host ltm02.domain.com

 

Installing configuration...

 

Post-processing...

 

Reading configuration from /config/low_profile_base.conf.

 

Reading configuration from /defaults/config_base.conf.

 

Reading configuration from /config/bigip_sys.conf.

 

Reading configuration from /config/bigip_base.conf.

 

Reading configuration from /usr/share/monitors/base_monitors.conf.

 

Reading configuration from /config/profile_base.conf.

 

Reading configuration from /config/daemon.conf.

 

Reading configuration from /config/bigip.conf.

 

Reading configuration from /config/bigip_local.conf.

 

Loading the configuration ...

 

[admin@ltm02:Standby] ~ b config sync pull 2> /dev/null

 

Configsync Mode: Pull

 

Saving temporary UCS on peer...

 

Downloading UCS from peer...

 

[admin@ltm02:Standby] ~

 

 

  • George_Watkins_'s avatar
    George_Watkins_
    Historic F5 Account
    After reproducing the stderr output I noticed there was also some info being written to stdout. It appears that this was done to separate the events that occur on the peer (stdout) from those on the unit the pull is being executed from (stderr). I ran it both ways and this is what I got:

     

     

    [root@test-ltm:Active] ~ b config sync pull 2> /dev/null

     

    Configsync Mode: Pull

     

    Saving temporary UCS on peer...

     

    Downloading UCS from peer...

     

     

    [root@test-ltm:Active] ~ b config sync pull 1> /dev/null

     

    Saving active configuration...

     

    Current configuration backed up to /var/local/ucs/cs_backup.ucs.

     

    Installing full configuration on host test-ltm

     

    Installing...

     

    Installing WAM database from UCS...

     

    Reloading configuration... It may take a few minutes...

     

    Loading WAM configuration...

     

    DB version is 9

     

    Patching WAM 9.4.2 Database

     

    Reloading WA predefined policies. .. Done.

     

    Reading configuration from /defaults/config_base.conf.

     

    Reading configuration from /config/bigip_base.conf.

     

    Reading configuration from /config/bigip_sys.conf.

     

    Reading configuration from /usr/bin/monitors/builtins/base_monitors.conf.

     

    Reading configuration from /config/profile_base.conf.

     

    Reading configuration from /config/daemon.conf.

     

    Reading configuration from /config/bigip.conf.

     

    Reading configuration from /config/bigip_local.conf.

     

    Loading the configuration ...

     

     

    [root@test-ltm:Active] ~