log storage location

This topic contains 8 replies, has 3 voices, and was last updated by Mikhail Mikhail 1 year, 2 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #3939
    Avatar
    leon
    Participant

    hi
    Raspberry Pi use external hard disk.
    How to save log to external hard disk?

    Thank

    #3940
    Avatar
    manjey73
    Participant

    Mount the disk to fstab and specify the path to save the databases to the appropriate folder.

    #3944
    Mikhail
    Mikhail
    Moderator

    Hi,
    What logs do you need to save to the external disk?

    #3945
    Avatar
    leon
    Participant

    Hi Participant
    Thank!

    Hi Mikhail
    Hope that all logs can be stored on an external hard drive because the SD card is easier to fault.

    #3948
    Avatar
    manjey73
    Participant

    install_with_xsp.txt or 13 file install_with_apache.txt

    10. In case of using SD card, protect it by moving frequently used folders to RAM.
    Skip this step if you use a regular HDD.
    Add the lines below to /etc/fstab

    tmpfs /tmp tmpfs defaults,noatime,size=50m 0 0
    tmpfs /var/log tmpfs defaults,noatime,size=50m 0 0
    tmpfs /opt/scada/ScadaComm/Log tmpfs defaults,noatime,size=100m 0 0
    tmpfs /opt/scada/ScadaServer/Log tmpfs defaults,noatime,size=10m 0 0
    tmpfs /opt/scada/ScadaWeb/log tmpfs defaults,noatime,size=10m 0 0
    tmpfs /opt/scada/ArchiveDAT/Cur tmpfs defaults,noatime,size=10m 0 0

    #3949
    Avatar
    leon
    Participant

    Main save DI/O AI/O logs.

    • This reply was modified 1 year, 2 months ago by Avatar leon.
    • This reply was modified 1 year, 2 months ago by Avatar leon.
    #3953
    Mikhail
    Mikhail
    Moderator

    You can set the path of data archives in the SCADA-Server settings:
    SCADA/ScadaServer/Config/ScadaServerSvcConfig.xml

    #3956
    Avatar
    leon
    Participant

    Hi Mikhail
    Is this correct?

    View post on imgur.com

    Hi manjey73
    Thank!

    #3958
    Mikhail
    Mikhail
    Moderator

    Hi,
    Probably. You should test.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.