[TryMOS] Rename startup scripts and location
* Fix getting storage networks
* Make variables modular
* Drop hardcoded sleep in wait
Related-Prod: PRODX-3456
Change-Id: Ibd7aece3bd6262d2ad579d20e87d8af661cef3d9
diff --git a/trymos/README b/trymos/README
index f9368d2..d33aba6 100644
--- a/trymos/README
+++ b/trymos/README
@@ -24,25 +24,16 @@
}
}
-5. Create an image from the snapshot in EC2 Service -> Elastic Block Store -> Snapshots -> Actions -> Create image
- with root storage 30Gb and additional volume 20Gb (volume type EBS (gp3))
+5. Wait unless task is completed `aws ec2 describe-import-snapshot-tasks --import-task-ids <task-id>`
-6. Launch instance from the image EC2 Service -> Images -> AMIs -> Launch with flavor minimal 16 CPUs and
+6. Create an image from the snapshot in EC2 Service -> Elastic Block Store -> Snapshots -> Actions -> Create image
+ with root storage 35Gb and additional volume 20Gb (volume type EBS (gp3))
+
+7. Launch instance from the image EC2 Service -> Images -> AMIs -> Launch with flavor minimal 16 CPUs and
30Gb RAM (c4.4xlarge).
-7. Connect to intance via external IP with keyfile which was defined during instance was brought up as root
+8. Connect to intance via external IP with keyfile which was defined during instance was brought up as root
ssh 13.59.177.99 -i ./trymos-pair.pem -l root
-8. Run following commands to prepare env for deployment
- sed -i 's/vdb/xvdb/g' /usr/share/metadata/ceph.yaml
-
- and export control network CIDR
- root@ip-172-31-11-89:/srv/bin# ip route
- default via 172.31.0.1 dev eth0 proto dhcp src 172.31.11.89 metric 100
- 172.31.0.0/20 dev eth0 proto kernel scope link src 172.31.11.89
- 172.31.0.1 dev eth0 proto dhcp scope link src 172.31.11.89 metric 100
-
- root@ip-172-31-11-89:/srv/bin# export CONTROL_NETWORK_CIDR='172.31.0.0/20'
-
9. Run installation script
- /srv/bin/bootstrap_trymos_aws.sh
+ /usr/share/trymos/launch.sh