Results 1 to 6 of 6

Thread: Relocate the default content and log folder

  1. #1

    Default Relocate the default content and log folder

    Is it please possible to relocate the the default location for the Content and Log Folder of WMS. The content folder is getting big and I understand I need to move it to a partition with bigger space. Would moving this have any impact on the performance of WMS? and what is the best way of achieving this.

    Thanks.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,643

    Default

    Just change Application.xml /StorageDir. Point to any location, including mounted or mapped drive on another server.

    Richard

  3. #3

    Default

    Thanks for your prompt response Richard. I have thought about this but just remembered that on the WMS EC Servers that I use, the default location of the Storage is the home directory of a user named "wowza" I think. That is exactly what I would like to do. This will help so that I do not have to be changing location for every apps. Do you really recommend placing the log in Database? if not I also need to change the location of the Log files as well.

    Thanks.

  4. #4
    Join Date
    Dec 2007
    Posts
    25,643

    Default

    On a linux server you can move a folder then replace it with symlink with the same name pointing to the moved folder. You can do that with the /logs or /content folder, anything.

    On Windows you can just install Wowza somewhere else. Or you can uncomment and change these lines in /conf/setenv.bat:

    set WMSCONFIG_URL=
    rem set WMSAPP_HOME=C:/wms2
    rem set WMSCONFIG_HOME=C:/wms2
    Be careful. Please backup changes and have a way to restore. It will be difficult for us to sort it out if nothing works.

    And in /conf/log4j.properties you can change location of log output.

    I don't "recommend" logging to a database. It's an option that you have. Some people use it so they can have real-time access to logs, and/or blend logs from 2 or more servers.

    Richard

  5. #5

    Default

    Thanks Richard. I think I will stick to changing the Application.xml/StorageDir as you suggested earlier. It will look something like this on linux -
    /home/wowzacontent/live
    /home/wowzacontent/vod
    /home/wowzacontent/anyappsname

    Is this ok?

    Thanks.

  6. #6
    Join Date
    Dec 2007
    Posts
    25,643

    Default

    It will work if the locations exist.

    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •