• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

eseutil / isinteg from a batch file

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2003] >> Information Stores >> eseutil / isinteg from a batch file Page: [1]
Login
Message << Older Topic   Newer Topic >>
eseutil / isinteg from a batch file - 20.Sep.2006 9:19:22 PM   
watchter

 

Posts: 3
Joined: 20.Sep.2006
Status: offline
setup----
HP ML350
windows server 2003
Exchange 2003
Veritas 10

couple questions:

1. Currently I run eseutil and isinteg manually from command line.  The isinteg is working fine. and eseutil works fine on one of my servers, albeit it takes a little while.
But on my primary server (described above) its taking a crazy long time to run (8+ hours and it still didn't complete). Priv1.edb is ~8.2 GB.  I ran the veritas backup and eseutil at the same time, so I think they might be conflicting with each other.  I'm going to try and run the eseutil while veritas isn't running, hopefully that will help with that issue.  Any further feedback is requested.

2. I would like to try and run the necessary steps for eseutil and isinteg from a batch file. Possibly using the Windows scheduled tasks app to kick off the batch file at a prescheduled time.
I think it would need to do the following:
(possibly stop veritas services)
dismount both public and private stores
run isinteg
run eseutil
save results to a log file
send email containing the log file
remount both public and private stores
(possible restart veritas services)

Any help in setting up a batch file is greatly appricated.

All feedback and recomendations are requested.

Thanks in advance,
Mike
Post #: 1
RE: eseutil / isinteg from a batch file - 20.Sep.2006 10:37:12 PM   
neilho

 

Posts: 793
Joined: 25.Oct.2004
From: UK
Status: offline
I'd start by asking why you're doing this.  You simply don't need to run either ISINTEG and ESEUTIL on a regular basis (it's a common misconception that you do).  Exchange is designed as a 24x7 application and is used that way in large companies.  Unless you're troubleshooting a specific problem, or perhaps have moved a large number of mailboxes off of a mailbox store and wish to reclaim the whitespace, you just don't need to be messing with these utils.  Really.  As long as Exchange's online maintenance processes complete overnight (check your event logs for this) you should be fine.

So sit back and have a beer rather than waste time scheduling these utils. 

_____________________________

Neil Hobson
http://www.msexchange.org/Neil_Hobson
http://www.simple-talk.com/author/neil-hobson/

(in reply to watchter)
Post #: 2
RE: eseutil / isinteg from a batch file - 20.Sep.2006 10:53:55 PM   
watchter

 

Posts: 3
Joined: 20.Sep.2006
Status: offline
Neilho-
I don't disagree with you.  I have read all of the documentation (message boards, white papaers, MS knowledgebase articles) that supports your statements.  However the short of it is, this task has been delegated to me and is a requirement for me to meet my customers (aka, the bosses) expectations.  Therefore, it is something that I have to do, I don't have a choice in this matter.

In an effort to make this as painless as possible, I would like to integrate this process in a batch file format, if possible.

Thanks,
Mike

(in reply to neilho)
Post #: 3
RE: eseutil / isinteg from a batch file - 20.Sep.2006 11:28:00 PM   
tiallen

 

Posts: 278
Joined: 26.Jan.2006
From: Minneapolis MN
Status: offline
business people making technical decisions... yuck!
 
Well, if you've advised them that they'll be operating their messaging environment outside of its designed parameters... and they are aware that nobody else is doing this, and you've told them that as the mdbs grow, this process will take exponentially longer... and they still insist on paying you to fsck their environment up... It is most defiantly possible to integrate this into a batch file and schedule it...
 

Stop veritas service: net stop 'name of veritas service' (should be able to determine based on the services snap-in... if not check hklm\system\currentcontrolset\services\)
Dismount both public and private stores: if they're the only stores on the server you can use the quick and dirty 'net stop "Microsoft Exchange Information Store"'
run isinteg
run eseutil
to save the results to a log file, pipe the output of everything > "C:\location\logfile"
to send the email confirmation my approach would be to write a message addressed to whoever is receiving the confirmation and throw the logfile's contents into the message body, write this file to the SMTP pickup directory
remount via net start "Microsoft Exchange Information Store"
re-enable veritas using net start "service name"
 

as Neil said, and I agree with and respect him 110%, this is a terrible idea, and whoever delegated it to you isn't fit to manage an exchange environment...

 
one other thing, make absolute certain that online maint is occurring and completing successfully outside of the scheduled offline defrag.



_____________________________

Tim Allen
http://www.linkedin.com/in/timallen

(in reply to watchter)
Post #: 4
RE: eseutil / isinteg from a batch file - 21.Sep.2006 12:12:25 AM   
watchter

 

Posts: 3
Joined: 20.Sep.2006
Status: offline
Tiallen and neilho-
Thank you both for your comments.
I am low man on totem pole and am in no position to question the head guru's.
They are all intellegent individuals I respect them and there decisions.
They do have a lot of experience and have great success with their networks.

Perhaps when I'm head admin over my own system, I will be able to make these types of decisions.
But for now, what they want, is what I provide, or try to provide.

Thank you both for your comments and input.

I will let you know how the script goes.

Thanks,
Mike

(in reply to tiallen)
Post #: 5
RE: eseutil / isinteg from a batch file - 6.Oct.2006 5:38:15 AM   
jchong

 

Posts: 2516
Joined: 1.Dec.2005
From: Centreville, Virginia
Status: offline
This script should help.

Defragment the Exchange Information Store

http://www.microsoft.com/technet/scriptcenter/csc/scripts/email/exchange/cscem008.mspx

_____________________________

James Chong
MCSE | M+, S+, MCTS, Security+
msexchangetips.blogspot.com

(in reply to watchter)
Post #: 6
RE: eseutil / isinteg from a batch file - 8.Oct.2006 4:58:55 PM   
Exchange_Admin

 

Posts: 376
Joined: 23.Feb.2003
From: Texas
Status: offline
Let me add my 2 cents worth on this matter.
If you are determined to do this, then I STRONGLY reccommend that you make a copy of your databases PRIOR to running any utilities against the databases.
I say this because you cannot control what happens when running these utilities. I have seen power surges/outages (or other hiccups) cause a faulty write into the databases that can make them unusable.
Of course this will drastically increase the down time involved.

Russ Jenkins
Exchange MVP

(in reply to jchong)
Post #: 7
RE: eseutil / isinteg from a batch file - 9.Oct.2006 1:28:15 AM   
consultOz

 

Posts: 926
Joined: 11.Mar.2005
From: Virginia, USA
Status: offline
I agree  you dont play with these utilities or make it a Regular admin task
Simply don't use if if you have no need
Event ID 1221  will tell you how much White space you can reclaim, you are looking into down time, since you willl have to perform these utilities Off line
Means no mail to your business, prior to it you MUST do a backup anyway
you never know what will happen,
of course you grap a  hot Pot of nice Coffe with you and enjoy your Ipod

Regards
oz

_____________________________

Regards,
Oz Casey Dedeal
MVP (Exchange)
MCITP (EMA),MCITP (EA), MCITP (SA),
MCSE 2003 M+ S+, MCDST
Security+, Project+ ,Server+
http://smtp25.blogspot.com (Blog)
http://telnet25.wordpress.com (Blog)

(in reply to Exchange_Admin)
Post #: 8

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2003] >> Information Stores >> eseutil / isinteg from a batch file Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter