[24300] in Hotline Meeting

home help back first fref pref prev next nref lref last post

afs...

daemon@ATHENA.MIT.EDU (John Chase)
Mon Sep 19 09:03:57 1994

To: hotline@MIT.EDU
Date: Mon, 19 Sep 1994 09:03:49 EDT
From: John Chase <jchase@MIT.EDU>


------- Forwarded Message

Received: from ATHENA-AS-WELL.MIT.EDU by po6.MIT.EDU (5.61/4.7) id AA01401; Sat, 17 Sep 94 00:20:58 EDT
Received: from TARDIS.MIT.EDU by MIT.EDU with SMTP
	id AA18343; Sat, 17 Sep 94 00:20:49 EDT
Received: by tardis.MIT.EDU (AIX 3.2/UCB 5.64/4.7) id AA25022; Sat, 17 Sep 1994 00:20:47 -0400
Date: Sat, 17 Sep 1994 00:20:47 -0400
Message-Id: <9409170420.AA25022@tardis.MIT.EDU>
To: op@MIT.EDU
Subject: Moira/AFS sync
From: "Richard Basch" <basch@MIT.EDU>


Well, the Moira/AFS sync went well...  Below is a transcript of what was
done, the errors that occurred and the actions taken.

Questions to me (I'll also accept thanks and flames, the latter not as much).
:)

- -Richard


Moira/AFS sync log
- ------------------

92% udebug prill -p 7002
Sync site's db version is 779339233.4265
0 locked pages, 0 of them for write

moira2# cd /var
moira2# rcp -p -x root@orf:/usr/afs/db/prdb.DB0 prdb.old

moira2# pts listmax
Max user id is 97552 and max group id is -99241.

94% udebug prill -p 7002
Sync site's db version is 779339233.4265	<<< Still the same...
0 locked pages, 0 of them for write

moira2# /moira/sync/pt_util -u -g -m -x -p prdb.old -d prdb.extra
moira2# perl /moira/sync/pt_util.pl < prdb.extra > prdb.extra.sort

(Ted and I removed the user group "ksa" since that would conflict during
the update of the prdb, given two groups ksa/KSA.)

moira2# cat > /etc/smsdown
Moira will be down for (another) 30 minutes for the AFS sync.  We apologize
for the inconvenience.

(The above avoids having to play the game with /moira/afs/noafs, which
only is a 30 minute lock, and possible update collisions once the lock
goes away.  The server was down already...)

moira2# /moira/sync/afssync prdb.moira
Doing users: Fri Sep 16 22:47:05 1994
Error adding user testuser uid 25000: Entry for id already exists
Doing groups: Fri Sep 16 22:51:29 1994
Error adding group system:mit id -101: Entry for id already exists
Error adding group system:authuser id -102: Entry for id already exists
Error adding group system:administrators id -204: Entry for id already exists
Reading/preparing members: Fri Sep 16 23:07:48 1994
Doing members: Fri Sep 16 23:11:39 1994
Done (17581 users, 19667 groups, 23 kerberos, 47431 members): Fri Sep 16 23:18:07 1994

moira2# cp prdb.moira prdb.new

moira2# /moira/sync/pt_util -w -d prdb.extra.sort -p prdb.new
Ubik Version is: 0.0
Error while creating fmmoore:helpers: User or group doesn't exist
Error while creating fmmoore:100_tas: User or group doesn't exist
Error while adding wigie to moon:lmf-acl: User or group doesn't exist
Error while adding refahrme to moon:lmf-acl: User or group doesn't exist
Error while adding rctsai to moon:lmf-acl: User or group doesn't exist
Error while adding silvana to moon:lmf-acl: User or group doesn't exist
Error while creating mbrad:friends: User or group doesn't exist
Error while adding soup to moon:ccity-acl: User or group doesn't exist
Error while adding dougie to moon:ccity-acl: User or group doesn't exist
Error while adding the_doz to moon:ccity-acl: User or group doesn't exist
Error while adding tlc to cwren:friends: User or group doesn't exist
Error while adding jweiss to moon:dom-acl: User or group doesn't exist
Error while creating system:gsipbbin: Entry for id already exists
Error while adding beth to jnrees:accounts-read: User or group doesn't exist
Error while adding jon to jnrees:accounts-read: User or group doesn't exist
Error while adding jis to jnrees:accounts-read: User or group doesn't exist
Error while adding carla to jnrees:accounts-read: User or group doesn't exist
Error while adding murman to jnrees:accounts-read: User or group doesn't exist
Error while adding orcutt to jnrees:accounts-read: User or group doesn't exist
Error while adding kevles to jnrees:accounts-read: User or group doesn't exist
Error while adding roden to jnrees:accounts-read: User or group doesn't exist
Error while adding hoffmann to jnrees:accounts-read: User or group doesn't exist
Error while adding disc to moon:nh2-acl: User or group doesn't exist
Error while creating thetans:authuser: User or group doesn't exist
Error while adding tldavis to moon:desmond-acl: User or group doesn't exist
Error while adding jweiss to moon:desmond-acl: User or group doesn't exist
Error while adding ochen to fdq:foobar: User or group doesn't exist
Error while adding sealion to fdq:foobar: User or group doesn't exist
Error while adding hodgey to fdq:foobar: User or group doesn't exist
Error while adding ajmoulen to moon:russkis-acl: User or group doesn't exist
Error while adding jweiss to moon:russkis-acl: User or group doesn't exist
Error while creating system:cdemello: Entry for id already exists
Error while adding bainard to moon:nts-acl: User or group doesn't exist
Error while creating edsp:crisis: User or group doesn't exist
Error while adding wchuang to celine:admin: User or group doesn't exist
Error while adding clund to moon:dh-acl: User or group doesn't exist
Error while adding henning to moon:dh-acl: User or group doesn't exist
Error while adding mephisto to moon:dh-acl: User or group doesn't exist
Error while adding wchuang to celine:titan: User or group doesn't exist
Error while creating sca:officers: User or group doesn't exist
Error while adding jruser to captkirk:2: User or group doesn't exist
Error while adding omv to moon:nh4-acl: User or group doesn't exist
Error while adding wilson to moon:nh4-acl: User or group doesn't exist
Error while adding eamirsky to moon:nh4-acl: User or group doesn't exist
Error while adding mtuteja to moon:nh4-acl: User or group doesn't exist
Error while adding mikee to moon:nh4-acl: User or group doesn't exist
Error while adding drmorris to moon:nh4-acl: User or group doesn't exist
Error while adding airhead to moon:nh4-acl: User or group doesn't exist
Error while adding siep to moon:nh4-acl: User or group doesn't exist
Error while adding nmehta to moon:nh4-acl: User or group doesn't exist
Error while creating fmmoore:ps9: User or group doesn't exist
Error while adding nmehta to moon:admin-acl: User or group doesn't exist
Error while adding dmalbro to moon:admin-acl: User or group doesn't exist
Error while creating thistle:thstaff: User or group doesn't exist
Error while adding douzzer.root to douzzer:general: User or group doesn't existError while creating fmmoore:se40: User or group doesn't exist
Error while adding csanchez to moon:lacasa-acl: User or group doesn't exist
Error while adding willo to moon:lacasa-acl: User or group doesn't exist
Error while creating fmmoore:atic-etext: User or group doesn't exist
Error while creating moon:lacasa-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating captkirk:this: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:admin-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:nh4-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating captkirk:2: Badly formed name (group prefix doesn't match owner?)
Error while creating celine:titan: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:dh-acl: Badly formed name (group prefix doesn't matchowner?)
Error while creating celine:admin: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:nts-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating jnrees:accounts-write: Badly formed name (group prefix doesn't match owner?)
Error while creating captkirk:1: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:russkis-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating fdq:foobar: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:desmond-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:nh2-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating jnrees:accounts-read: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:dom-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating cwren:friends: Badly formed name (group prefix doesn't match owner?)
Error while creating captkirk:thesis: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:ccity-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating fdq:fredsgroup: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:lmf-acl: Badly formed name (group prefix doesn't match owner?)
Error while creating moon:testmail: Badly formed name (group prefix doesn't match owner?)

moira2# foreach i (chimera prill orf maeander)
? echo $i; cat prdb.new | rsh $i -l root -x "cat > /usr/afs/db/prdb.new"
? end

130% foreach i (chimera prill orf maeander)
foreach? /usr/afs/bin/bos shutdown $i ptserver $a
foreach? /usr/afs/bin/bos exec $i "cd /usr/afs/db;mv prdb.DB0 prdb.old;rm prdb.DBSYS1; mv prdb.new prdb.DB0" $a
foreach? end

131% foreach i ( chimera prill orf maeander )
foreach? /usr/afs/bin/bos restart $i ptserver $a
foreach? end

133% pts listmax $a
Max user id is 97548 and max group id is -99240.

SHOULD BE: Max user id is 97552 and max group id is -99241.

(continual "udebug prill -p 7002" to make sure things are becoming
consistent: dbcurrent=1, up=1, for each server, and state 1f at the end)

141% pts setmax -user 97552 $a; pts setmax -group -99241 $a

144% pts listmax $a
Max user id is 97552 and max group id is -99241.

moira2# rm /etc/smsdown

In moira/mrtest:

- - deactivated "foouser"
- - toggled status "testuser" to 3 and back to 1
(These were to fix the conflict, shown above by multiple uid's, and were
discussed with Ted, since he was one of the people responsible.)

- - enabled dcm flag (dbck had inadvertently left them disabled)

------- End of Forwarded Message


home help back first fref pref prev next nref lref last post