File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ function SetupWorkerNodes() {
9191 # RUNTIME=$(RemoteExec $1 "cat /cluster_manager/cmd/worker_node/config_cluster.yaml | yq '.criType'")
9292
9393 # if [[ "$RUNTIME" == "dandelion" ]]; then
94+ RemoteExec $1 " rm /dev/shm/shm_0"
9495 RemoteExec $1 " cd ~/dandelion; RUSTFLAGS='-C target-feature=+crt-static' cargo build --bin mmu_worker --features mmu --target \$ (arch)-unknown-linux-gnu"
9596 RemoteExec $1 " tmux new -s dandelion -d"
9697 RemoteExec $1 " tmux send-keys -t dandelion 'cd ~/dandelion; RUST_LOG=debug cargo run --bin dandelion_server -F mmu,reqwest_io' ENTER"
Original file line number Diff line number Diff line change @@ -58,8 +58,13 @@ sudo mv release-${latest}-$(uname -m) /usr/local/bin/firecracker
5858sudo mv /usr/local/bin/firecracker/firecracker-${latest} -${ARCH} /usr/local/bin/firecracker/firecracker
5959echo " export PATH=$PATH :/usr/local/bin/firecracker" | sudo tee -a /etc/profile
6060
61- sudo apt install cargo snapd -y
62- sudo snap install yq
61+ # Install Rust
62+ wget https://static.rust-lang.org/rustup.sh
63+ chmod +x rustup.sh
64+ ./rustup.sh -y
65+
66+ # sudo apt install snapd -y
67+ # sudo snap install yq
6368
6469# Copy systemd services
6570sudo cp -a ~ /cluster_manager/scripts/systemd/* /etc/systemd/system/
@@ -74,7 +79,5 @@ if [ "$NODE_PURPOSE" = "CONTROL_PLANE" ]; then
7479 SetupLoadBalancer
7580fi
7681
77- if [ " $NODE_PURPOSE " = " INVITRO" ]; then
78- RemoteExec $1 ' [ ! -d ~/invitro ] && git clone https://github.com/vhive-serverless/invitro.git'
79- rsync -av invitro_traces/* $INVITRO :invitro/invitro_traces
80- fi
82+ RemoteExec $1 ' [ ! -d ~/invitro ] && git clone https://github.com/vhive-serverless/invitro.git'
83+ # rsync -av invitro_traces/* $INVITRO:invitro/invitro_traces
You can’t perform that action at this time.
0 commit comments