Closed Bug 1140018 Opened 11 years ago Closed 11 years ago

add a puppetmaster to use1

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arich, Assigned: dustin)

References

Details

Attachments

(3 files)

For DR purposes, we need a puppetmaster outside of the scl3 datacenter, and use1 is the better choice since it's on the opposite coast. Please stand one up there, and preferably have some hosts actually use it so that we know it remains functional through whatever modifications we make to pupetmasters.
Depends on: 1140036
Per IRC conversation, since it's much easier to set up two at once than separately, we'll create one each in use1 and usw2.
Manually created /data with [root@releng-puppet1 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 35G 0 disk ├─xvda1 202:1 0 61M 0 part /boot └─xvda2 202:2 0 35G 0 part └─cloud_root-lv_root (dm-0) 253:0 0 35G 0 lvm / xvdb 202:16 0 4G 0 disk xvdc 202:32 0 400G 0 disk [root@releng-puppet1 ~]# ls -al /data/ total 8 drwxr-xr-x 2 puppetsync puppetsync 4096 Mar 9 11:00 . dr-xr-xr-x 25 root root 4096 Mar 9 11:19 .. [root@releng-puppet1 ~]# pvcreate /dev/xvdc Physical volume "/dev/xvdc" successfully created [root@releng-puppet1 ~]# vgextend cloud_root /dev/xvdc Volume group "cloud_root" successfully extended [root@releng-puppet1 ~]# lvcreate cloud_root -n data -L 400G Volume group "cloud_root" has insufficient free space (102399 extents): 102400 required. [root@releng-puppet1 ~]# lvcreate cloud_root -n data -L 399G Logical volume "data" created [root@releng-puppet1 ~]# mkfs.ext4 /dev/cloud_root/data mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 26148864 inodes, 104595456 blocks 5229772 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 3192 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 31 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
oh, and add it to /etc/fstab and mount it.
Attachment #8574768 - Flags: review?(rail) → review+
Attached patch bug1140018.patchSplinter Review
The use1 master is still rsync'ing packages (still midway through the Ubuntu universe, unfortunately), so I won't land this until it's done. But the usw2 master is done rsync'ing and a puppet run against itself works fine, so I expect use1 to work fine, too.
Attachment #8575260 - Flags: review?(arich)
Attachment #8575260 - Flags: review?(arich) → review+
Attachment #8575365 - Flags: review? → review+
Blocks: 1141631
Should be complete. I'll watch the puppetspam for issues.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: