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

Automate blobfuse2 setup for new VM #1575

Open
wants to merge 6 commits into
base: blobfuse/2.4.1
Choose a base branch
from

Conversation

ashruti-msft
Copy link
Collaborator

@ashruti-msft ashruti-msft commented Nov 22, 2024

βœ… What

Created a script automating blobfuse2 setup required in a fresh VM.

πŸ€” Why

Helps save time settign up blobfuse2 on a new VM especially while perf testing on multiple VMs

πŸ‘©β€πŸ”¬ How to validate if applicable

run the script setup.sh

setup.sh Outdated
./go_installer.sh ../
echo "Installed go"
go version
sudo apt update -y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this script cannot be used by the distros which are not ubuntu

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we mostly use ubuntu Vm other than that very rarely we may use rhel to recreate issues. Can add script for rhel as well if its useful!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned its for ubuntu machines only via a comment

!/bin/bash

Run the go_installer script with the parent directory as an argument
./go_installer.sh ../
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can move this script to the setup directory

sudo apt install libfuse3-dev -y
echo "Installed all dependencies" -y

# Open the file /etc/fuse.conf and uncomment the line user_allow_other
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also add how to install Blobfuse2 which includes configuring the apt repository.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we shall also add step here to enlist microsoft linux repo for ubuntu and may be install blobfuse2 latest version as part of this as well. This will help you setup syslog filters so that logs can be directed to syslog in a separate file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, if we can add steps to install secpack that would be great.

@vibhansa-msft vibhansa-msft added this to the v2-2.4.1 milestone Nov 25, 2024
@vibhansa-msft vibhansa-msft changed the base branch from main to blobfuse/2.4.1 November 29, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants