Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Agent.ps1 ` -Release 2.5.2 ` -HomeDir /opt/sos-berlin.com/js7/agent ` -Data /var/sos-berlin.com/js7/agent ` -HttpPort 4445 ` -MakeDirs # downloads the release tarball from the SOS Web Site # suggests use of separate home and data directories for configuration data, log data etc. # creates the home and data directories if they do not exist # extracts the tarball to the Agent's home directory # populates the data directory from initial configuration files # operates the Agent for HTTP port 4445 |
Install or Update
...
parallel Agent
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Agent.ps1 ` -HomeDir /opt/sos-berlin.com/js7/agent ` -Data /var/sos-berlin.com/js7/agent_44445 ` -HttpPort 44445 ` -MakeDirs ` -UseInstall # makes use of an existing Agent installation in the home directory # creates the data directory if it does not exist # populates the data directory from initial configuration files # operates the Agent for HTTP port 44445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball C:\tmp\js7_agent_windows.2.5.2.zip ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # creates the home directory if it does not exist # extracts the tarball to the Agent's home directory # operates the Agent for HTTP port 4445 |
Install or Update
...
parallel Agent
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Agent.ps1 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_44445" ` -HttpPort 44445 ` -MakeDirs ` -UseInstall # makes use of an existing Agent installation in the home directory # creates the data directory if it does not exist # populates the data directory from initial configuration files # operates the Agent for HTTP port 44445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Agent.ps1 ` -HomeDir /opt/sos-berlin.com/js7/agent ` -Data /var/sos-berlin.com/js7/agent ` -HttpPort 4445 ` -ExecStop StopService ` -UninstallData # stops the Agent's systemd service # removes the Agent's systemd service # removes the Agent's data directory # preserves the Agent's home directory that might be used by additionalparallel Agents installed side-by-side |
Uninstall and Preserve Data Directory
...
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Agent.ps1 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -ExecStop StopService ` -UninstallData # stops the Agent's Windows service # removes the Agent's Windows service # removes the Agent's data directory # preserves the Agent's home directory that might be used by additionalparallel Agents installed side-by-side |
Uninstall and Preserve Data Directory
...
Overview
Content Tools