AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080310104720.22c0b2a4@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	47D27564.8080503@onstor.com
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 10 Mar 2008 15:05:04 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Larry Scheer <larry.scheer@onstor.com>
Subject: Re: Initial Configuration for review
Message-ID: <20080310150504.41ca8c2c@ripper.onstor.net>
In-Reply-To: <47D27564.8080503@onstor.com>
References: <47D1840E.2090307@onstor.com>
	<20080307172632.7624261b@ripper.onstor.net>
	<47D27564.8080503@onstor.com>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Larry,

I would like to enlist your help with a couple of these files, because
I will just hurt myself trying to figure it out.  Can you take a look
at the changes in these Makefiles?

linux/rootfs/Makefile
nfx-tree/code/ssc-initial-config/Makefile
nfx-tree/code/ssc-nfxsh/Makefile


On Sat, 08 Mar 2008 16:45:48 +0530 Sripal
<sripal.surendiran@onstor.com> wrote:

> Andy,
> 
> Here you go:
> 
> Change id 28254
> 
> Thanks,
> Sripal.
> 
> Andrew Sharp wrote:
> > Hi Sripal,
> >
> > Yes, I can review this.  Please do me a favor and gather all the
> > changed files into a single changelist number for me?  You can use
> > the perforce command "p4 change" (or use the GUI) to do so if you
> > haven't already.  Then send me the cl#
> >
> > Thanks,
> >
> > a
> >
> >
> > On Fri, 07 Mar 2008 23:36:06 +0530 Sripal
> > <sripal.surendiran@onstor.com> wrote:
> >
> >   
> >> Andy,
> >>
> >> I have completed the initial configuration coding. Request you to
> >> verify the same.
> >>
> >> *Feature not tested:*
> >> 1. Not tested the code by creating new build
> >> 2. Load from secondary flash is not working ( There is already bug
> >> filed on the CQ TED00022323)
> >> 3. Migration of Cougar with Bobcat flash having R98 version in it.
> >> 4. FTI after flash installation.
> >>
> >> *File path and details:*
> >>
> >> */homes/sripalwork/cg_fti/linux/rootfs/Makefile#1 - edit default
> >> change (text)*
> >> Changes to rootfs makefile to copy my newly added files to Release 
> >> directory.  I was not able to copy rootfs/sbin/dhclient-script to 
> >> Release directory. Help me where I went wrong!
> >>
> >> */homes/sripal/work/cg_fti/linux/rootfs/etc/init.d/onstor#1 - edit 
> >> default change (text)
> >> *This script will prevent starting emrscron if the filer is in 
> >> uninitialized state (since emrscron uses nfxsh). Starts pm with
> >> minimal daemon if the filer is in uninitialized state.
> >>
> >> */homes/sripal/work/cg_fti/linux/rootfs/etc/init.d/onstor-config#1
> >> - edit default change (text)*
> >> Removed calling script based initial config code. Resetting 
> >> configuration files to default value, if the filer is in
> >> uninitialized state.
> >>
> >> */homes/sripal/work/cg_fti/linux/rootfs/etc/onstor/initial-config#1
> >> - delete default change (text)*
> >> */homes/sripal/work/cg_fti/nfx-tree/code/sm-sct/taskmgr.c#1 - edit 
> >> default change (text)
> >> *Giving the information about secondary flash state to the NCM
> >> (WebUI). If the secondary flash of Cougar has bobcat CF, then NCM
> >> get root and admin user password from user and give it to migation
> >> script. *
> >> /homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/Makefile#1
> >> - edit default change (text)
> >> *Performs two operation:*
> >> *1. Added entries to create a new executable minlabel for Cougar. 
> >> minlabel reads the secondary flash and gives partition information
> >> to migration script. migration script recreates BSD partition using
> >> sfdisk 2. Copies migration script to Build/<PROD>/<VARIANT>/bin
> >> directory
> >>
> >> Both the above operations are required only for Cougar. But I don't
> >> know how to prevent for Bobcat. Please help me on this.
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/initial-config-linux.c#1 
> >> - add default change (text)
> >> *Linux specific configuration updation/retriving code
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/initial-config-openbsd.c#1 
> >> - add default change (text)*
> >> Openbsd specific configuration updation/retriving code
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/initial-config.c#1 
> >> - edit default change (text)*
> >> Contains Initial configuration API
> >> 1. initconf_getNasgwayInitialConfig - gets the configuration
> >> parameters to caller
> >> 2. initconf_setNasgwayInitialConfigSem - sets the semphore state
> >> to initializing so that other user may perform FTI simultaneously
> >> 3. initconf_setNasgwayInitialConfig - sets the configuration
> >> parameters given by caller
> >> 4. initconf_loadNasgwayInitialConfigFromSec -- Load configuration 
> >> parameters from Secondary flash.
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/initial-config.h#1 
> >> - edit default change (text)*
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/migrate.sh#1 
> >> - add default change (xtext)
> >> *Migration script
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/minlabel.c#1 
> >> - add default change (text)
> >> *Open source code to read BSD disklabel in Linux.
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-initial-config/minlabel.h#1 
> >> - add default change (text)*
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-nfxsh/vtysh-linux.c#1
> >> - delete default change (text)
> >> /homes/sripal/work/cg_fti/nfx-tree/code/ssc-nfxsh/Makefile#1 -
> >> edit default change (text)
> >> *Added new file vtysh_initial.c
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-nfxsh/vtysh-openbsd.c#1
> >> - delete default change (text)*
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-nfxsh/vtysh_initial.c#1
> >> - add default change (text)
> >> *Initial configuration UI. Earlier it was named as vtysh-openbsd.c.
> >> Now renamed to vtysh_initial.c. I made this file compatible to both
> >> Openbsd and Linux. Probably you can diff this file with
> >> vtysh-openbsd.c in depot to find my new changes
> >>
> >> */homes/sripal/work/cg_fti/nfx-tree/code/ssc-pm/rc.onstor#1 - edit 
> >> default change (text)*
> >> */homes/sripal/work/cg_fti/openbsd/src/usr.sbin/dhcp/dhclient/scripts/dhclient-script#1 
> >> - edit default change   (text)*
> >> This script assigns default ip address to the interface, if there
> >> is no dhcp server to answer its request. This script also updates
> >> the values obtained from dhcp server
> >> to /onstor/conf/nasgwayinit.conf. nasgwayinit.conf is used by
> >> Initial configuration application to show the default values
> >>
> >> Thanks,
> >> Sripal.
> >>     
> 
> 
