Juan, if you issue : db2set DB2SYSTEM Do you see, SOL or SOLAR The CC will take the name of the DB2SYSTEM as set in the DB2 Global Registry Profile and as well in the admin node directory. If you see SOL then: db2stop (each instance) db2admin stop db2set -g DB2SYSTEM=SOLAR db2admin start (to restart your admin server( db2start (for the instance) db2cc (to start the cc) You should now see SOLAR as the system name.
If you don't then do: db2 list admin node directory This is what I see on mine and it has travelled from an OS/2 platform on an IBM PC, to Win95 on a Dell, to Win98 on my Thinkpad. H:\Program Files\SQLLIB\bin>db2 list admin node directory Node Directory Number of entries in the directory = 1 Node 1 entry: Node name = SES Comment = Protocol = LOCAL Instance name = DB2DAS00 You need to make sure that SOLAR ids the node name for your DAS. If not then got thru hat I suggested earlier on. This is how mine was finally set after all those moves. Regards, Pierre. Juan Lanus wrote: > Hi, Pierre > Thanks for your reply, but I think I didn't explain well my problem. > Not at all critical: it's a development environment. > > I'll try to explain it in steps: > 1- I set an NT server named "SOL" in 1999 that runs DB2 5.2 and later > 7.1 no problem. It appears as "SOL" in the CC. > 2- Last month I set a new server "SOLAR" intended to replace "SOL" and > install DB2 7.1, copy a couple DBs. > 3- I stop the older server "SOL". From now on it will run my little > children's games under W98 (it's a Pentium 133). > 4- I go to some NT gizmo and rename "SOLAR" to "SOL" as of the OS. > Reboot several times. > 5.- In the CC the new "SOL" server still appears as "SOLAR". DB2's > system name isn't the same as NT's system name. > When I try to change DB2's system name using the CC it says that the > local object can't be renamed. > I spend half a day delving into the docs but still unable to change the > name. > Unistalling and installing DB2 is a simple and efective solution. DB2 > installs as a charm. > > But I still want to know how to change that #%@* name. > Thanks again > Juan Lanus > TECNOSOL > > Pierre Saint-Jacques wrote: > > >You'll need to play with the node entries in the admin nnode directory. > >Assume your current system name is SYST1 in the cc. > > > >You switch to a new system and find that the name is now SYSTNEW > >How to get to SYST1 ?? > > > >On a command line do: > >1) db2 list admin node directory > > You should see an entry for SYSTNEW > >2) db2 uncatalog node SYSTNEW > >3) db2 CATALOG [ADMIN] TCPIP NODE node-name REMOTE_INSTANCE DB2DAS00 (or > >whatever name your DAS is) > >SYSTEM system-name (this you get by doing a db2set -all and find the db2system > >entry) OSTYPE os-type WITH "comment string" > > > > Here fit the entries as you have defined them. I chose tcpip but use > >whatever protocol you are to support. This is documented in the Command Ref. by > >the way. > >4)db2stop > >5)db2admin stop > >6)db2admin start > >7)db2start > >8)db2cc > >You should now see the new system name in the cc. > > > >HTH' Pierre. > > > >Juan Lanus wrote: > > > >>Hi > >>Recently I switched NT servers and was unable to change the new > >>server's system name to match the orlginal server's name. > >>I solved it by reinstalling DB2 on the new server. > >>But I'd like to know how to do it the next time I replace a server, two > >>or three years from now :-) > >>TIA > >>Juan Lanus > >>TECNOSOL > >> > >>===== > >>To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED] > >>For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod > >> > >> > > ===== > To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED] > For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod
begin:vcard n:Saint-Jacques;Pierre tel;cell:514-233-8679 tel;fax:514-737-1268 tel;work:514-737-4515 x-mozilla-html:FALSE org:SES Consultants Inc. adr:;;233 Simcoe Cr.;Mount-Royal;QC;H3P 1X1;Canada version:2.1 email;internet:[EMAIL PROTECTED] title:President fn:Pierre Saint-Jacques end:vcard
