FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 03-21-2012, 02:15 AM
Kevin Fenzi
 
Default Freeze break request: fix mirrormanager sync for vpn hosts

I removed the old 'bapp1.vpn.fedoraproject.org' entry from dns the
other day because I didn't think we used it anymore.

Turns out that we do in a mirrormanager sync script.

This is preventing app05 and app06 from getting up to date mirror
lists.

The following should fix it.

Plus +1s? I might just apply it and ask for forgiveness since this is potentially causing an issue.

kevin
--
diff --git a/modules/mirrormanager/files/mm_sync_data b/modules/mirrormanager/files/mm_sync_data
index afeb2a2..01bb484 100755
--- a/modules/mirrormanager/files/mm_sync_data
+++ b/modules/mirrormanager/files/mm_sync_data
@@ -1,4 +1,4 @@
#!/bin/bash

-rsync -az --delete-after --delay-updates --delete mirrormanager@bapp1:/var/lib/mirrormanager/ /var/lib/mirror
+rsync -az --delete-after --delay-updates --delete mirrormanager@bapp01:/var/lib/mirrormanager/ /var/lib/mirro
killall -HUP mirrorlist_server.py
diff --git a/modules/mirrormanager/files/mm_sync_out b/modules/mirrormanager/files/mm_sync_out
index ac0e38e..7eca458 100755
--- a/modules/mirrormanager/files/mm_sync_out
+++ b/modules/mirrormanager/files/mm_sync_out
@@ -1,4 +1,4 @@
#!/bin/bash
-for s in app1 app2 app3 app4 app05 app6 app7; do
+for s in app01 app02 app03 app04 app05 app06 app07; do
ssh $s /usr/share/mirrormanager/mm_sync_data
done
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 03-21-2012, 02:16 AM
 
Default Freeze break request: fix mirrormanager sync for vpn hosts

+1

--
Matt Domsch
Technology Strategist
Dell | Office of the CTO

-----Original Message-----
From: infrastructure-bounces@lists.fedoraproject.org [mailto:infrastructure-bounces@lists.fedoraproject.org] On Behalf Of Kevin Fenzi
Sent: Tuesday, March 20, 2012 10:15 PM
To: Fedora Infrastructure
Subject: Freeze break request: fix mirrormanager sync for vpn hosts

I removed the old 'bapp1.vpn.fedoraproject.org' entry from dns the other day because I didn't think we used it anymore.

Turns out that we do in a mirrormanager sync script.

This is preventing app05 and app06 from getting up to date mirror lists.

The following should fix it.

Plus +1s? I might just apply it and ask for forgiveness since this is potentially causing an issue.

kevin
--
diff --git a/modules/mirrormanager/files/mm_sync_data b/modules/mirrormanager/files/mm_sync_data
index afeb2a2..01bb484 100755
--- a/modules/mirrormanager/files/mm_sync_data
+++ b/modules/mirrormanager/files/mm_sync_data
@@ -1,4 +1,4 @@
#!/bin/bash

-rsync -az --delete-after --delay-updates --delete mirrormanager@bapp1:/var/lib/mirrormanager/ /var/lib/mirror
+rsync -az --delete-after --delay-updates --delete
+mirrormanager@bapp01:/var/lib/mirrormanager/ /var/lib/mirro
killall -HUP mirrorlist_server.py
diff --git a/modules/mirrormanager/files/mm_sync_out b/modules/mirrormanager/files/mm_sync_out
index ac0e38e..7eca458 100755
--- a/modules/mirrormanager/files/mm_sync_out
+++ b/modules/mirrormanager/files/mm_sync_out
@@ -1,4 +1,4 @@
#!/bin/bash
-for s in app1 app2 app3 app4 app05 app6 app7; do
+for s in app01 app02 app03 app04 app05 app06 app07; do
ssh $s /usr/share/mirrormanager/mm_sync_data
done
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 03-21-2012, 02:30 AM
Dennis Gilmore
 
Default Freeze break request: fix mirrormanager sync for vpn hosts

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Tue, 20 Mar 2012 22:16:45 -0500
<Matt_Domsch@Dell.com> escribió:
> +1
+1 also

Dennis
> --
> Matt Domsch
> Technology Strategist
> Dell | Office of the CTO
>
> -----Original Message-----
> From: infrastructure-bounces@lists.fedoraproject.org
> [mailto:infrastructure-bounces@lists.fedoraproject.org] On Behalf Of
> Kevin Fenzi Sent: Tuesday, March 20, 2012 10:15 PM To: Fedora
> Infrastructure Subject: Freeze break request: fix mirrormanager sync
> for vpn hosts
>
> I removed the old 'bapp1.vpn.fedoraproject.org' entry from dns the
> other day because I didn't think we used it anymore.
>
> Turns out that we do in a mirrormanager sync script.
>
> This is preventing app05 and app06 from getting up to date mirror
> lists.
>
> The following should fix it.
>
> Plus +1s? I might just apply it and ask for forgiveness since this is
> potentially causing an issue.
>
> kevin
> --
> diff --git a/modules/mirrormanager/files/mm_sync_data
> b/modules/mirrormanager/files/mm_sync_data index afeb2a2..01bb484
> 100755 --- a/modules/mirrormanager/files/mm_sync_data
> +++ b/modules/mirrormanager/files/mm_sync_data
> @@ -1,4 +1,4 @@
> #!/bin/bash
>
> -rsync -az --delete-after --delay-updates --delete
> mirrormanager@bapp1:/var/lib/mirrormanager/ /var/lib/mirror +rsync
> -az --delete-after --delay-updates --delete
> +mirrormanager@bapp01:/var/lib/mirrormanager/ /var/lib/mirro killall
> -HUP mirrorlist_server.py diff --git
> a/modules/mirrormanager/files/mm_sync_out
> b/modules/mirrormanager/files/mm_sync_out index ac0e38e..7eca458
> 100755 --- a/modules/mirrormanager/files/mm_sync_out +++
> b/modules/mirrormanager/files/mm_sync_out @@ -1,4 +1,4 @@
> #!/bin/bash
> -for s in app1 app2 app3 app4 app05 app6 app7; do
> +for s in app01 app02 app03 app04 app05 app06 app07; do
> ssh $s /usr/share/mirrormanager/mm_sync_data
> done
> _______________________________________________
> infrastructure mailing list
> infrastructure@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk9pS14ACgkQkSxm47BaWfdKdgCfWDlOmEPKgM YeSyLmGRw8Q7nI
CJsAnjccQAfPci0atE16YPf+g6KnKYa3
=uihj
-----END PGP SIGNATURE-----
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 

Thread Tools




All times are GMT. The time now is 01:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org