Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion for an 'install' script addition #143

Closed
preese opened this issue Oct 10, 2024 · 0 comments
Closed

Suggestion for an 'install' script addition #143

preese opened this issue Oct 10, 2024 · 0 comments

Comments

@preese
Copy link

preese commented Oct 10, 2024

One thing I noticed doing installs is that some/many users probably will want to install an Archive host AND a Grafana server on the same host. How about an option for the 'install archive' script which include the three packages needed to add the Grafana bits (include opening the https port too?)?

Here is my install steps for an EL9 Archive combined with Grafana currently:
sudo -s
curl -s https://downloads.perfsonar.net/install | sh -s - --auto-updates archive
psarchive troubleshoot --skip-opensearch-data
add ip range to: vi /etc/httpd/conf.d/apache-logstash.conf
systemctl restart httpd
dnf -y install perfsonar-grafana perfsonar-grafana-toolkit perfsonar-psconfig-hostmetrics perfsonar-psconfig-publisher
firewall-cmd --perm --add-service=https
firewall-cmd --reload
psconfig validate <xxx.json>
psconfig publish <xxxx.json>
psconfig remote add "https://hostname.local/psconfig/<xxxx.json>"

If Archive and Grafana could be combined:
sudo -s
curl -s https://downloads.perfsonar.net/install | sh -s - --auto-updates archive
psarchive troubleshoot --skip-opensearch-data
add ip range to: /etc/httpd/conf.d/apache-logstash.conf
systemctl restart httpd
psconfig validate <xxx.json>
psconfig publish <xxxx.json>
psconfig remote add "https://hostname.local/psconfig/<xxxx.json>"

A Testpoint install is even shorter:
sudo -s
curl -s https://downloads.perfsonar.net/install | sh -s - --auto-updates --security testpoint
pscheduler troubleshoot
add: psconfig remote add "https://hostname.local/psconfig/<xxxx.json>"

@github-project-automation github-project-automation bot moved this to Ready in perfSONAR Oct 10, 2024
@preese preese changed the title Suggestion the 'install' script addition Suggestion for the 'install' script addition Oct 10, 2024
@preese preese changed the title Suggestion for the 'install' script addition Suggestion for an 'install' script addition Oct 10, 2024
@preese preese closed this as completed Oct 10, 2024
@github-project-automation github-project-automation bot moved this from Ready to Done in perfSONAR Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant