[SERVER-30604] Mount EC2 instance drive for /data Created: 10/Aug/17  Updated: 30/Oct/23  Resolved: 15/Aug/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-08-21
Participants:

 Description   

Modify/rename script buildscripts/mount_ephemeral_drive.sh to buildscripts/mount_data_drive.sh as it's purpose is to mount /data, which most likely on an EBS-backed drive.

Modify buildscripts/launch_evergreen_ec2_instance.sh to provide the Windows device xvdf for EBS block device when creating an EC2 instance.

These changes are due to fact that the Windows attached storage is ephemeral. Powercycle testing requires storage (EBS) which is persistent through reboots and instance stop/start.



 Comments   
Comment by Githook User [ 16/Aug/17 ]

Author:

{'username': 'hptabster', 'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams'}

Message: SERVER-30604 Remove buildscripts/mount_ephemeral_drive.sh
Branch: master
https://github.com/mongodb/mongo/commit/b1e534860faa87b34cc287a295275d9346af0a08

Comment by Githook User [ 15/Aug/17 ]

Author:

{'username': 'hptabster', 'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams'}

Message: SERVER-30604 Mount EC2 instance drive for /data
Branch: master
https://github.com/mongodb/mongo/commit/487950b4502190e522ffad321a3173cadb541b25

Comment by Jonathan Abrahams [ 11/Aug/17 ]

This ticket has been re-purposed, as the original need was to manage EBS volumes is not necessary as they are created and attached when creating the EC2 instance, and deleted on termination.

We will change to not use the ephemeral drive when mounting /data, but the EBS backed drive.

Comment by Ernie Hershey [ 10/Aug/17 ]

I see. Thanks. We talked on Slack as well. I believe it is true that most Evergreen configurations are instance-backed.

Comment by Jonathan Abrahams [ 10/Aug/17 ]

ernie.hershey We would like to use Evergreen variants, which are already provisioned. AFAIK these instance seems to have /data mounted on an ephemeral drive. Are there any particular Evergreen variants that have EBS-backed storage?

Comment by Ernie Hershey [ 10/Aug/17 ]

jonathan.abrahams - can you use instances with EBS-backed storage? Why are you using otherwise if you need EBS?

Generated at Thu Feb 08 04:24:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.