Tuesday, July 06, 2004

Imports / Exports (Richard on FTO)

Richard Goehring is going to be in Germany for two weeks, so I am re-learning today how to do imports, exports, and updates to mainwin. I'll be in charge of doing this while he is gone. Richard's contact information in Germany is 011-49-6051-66572 and they are 7 hours ahead of us. Richard will be gone until July 24th.

Here's what I learned today :

Importing

1. log-on to alh-brat as cmpcbe
2. cd ~/bld.data
3. vi imports.txt
4. remove/add semicolons (comments) where needed, so that only relevant items are pulled.
5. use XCM to select platforms and start the import

At this point, progress will appear in an already opened sunjun window. The import will take around 45minutes to an hour. After it is imported, you will have to run cfg_mgc and check the version of layout to make sure that it changed. This should be done on each platform's build machine.

Here are the build machines:

NT - ixnd2bld2
SS5 - kickapoo
HP - seneca
Linux - pawnee

So, for SS5 (for example) :

6. Login to kickapoo (cmpcbe)
7. Set up the environment by running . ~cbsadmin/SDD2004.1
8. cd to MGC_HOME (/alh/SDD2004_1_engr/Mentor/MGC_HOME-2004.vco)
9. run export MGC_HOME=`pwd`
10. run cfg_mgc -include -relink -base_post_install
11. check to see that the version has changed by running $MGC_HOME/bin/layout -v
12. send email to the following list :

Venkanna, Sangem; Gupta, Ashish; Price, Chris; Honderich, Pavlos; Harness, Tamara; Hall, Wes
updated in engr tree at /alh/SDD2004_1_engr/Mentor/MGC_HOME-2004.ss5
// LAYOUT v8.10_2.6 (EN2004_SPAC1_040701) Thu Jul 1

13. After an approval e-mail is received, you must then update the QA tree:
/alh/engrtrees/en41toTomovenoRE.sh


For NT, things are a bit different. After using XCM to kick off the import, you will first notice that there are many failures in the log window. This is to be expected. On ixnd2bld2 (the NT Build Machine) you need to do the following:

1. cd /alh/brm/mgc_trees/ixn/tmp_import
2. delete any links in pkgs and/or shared/pkgs
3. chmod -R 755 *
4. /gtardir pkgs /alh/SDD2004_1_engr/Mentor/*ixn/pkgs
5. /gtardir shared/pkgs /alh/SDD2004_1_engr/Mentor/*ixn/shared/pkgs
6. from NT (j:), cfg_mgc -include -relink -base_post_install
7. you will have to refresh your xvision window many times while performing the following operations to add fonts to the tree.
a.right click on the XV (xvision) icon in the toolbar
b. go to properties
c. fonts tab
d. remove
e. add
f. add
g. select SDD2004_1_engr from the pulldown
h. Mentor/ixn/registry/fonts
i. add

8. Bring up a kornshell window
9. Go to J:/Mentor/MGC_HOME-2004.ixn
10. export MGC_HOME=`pwd`
11. $MGC_HOME/bin/layout -v (to get the version number)
12. Return to step 9 above.


Exporting

1. login on fugu (WV machine) as pcbebld/EN2xxx.5
2. cd /wv/mgc/mgc_server/pcbe/autoactivere
3. make a new directory for each platform i.e. :
mkdir -p exports.v8-10_2-10-6001_engr-ixn/mgc_home/pkgs

4. go back to brat in HSV as pcbebld
5. cd to /alh/SDD2004_1_qa/Mentor/MGC_HOME-2004.vco/pkgs
6. for each platform, run the following command:
time /alh/brm/bin/gtardir autoactivere [directory you created in step 3]/autoactivere.vco

7. for each platform, run the following command:
mgc_server -pdq -repl -grp pcbe/autoactivere -tag en2004_sp1_off -rls v8-10_2...... (step 3)

8. After your tag promotion e-mail comes back, you can then send a snapshot request. (look at e-mail for template)


Updating Mainwin

on kickapoo, you must run three separate scripts:
1./alh/engrtrees/upMW.sh
2./alh/engrtrees/upMW5.sh
3./alh/engrtrees/upMe2e.sh

2 Comments:

At July 8, 2004 at 6:29 AM, Blogger bodhisattva said...

UPDATE FROM RICHARD:

and run the following after getting the all clear from Chris after the RE builds:

ixn ( ixnd2bld2 ) and ixl ( pawnee ) in $MGC_HOME directory:

./copyconfig.sh

then run en412000Tomove.sh on kickapoo

 
At August 3, 2004 at 8:11 AM, Blogger bodhisattva said...

On exporting:

If you do the gtardir to the wrong destination on the server, go up one level and copy that directory to the correct one.

it should gtardir to a destination that looks something like this:

/wv/mgc/mgc_server/pcbe/autoactivere/exports.v8-10_2-14-6001_engr-ixl/mgc_home/pkgs/autoactivere.ixl

 

Post a Comment

<< Home