[prev in list] [next in list] [prev in thread] [next in thread] 

List:       npaci-rocks-discussion
Subject:    Re: [Rocks-Discuss] Besides rebuilding my cluster,
From:       "Doll, Margaret Ann" <margaret_doll () brown ! edu>
Date:       2011-09-23 18:41:28
Message-ID: CAKhbxNknQtE7Sa9neat_3y5Do0jTDKyJT=fj6_shMA1u-DCFdA () mail ! gmail ! com
[Download RAW message or body]

On Fri, Sep 23, 2011 at 2:20 PM, Larry Baker <baker@usgs.gov> wrote:

> Margaret,
> 
> I have done what Ian suggests several times.  From my notes, before
> installing Rocks:
> 
> Before replacing an existing Linux system with Rocks, save a copy of the
> following files:
> 
> /etc/passwd
> /etc/shadow
> /etc/group
> /etc/gshadow
> /etc/auto.home
> 
> 
> and, after the installation completes:
> 
> If this is an upgrade of a previous Linux installation, merge the files:
> 
> 
In my earlier attempts I missed restoring the gshadow and auto.home files.
Thanks.

> 
> /etc/passwd
> /etc/shadow
> /etc/group
> /etc/gshadow
> /etc/auto.home
> 
> Users may want to copy the files from /etc/skel to their home directory,
> especially .bashrc and .bash_profile.  For example, cp /etc/skel/.* ~/.
> 
> 
> /home should not be altered by a reinstall of Rocks, so the SSH user keys
> should be preserved.  The first time they login after the reinstall, they
> will not have to set them up again.
> 
> Larry Baker
> US Geological Survey
> 650-329-5608
> baker@usgs.gov
> 
> On 23 Sep 2011, at 9:03 AM, Doll, Margaret Ann wrote:
> 
> I've tried that before, but I believe I had problems with adding the users.
> I believe was with clearing the ssh keys.
> 
> Thanks so much for your help.  I did recompile openmpi on /share/apps and
> that seems to be working.  My users will let me know shortly.
> 
> On Fri, Sep 23, 2011 at 11:58 AM, Ian Kaufman <ikaufman@eng.ucsd.edu>
> wrote:
> 
> Then just grab the users - /etc/passwd, /etc/shadow, /etc/group and
> 
> the home directories. tar/zip it all up and save it elsewhere. Then,
> 
> when the front end has been rebuilt, bring it back, and just add the
> 
> diffs of /etc/group, /etc/shadow, and /etc/passwd, and restore the
> 
> home dir data.
> 
> 
> Ian
> 
> 
> On Fri, Sep 23, 2011 at 8:51 AM, Doll, Margaret Ann
> 
> <margaret_doll@brown.edu> wrote:
> 
> But won't the restore roll contain the incorrect node database with the
> 
> duplicate entries.
> 
> 
> On Fri, Sep 23, 2011 at 11:50 AM, Doll, Margaret Ann <
> 
> margaret_doll@brown.edu> wrote:
> 
> 
> thanks
> 
> 
> 
> On Fri, Sep 23, 2011 at 11:25 AM, Ian Kaufman <ikaufman@soe.ucsd.edu
> 
> wrote:
> 
> 
> You can try making a restore roll.
> 
> 
> 
> 
> 
> http://www.rocksclusters.org/roll-documentation/base/5.4.3/upgrade-frontend.html
> 
> 
> Ian
> 
> 
> On Fri, Sep 23, 2011 at 6:52 AM, Doll, Margaret Ann
> 
> <margaret_doll@brown.edu> wrote:
> 
> I installed Rocks 5.4.3.
> 
> 
> Power units were inserted as compute nodes; a couple of them were
> 
> installed
> 
> twice.
> 
> I can change the name of the power units to power-0-n, but  "rocks
> 
> sync
> 
> config" no longer works.
> 
> 
> I don't know to what appliance I should change these power units.
> 
> 
> rocks set host appliance power-0-44  ???
> 
> 
> I decided the best way out, although it will take a couple of days,
> 
> is
> 
> to
> 
> reinstall the rocks system
> 
> 
> Is there any easy way to reinstall the users?   I know you can do
> 
> this
> 
> from
> 
> a file along with adding passwords.  This is time consuming.
> 
> -------------- next part --------------
> 
> An HTML attachment was scrubbed...
> 
> URL:
> 
> 
> 
> https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110923/74b37373/attachment.html
>  
> 
> 
> 
> 
> --
> 
> Ian Kaufman
> 
> Research Systems Administrator
> 
> UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu
> 
> 
> 
> 
> -------------- next part --------------
> 
> An HTML attachment was scrubbed...
> 
> URL:
> 
> 
> https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110923/78ba3c37/attachment.html
>  
> 
> 
> 
> 
> --
> 
> Ian Kaufman
> 
> Research Systems Administrator
> 
> UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110923/445522ff/attachment.html
>  
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110923/5ef816c1/attachment.html \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic