Avatar billede kjs Nybegynder
30. april 2001 - 19:25 Der er 7 kommentarer og
1 løsning

Exhangeserver Gået ned !!!

Jeg kan se at der er andre Exhangespørgsmål i denne gruppe, så jeg prøver her.

Jeg er forholdsvis ny administrator i en lille virksomhed som indtil for 4 dage siden havde en NT Small Businness server med Exhange server 5.5. Serveren gik fuldstændigt ned man kunne ikke få fat i data fra exhangeserveren via outlook og Administratorprogrammet kunne ikke startes.

Jeg har herefter installeret en ny NT40 server (ikke small business) og en ren Exhangeserver 5.5.

Nu er mit problem bare - kan jeg på nogen måde reetablere de data jeg har fra den gamle exhange - jeg har både priv.mdb og pub.mdb samt stort set alle de andre filer fra den gamle installation. Jeg har prøvet at kopiere priv.mdb og Pub.mdb over i den nye installation - men den går ikke.

Desuden er der på netværket en INTEL router som har været brugt til at hente mail med. Så vidt jeg kan se i den nye exhange server -kan man kun hente mail via modem - eller via en DNS forbindelse. Er der nogen der ved hvordan man sætter exhange op til at hente post hos udbyderen (dropbox) via routeren.

Avatar billede sokristi Nybegynder
30. april 2001 - 19:37 #1
Hvis du har to kørende exchange servere på samme site kan du forholdsvis nemt flytte data fra den ene til den anden. Har du backup af data fra den gamle server? Det er muligt at restore sådanne data, så de kan anvendes, jeg kan bare ikk\' huske liige hvordan :-(

Hvis du fortæller din router til hvilken IP adresse den skal levere (og hvilken den skal modtage og videresende til udbyderen fra) og fortæller din Exchange server hvad den skal gøre(under opsætning af internet mail service kan du f.eks under \"connections\" angive, at serveren må \"accept connections from any host\" henholdsvis at den skal \"forward al messages to host\" til en host(/router) med en specifik IP adresse) skulle du nok kunne få skidtet til at virke
Avatar billede kjs Nybegynder
30. april 2001 - 20:12 #2
Den gamle Exhange server kører ikke mere - men jeg har backup af alle filer fra den gamle server.
Avatar billede k_la Nybegynder
30. april 2001 - 20:57 #3
Hvis ikke du har en backup fra den kørende exchange har du næppe en chance  - Jeg har prøvet alt det du sidder i  uden succes, men prøv lige at kigge på MS support siderne

mht IMC\' en så kan den køre uden modem det skal du sætte på inde på Internet Mail connectoren ( her skal du opsætte IP adresse på dinmail provider og domæne )


Når du ikke kan anvende Priv og PUb filerne direkte er det fordi din servers SID bruges både i forbindelse med brugeradmin og exchange brugerne, så det går ikke.

Den bedste løsning er altid at have 2 servere kørende og lade den ene stå \"standby\" med sharede public filer, så kan brugerne flyttes med et snuptag, men husk at når du laver nye servere, lav dem altid som backup domæner og promote en af dem til primær, - lav aldrig en ny primær når du arbejder med en exchange
Avatar billede kjs Nybegynder
30. april 2001 - 21:06 #4
Hej k la

Jeg har som sagt backup af hele den gamle exhangeserverinstallation. Den gamle server gik ned. Men jeg var i stand til at kopiere alle filer
fra Exhangekataloget til en anden PC. Så jeg har alle filer fra den gamle exhange server.
Avatar billede k_la Nybegynder
30. april 2001 - 22:35 #5
Ja men det hjælper dig ikke at du har en filkopi - den backup du skal bruge skal være lavet med et backupværktøj der sikrer dig dataintegritet. (eller lavet med en stoppet exchange og med regedit + alt det andet)

Bag hele exchangen ligger der en database, der har en del lighedspunkter med MSQL, men du vil ikke være i stand til at start eller genfinde data - desværre - jeg har selv brugt dage og nætter på et problem som dit.

Men du kan jo godt prøve - det første du skal efter at have kopieret filerne er at køre konsistens check på alle datafilerne (både dem der med ext pub og prv - del ligger i underbibliotekerne under exchange, programmet ligger i bin - gå ind og søg hjælp ved MS til dette.
det næste du skal sikre er at servicene starter op - privat store og public store starter sandsynligvis ikke. lykkes det at starte de grundlæggende services, skal du prøve at starte administratoren med parameteren RAW (så kan den starte selv om alt ikke kører)

Du har en svær opgave foran dig  - desværre - det havde nok været lettere at hjælpe dig hvis det havde været den oprindelige server.
Avatar billede johnfs Nybegynder
30. april 2001 - 23:32 #6
Dette er ikke nogen nem sag, men her har du et dokument som evt. kan hjælpe dig.

Exchange Disaster Recovery
in a Nutshell

1        General information


1.1      Software agents


In case of a disaster recovery scenario, you should always make sure there are no software agents running in the background. Meaning: you should verify that you, as the administrator, remove the virus scanner, or any other software agent that runs in the background, from the system first. This is really important, because the point is that the mail server should be up and running again and problems with locked files or any other problem should be avoided before taking any action.



1.2      Solving the actual cause is more important


Secondly there is the event log file. Event log files are extremely important in case of disaster recovery. Looking at the actual course of the disaster and even better, solving the original problem first, is the best course of action. In this case you can set the Exchange services to manual and after you have rebooted the Exchange server, check what events are popping up.



1.3      Hardware and software requirements


Another thing is that Exchange uses loads of free hard disk space and RAM (Random Access Memory). Make sure you have enough of both of them.  Configure the paging file to at least total RAM * 1.5 or total RAM * 2 for the minimum size. The maximum size of the paging file should be set to a higher size.





2        Exchange and the tools to use


2.1      Getting Exchange up and running again and minimizing downtime


In case of a disaster recovery scenario, the administrator has to decide if he wants to restore from latest backup or “try” to get the databases back to a consistent state. First of all, the administrator has to verify that there is a recent backup available. If there isn’t, there are not many options left. However, if there is one, the administrator has to verify if the backup is recent and if the backup is consistent.



In general there are two options here:

1.        Restore from previous backup.

2.        Run some integrity tools on the Exchange databases.

2.2      General information on the tools


With Exchange 4.0 and 5.x, there are some tools you can use to get the system up and running again. You can find these tools in the following folder:



                X:\\EXCHSRVR\\BIN



In case of disaster recovery scenario, please make sure you understand the several risks of using these tools. You can find more information on the Internet, for example:

In case of disaster recovery scenario, please make sure you understand the several risks of using these tools. You can find more information on the Internet, for example:

1.        http://www.microsoft.com/exchange/DeployAdmin/DeployAdmin.htm.

2.        http://www.microsoft.com/technet/support/default.htm.



2.3      Most important tools for a disaster recovery scenario


The tools that make the administrator’s live more easily.

1.        Isinteg.exe.

2.        Eseutil.exe or edbutil (in case of Exchange 4.0 or Exchange 5.5).





3        Three things to take into consideration


3.1      Exchange Optimizer


After you have successfully installed Exchange, Exchange asks the administrator if he wants to run the Exchange Optimizer. This is a really cool tool that separates the Exchange databases and Exchange log files from each other. Of course the tool does more than that, however the Exchange Optimizer will not be discussed in this document. In case of disaster recovery, you should really make sure you understand the way Microsoft Exchange stores the data.



Let me summarize the most important folders.

1.        First of all, there are the program files. Exchange program files are located in the following folder: \\EXCHSRVR\\BIN.

2.        The information store (priv.edb/pub.edb and some other files) is located in the following folder: \\EXCHSRVR\\MDBDATA.

3.        The directory store (dir.edb and some other files) is located in the following folder: \\EXCHSRVR\\DSADATA.

4.        The MTA-dat files (*.dat) are located in the following folder: \\EXCHSRVR\\MTADATA.



However, remember that after you have run the Exchange Optimizer, there is not just one \\MDBDATA folder. Exchange places the data and the log files at separate locations. The trick is that you should backup all the folders named \\MDBDATA and all the folders named \\DSADATA



We will cover this thing when we discuss the several tools.

3.2      Exchange databases and Log files


Generally, if you understand that log files and Exchange databases can be corrupt, you will understand the most important things of disaster recovery. That means that, after you have scanned the Exchange databases for corruption, after that you have noticed that there is no corruption involved, there still might be a possibility that you cannot start up one or all of the Exchange services.



We will cover this thing when we discuss the several tools.

3.3      Mta (Message Transfer Agent) problems


Another thing that an administrator should take into account is that the Exchange services are dependent on each other. Meaning, even if you have verified that the Exchange databases are in the “Consistent” state and even after you have removed the log files, the Information store still doesn’t start up.



In this case, you will have to look into the event viewer. Are there any, for example MTA, problems mentioned? If you start up the SA (System Attendant) and the MTA, is there an error mentioned? In most cases there will be the 2140 error. This is the most common error and does not give you a clue. However, the trick is here that you will have to look in the event viewer again.



Problems with SA and MTA will not be discussed in this document.



4        Tools and parameters and general precaution


4.1      General precaution: Disk Space


Exchange 4.0 and 5.0
--------------------
Exchange will need 110% of the size of the priv.edb and pub.edb files in free disk space. The question here is if the customer already freed up hard disk space. During disaster recovery, this is really important.

Exchange 5.5
------------
Exchange will need 25% of the size of the priv.edb and pub.edb files in free disk space. The question here is if the customer already freed up hard disk space. During disaster recovery, this is really important.



4.2      What is needed for a successful Exchange recovery


Before running any tools on the Exchange databases, you should make sure you have a consistent and recent backup of the following files:

1.        Priv.edb (mail messages).

2.        Pub.edb (public folder hierarchy).

3.        Dir.edb (objects within Exchange).



Best practice is that you stop all the Exchange services and make a file copy of the following folders:



EXCHSRVR\\MDBDATA.

EXCHSRVR\\DSADATA.



NOTE: make sure you have a copy of all the \\EXCHSRVR\\MDBDATA and \\EXCHSRVR\\DSADATA folders. For more information, see the Online Help within Exchange Administrator and search for “Exchange Optimizer”. Check all your hard drives or partitions. There might be a case that there are more than one \\MDBDATA and \\DSADATA folders. You need to back all of these folders first.



4.3      The parameters
4.3.1      Checking the state of each database


Exchange 4.0 and 5.0
--------------------
EDBUTIL /mh x:\\exchsrvr\\mdbdata\\priv.edb > privmh.txt.
EDBUTIL /mh x:\\exchsrvr\\mdbdata\\pub.edb > pubmh.txt.
EDBUTIL /mh x:\\exchsrvr\\dsadata\\dir.edb > dirmh.txt.

Exchange 5.5
--------------------
ESEUTIL /mh x:\\exchsrvr\\mdbdata\\priv.edb > privmh.txt.
ESEUTIL /mh x:\\exchsrvr\\mdbdata\\pub.edb > pubmh.txt.
ESEUTIL /mh x:\\exchsrvr\\dsadata\\dir.edb > dirmh.txt.



NOTE: if you run this tool from the \\EXCHSRVR\\BIN folder, the text file will be placed in the same folder. You can view the output with a standard editor such as notepad or edit.com. Running the tool again, replaces the original text file. It does not append the new data to the text file. There is no need to run the tools in the order documented in this document.


The output, will give you the clue whether the “State” of the Exchange databases are “Consistent” or not (“Inconsistent”).



NOTE: if the state is of each database is consistent, and you still cannot start up the Exchange services, you might want to look at the log files. There is no need to run the same tool again with different parameters. The solution in that scenario will be that you clear all the files out of the \\MDBDATA folder except for the priv.edb and pub.edb files and that you clear all the files out of the \\DSADATA folder except for the dir.edb.



NOTE: if you “delete” these files from the \\MDBDATA folder without making a file copy of them, there is no way that you can use the same files again. Just moving them to a save location (for example in the folder \\BACKUP\\MDBDATA) will be better.



After you have moved all the files from the \\MDBDATA folder except for the priv.edb and the pub.edb files and after you have moved all the files from the \\DSADATA folder except for the dir.edb file, start up the SA, MTA and DS (Directory Store). From a command prompt (\\EXCHSRVR\\BIN), run the following command



                ISINTEG - PATCH



After that this tool has completed succesfully, start up the rest of the services.

4.3.2      Making the databases consistent: caution


Assuming that each database is “Inconsistent”. That means that the administrator will have to do some scanning and run some basic integrity checks.



The precaution in this case is that you have made a file copy of ALL (in case of the Exchange Optimizer) of the following folders:



                \\EXCHSRVR\\MDBDATA

                \\EXCHSRVR\\DSADATA



4.3.2.1  The scanning itself


Note: all the Exchange Services should have been stopped.



Exchange 4.0 and 5.0
------------

EDBUTIL /d /r /ispriv.
EDBUTIL /d /r /ispub.

Exchange 5.5
------------
ESEUTIL /p /ispriv.
ESEUTIL /p /ispub.

NOTE: where x: is the drive containing the required free disk space.



After you have run the repair option of the edbutil or eseutil tool for each database, you should start up the SA, MTA and DS. It should start now. If it doesn’t start, just have a look at paragraph regarding the log files. There might be a possibility that they are corrupted too.



Finally, you should run the following commands.



Exchange 4.0 and 5.0
------------

ISINTEG –fix –pri
ISINTEG –fix –pub
ISINTEG –patch



Exchange 5.5
------------
ISINTEG –fix –pri –test alltests
ISINTEG –fix -pub -test alltests

ISINTEG –patch.





5        Scenario: “Moving Exchange to another machine”


5.1      General information


In this scenario, the moving of Exchange 5.5 to another machine or hardware will be discussed. In the previous chapters, the restoring of Exchange to the same machine was discussed. There was no need to reinstall Exchange at that point. In this chapter, a full reinstall will be discussed. After the reinstall has been completed successfully, a full restore of the (old) Exchange databases to this newly installed machine will have to be performed. Note that there are some pre-installation requirements.



5.1.1      Pre-installation requirements


Before installing Exchange to another machine, the administrator has to make sure that he knows the original install of Exchange. It is really important that the administrator documented the settings. During install of the new Exchange Server, the administrator must type in the original directory name of the Organization and Site name. This is really important. If the administrator makes a typing error, there is no way to reinstall the original Exchange databases to the newly installed Exchange Server.



To make sure that the administrator knows the original directory name of the Organization/Site name, he will have to follow the following steps:

1.        Start up Exchange Administrator program.

2.        Point to the Organization name.

3.        Point to the File menu and point to the Properties.

4.        Document the directory name of the Organization name.

5.        Point to the Site name.

6.        Point to the File menu and point to the Properties.

7.        Document the directory name of the Site name.



Best practice in this case is that you also document the other settings of Exchange, such as the several settings of the Internet Mail Service. Any other settings, the administrator specifically configured for this Exchange environment, will not be discussed in this document.



5.1.2      Reinstall Exchange, SAM database and directory store


In this scenario the reinstall of Exchange will take place on a different machine. Meaning: the newly installed NT machine does not contain the original users. The original SAM databases had been replaced. The thing is that the directory store cannot be restored.



In this scenario, the directory store will not be restored. Only the information store will be restored to the newly installed Exchange server box.



5.2      The procedure itself


After that the administrator has performed a full reinstall of NT, created the users and reinstalled Exchange with the latest service packs, the restore will have to be done.



NOTE: during the install of the new Exchange server, the setup program will ask for the name of the Organization and Site name to be created. The administrator must use the original Organization and Site name that he documented earlier.  That is really important. Otherwise, he will have start up all over again.



NOTE: do not run the Exchange Optimizer after the install of the Exchange Server box.



The procedure will look like the following:

1.        Stop the Exchange Server services from Control Panel/Services on the newly installed Exchange Server.

2.        Clear all the files in the \\MDBDATA folder.

3.        Copy the priv.edb and pub.edb to the \\MDBDATA folder you previously cleared. If you restore from tape backup, you restore the Information Store. Not the directory store or dir.edb.



NOTE: it is possible to restore the directory store. To do so, there is a tool on the market that will do that job. However, this will not be discussed in this document. For your information, the tool is called DSAMAIN.EXE.



4.        Start up System Attendant/Message Transfer Agent/Directory Store from Control Panel/Services.

5.        Run isinteg –patch from the command prompt.

6.        Start up the rest of the services.

NOTE: If the Information Store does not start up, there might be an issue that you will have to delete
the \"Restore In Progress Key\" from the registry. Note the \"Restore In Progress Key\" in the registry and delete this \"Restore In Progress Key\":



HK_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\MSExchangeIS
HK_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\MSExchangeDS



7.        Start up the Information Store.

8.        Run DS/IS (Start up Exchange Admin program, Site/Configuration/Servers/YourServerName/File Menu/Properties/Advanced button/Consistency Adjuster/Enable four options/All inconstencies).

9.        From the Recipients Container in Exchange Admin, you should get the properties of each mailbox and
add the NT Account as the Primary NT Account.



NOTE: the administrator will have to edit each messaging profile to point to the newly installed Exchange Server machine. If the administrator has used the same machine name, there might be a possibility that he will have to edit each messaging profile and that he has to click on the “Check name” feature.
Avatar billede johnfs Nybegynder
30. april 2001 - 23:58 #7
Med hensyn til at modtage Email fra en udenbys pop3 konto har Microsoft et lille add ins du kan installer.

Connect Exchange Server to a POP3 Mailbox

http://www.microsoft.com/TechNet/sbs/tools/pop3sbs.asp
Avatar billede johnfs Nybegynder
01. maj 2001 - 00:03 #8
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester