Skip to content

Instantly share code, notes, and snippets.

@ramonsmits
Last active February 21, 2025 08:51
Show Gist options
  • Select an option

  • Save ramonsmits/e34f55cc2bcf11b417372e5fd4c11374 to your computer and use it in GitHub Desktop.

Select an option

Save ramonsmits/e34f55cc2bcf11b417372e5fd4c11374 to your computer and use it in GitHub Desktop.

Revisions

  1. ramonsmits revised this gist Feb 21, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@
    ## Configure instance

    1. Open RavenDB Studio http://localhost:8080/studio/index.html
    2. Create a database `audit1` and point it to a separate disk
    2. Create a database (i.e. `audit1`) and point it to a separate disk
    3. Back up the `servicecontrol.audit.exe.config`
    4. Modify `servicecontrol.audit.exe.config`:
    - Remove `<add key="ServiceControl.Audit/DBPath" value="***" />`
  2. ramonsmits revised this gist Feb 21, 2025. 1 changed file with 14 additions and 3 deletions.
    17 changes: 14 additions & 3 deletions .md
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,23 @@
    # Steps to run ServiceControl RavenDB external

    ## Install RavenDB Server

    1. Download latest 6.x RavenDB Server: https://ravendb.net/download
    2. Install as Windows service
    3. Open RavenDB Studio http://localhost:8080/studio/index.html
    4. Add the `RavenLicense.json`
    5. Create a database `audit1` and point it to a separate disk
    6. Back up the `servicecontrol.audit.exe.config`
    7. Modify `servicecontrol.audit.exe.config`:

    ## Configure instance

    1. Open RavenDB Studio http://localhost:8080/studio/index.html
    2. Create a database `audit1` and point it to a separate disk
    3. Back up the `servicecontrol.audit.exe.config`
    4. Modify `servicecontrol.audit.exe.config`:
    - Remove `<add key="ServiceControl.Audit/DBPath" value="***" />`
    - Add `<add key="ServiceControl.Audit/RavenDB/ConnectionString" value="http://localhost:8080" />`
    - Add `<add key="ServiceControl.Audit/RavenDB/DatabaseName" value="audit1" />` (use same name as step `5`)

    ## Set service dependencies

    1. Launch `cmd.exe` as an admin
    2. Run `sc.exe config Particular.ServiceControl.Audit depend= http/ravendb`
  3. ramonsmits created this gist Feb 21, 2025.
    12 changes: 12 additions & 0 deletions .md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # Steps to run ServiceControl RavenDB external

    1. Download latest 6.x RavenDB Server: https://ravendb.net/download
    2. Install as Windows service
    3. Open RavenDB Studio http://localhost:8080/studio/index.html
    4. Add the `RavenLicense.json`
    5. Create a database `audit1` and point it to a separate disk
    6. Back up the `servicecontrol.audit.exe.config`
    7. Modify `servicecontrol.audit.exe.config`:
    - Remove `<add key="ServiceControl.Audit/DBPath" value="***" />`
    - Add `<add key="ServiceControl.Audit/RavenDB/ConnectionString" value="http://localhost:8080" />`
    - Add `<add key="ServiceControl.Audit/RavenDB/DatabaseName" value="audit1" />` (use same name as step `5`)