Új hozzászólás Aktív témák

  • bobsys

    addikt

    Exchange 2013 tekeri az SSD-t rendesen. Logol mindent, siman csinal 2-3 GB log filet 10-12 ora alatt ugy, hogy van 3 user. Kicsit nekifekudtem es megneztem, hogy hogyan lehetne a logokat atrakni egy masik drivera (annak a vhd fileja sima HDD-n van). Ket modszer van

    1. Junction a Sysinternalstol. Symbolic linket csinalni ket mappahoz.
    C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs
    C:\Program Files\Microsoft\Exchange Server\V15\Logging
    Persze csak ugy nem fog menni, safe mode es at kell nevezni a meglevot, a Junction appnak kell megcsinalni a mappat es utanna vissza lehet masolni ami benne volt

    2. Powershell meg config file, de nem mindent lehet atiranyitani

    $exchangeservername = $env:computername

    Set-TransportService -Identity $exchangeservername -ConnectivityLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\Connectivity"

    Set-TransportService -Identity $exchangeservername -MessageTrackingLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\MessageTracking"

    Set-TransportService -Identity $exchangeservername -ActiveUserStatisticsLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\ActiveUsersStats"

    Set-TransportService -Identity $exchangeservername -ServerStatisticsLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\ServerStats"

    Set-TransportService -Identity $exchangeservername -ReceiveProtocolLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\ProtocolLog\SmtpReceive"

    Set-TransportService -Identity $exchangeservername -RoutingTableLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\Routing"

    Set-TransportService -Identity $exchangeservername -SendProtocolLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\ProtocolLog\SmtpSend"

    Set-TransportService -Identity $exchangeservername -QueueLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\QueueViewer"

    Set-TransportService -Identity $exchangeservername -WlmLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\WLM"

    Set-TransportService -Identity $exchangeservername -PipelineTracingPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\PipelineTracing"

    Set-TransportService -Identity $exchangeservername -AgentLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\AgentLog"

    Set-FrontendTransportService -Identity $exchangeservername -AgentLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\FrontEnd\AgentLog"

    Set-FrontendTransportService -Identity $exchangeservername -ConnectivityLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\FrontEnd\Connectivity"

    Set-FrontendTransportService -Identity $exchangeservername -ReceiveProtocolLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive"

    Set-FrontendTransportService -Identity $exchangeservername -SendProtocolLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpSend"

    Set-MailboxTransportService -Identity $exchangeservername -ConnectivityLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Mailbox\Connectivity"

    Set-MailboxTransportService -Identity $exchangeservername -MailboxDeliveryAgentLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Mailbox\AgentLog\Delivery"

    Set-MailboxTransportService -Identity $exchangeservername -MailboxSubmissionAgentLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Mailbox\AgentLog\Submission"

    Set-MailboxTransportService -Identity $exchangeservername -ReceiveProtocolLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpReceive"

    Set-MailboxTransportService -Identity $exchangeservername -SendProtocolLogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpSend"

    Set-MailboxTransportService -Identity $exchangeservername -PipelineTracingPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Mailbox\PipelineTracing"

    Set-TransportService -Identity $exchangeservername -IrmLogPath "L:\Program Files\Microsoft\Exchange Server\V15\Logging\IRMLogs"

    Set-MailboxServer -Identity $exchangeservername -CalendarRepairLogPath "L:\Program Files\Microsoft\Exchange Server\V15\Logging\Calendar Repair Assistant"

    Set-MailboxServer -Identity $exchangeservername -MigrationLogFilePath "L:\Program Files\Microsoft\Exchange Server\V15\Logging\Managed Folder Assistant"

    Set-PopSettings -LogFileLocation "L:\Program Files\Microsoft\Exchange Server\V15\Logging\Pop3"

    Set-ImapSettings -LogFileLocation "L:\Program Files\Microsoft\Exchange Server\V15\Logging\Imap4"

    $EdgeSyncServiceConfigVAR=Get-EdgeSyncServiceConfig

    Set-EdgeSyncServiceConfig -Identity $EdgeSyncServiceConfigVAR.Identity -LogPath "L:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\EdgeSync"

    Es az alabbi config fileok
    MSExchangeHMWorker.exe.config
    MSExchangeHMHost.exe.config

    Letiltani a logolast a <add key="IsTraceLoggingEnabled" value="true" /> sorban lehet mig atiranyitani a
    <add key="DefaultTraceLogPath" value="C:\Program Files\Microsoft\Exchange Server\V15\Logging"/> resznel lehet, esetleg meg lehet varialni a max mappa merettel is, de a cel az volt, hogy at legyen iranyitva es ne az SSD-t hasznalja a logoknak.

    Az utolso pedig a diagnostic logging letiltasa a Task Schedulerben (\Microsoft\Windows\PLA ag), a letiltas mondjuk konkretan torli is a 2 taskot, ha kell akkor meg Powershell es szepen unloadolni lehet
    add-pssnapin Microsoft.Exchange.Management.PowerShell.Setup
    remove-perfcounters –definitionfilename “C:\Program Files\Microsoft\Exchange Server\V14\Bin\perf\AMD64\eseperf.xml”

    Az utolso amit talaltam pedig a PersistentState log. Ez vagy megy vagy nem megy, nemtudom hogy hogyan lehetne atiranyitani a Junction app nelkul. Mindenestre a konfig file neve PersistentState.xml es a \Bin\Monitoring\Config\ alatt van

    [ Szerkesztve ]

    Enterprise Admin? Kirk kapitany leszel? - Ne törődjél semmivel, egyél zsömlét kiflivel

Új hozzászólás Aktív témák