This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Grab a logfile from the Slave in HA

Hopefully, one of you knows of a trick with WinSCP or curl or ???

Last night, a client's Slave in 220 Hot-Standby hung during the Up2Date from 9.113 to 9.205, so I've started a Support case with Sophos.  What I was able to see was that the Up2Date log on the Slave was 49MB, yet the file on the Master was ha_utils ssh to get an opportunity to login to the Slave as loginuser.

I don't know how to manipulate WinSCP to enable me to scrape a file from the Slave.  I can curl the file to my ftp server, but I don't know how to get it directly into my workstation without going through my ftp server.

Are there any gurus out there that want to share the secret?

Cheers - Bob


This thread was automatically locked due to age.
Parents
  • Teched wins another one!

     sophos:/var/log # rsync -avz --progress up2date.log -e ssh loginuser@198.19.250.1:/home/login/
    loginuser@198.19.250.1's password:
    sending incremental file list
    up2date.log
           60815 100%   26.75MB/s    0:00:00 (xfer#1, to-check=0/1)

    sent 4593 bytes  received 31 bytes  840.73 bytes/sec
    total size is 60815  speedup is 13.15
     sophos:/var/log # exit
    logout
     loginuser@sophos:/home/login > exit
    logout
    Connection to 198.19.250.2 closed.
     sophos:/root # cd /home/login
     sophos/login # ls -l *.log
    total 72
    -rw-r--r-- 1 loginuser users 60815 Aug 29 14:49 up2date.log


    rsync goes into the bag of tricks. [:)]

    Cheers - Bob
Reply
  • Teched wins another one!

     sophos:/var/log # rsync -avz --progress up2date.log -e ssh loginuser@198.19.250.1:/home/login/
    loginuser@198.19.250.1's password:
    sending incremental file list
    up2date.log
           60815 100%   26.75MB/s    0:00:00 (xfer#1, to-check=0/1)

    sent 4593 bytes  received 31 bytes  840.73 bytes/sec
    total size is 60815  speedup is 13.15
     sophos:/var/log # exit
    logout
     loginuser@sophos:/home/login > exit
    logout
    Connection to 198.19.250.2 closed.
     sophos:/root # cd /home/login
     sophos/login # ls -l *.log
    total 72
    -rw-r--r-- 1 loginuser users 60815 Aug 29 14:49 up2date.log


    rsync goes into the bag of tricks. [:)]

    Cheers - Bob
Children
No Data