Skip to content

Commit

Permalink
Updated oms agent installation routine for post install onboarding to…
Browse files Browse the repository at this point in the history
… use service-control to register the omsagent svc
  • Loading branch information
NarineM committed Sep 2, 2016
1 parent 293bfd4 commit c385634
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/OMS-Agent-for-Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ Run the omsadmin.sh command supplying the workspace id and key for your workspac
```
cd /opt/microsoft/omsagent/bin
sudo ./omsadmin.sh -w <WorkspaceID> -s <Shared Key>
sudo ./service_control enable
```

## Onboarding using a file
Expand All @@ -181,8 +182,8 @@ sudo ./omsadmin.sh -w <WorkspaceID> -s <Shared Key>
WORKSPACE_ID=<WorkspaceID>
SHARED_KEY=<Shared Key>
```
3. Restart the omsagent:
`sudo service omsagent restart`
3. Register the omsagent service and restart:
`sudo ./service_control enable`
4. The file will be deleted on successful onboarding

# Viewing Linux Data
Expand Down

0 comments on commit c385634

Please sign in to comment.