Closed
Bug 765939
Opened 13 years ago
Closed 13 years ago
Need backup disk/host for socorro in different data center than phx1
Categories
(Infrastructure & Operations :: Storage, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mpressman, Assigned: dumitru)
Details
We will need about 1TB of disk for socorro in a data center other than phx1 which is where the main prod servers as well as the dev machines are stored.
Comment 1•13 years ago
|
||
Please specify exactly what kind of host you need to connect to this storage. We prefer not to give VMs with such huge disk space allocations, so a physical server might be better depending on what your needs are.
| Reporter | ||
Comment 2•13 years ago
|
||
There isn't a specific requirement per se. An iscsi/nfs what have you provided that we have offsite backup for our production crash data
Comment 3•13 years ago
|
||
What machine will mount the storage that you're requesting?
| Assignee | ||
Comment 4•13 years ago
|
||
Short solution is to dump the data on tape and store it off-site.
Long term is our DR plan between datacenters.
So, for now, let me know where you dump the database so I can ingest it into tape.
| Assignee | ||
Updated•13 years ago
|
Assignee: server-ops → dgherman
| Reporter | ||
Comment 5•13 years ago
|
||
I'll be pushing a binary copy to socorro1.stage.db.phx1. Although currently the copy isn't compressed, I'll compress it in /pgdata. So the file name and location will be /pgdata/socorro-YYYYMonDD
The date matches the current convention for other db dumps. This will be done weekly.
| Reporter | ||
Comment 6•13 years ago
|
||
The full data set compressed nicely. All the way down to 128GB from 628GB.
Right now it is located on socorro1.stage.db.phx1.mozilla.com at
/pgdata/9.0/data.tar.gz
If you'd like I can move it to another directory on /pgdata and I can rename it, but all we care about is the last weeks worth of data so there is no need to continuously keep older archives.
I've put this into a job that runs every Sunday night.
| Assignee | ||
Comment 7•13 years ago
|
||
Per our discussion on IRC:
- backup folder should be "/pgdata/backups"
- we will use NetVault triggers to start the backup job after the pgdump finishes. Add this at the end of your script:
/usr/netvault/bin/nvtrigger -server backup1_ops_phx1_mozilla_com pgdata-backups
I tested it manually and it works.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Infrastructure & Operations
You need to log in
before you can comment on or make changes to this bug.
Description
•