Before you can introduce Windows Server 2003 domain controllers, you must prepare the forest and domains with the ADPrep utility.
* ADPrep /forestprep on the schema master in your Windows 2000 forest.
* ADPrep /domainprep on the Infrastructure Master in each AD domain.
ADPrep is located in the i386 directory of the Windows Server 2003 install media.
Note: In Windows Server 2003 R2, ADPrep is not located in the same folder as in the older Windows Server 2003 media, and instead you need to look for it in the second CD. You see, Windows Server 2003 R2 comes on two installation disks. Installation disk 1 contains a slip-streamed version of Windows Server 2003 with Service Pack 2 (SP2). Installation disk 2 contains the Windows Server 2003 R2 files.
The correct version of the ADPrep.exe tool for Windows Server 2003 R2 is 5.2.3790.2075.
You can find the R2 ADPrep tool in the following folder on the second CD:
drive:\CMPNENTS\R2\ADPREP\
Note, running adprep on the PDC should be good enough.
This blog simply records all I've learned for IT knowledge.
Tuesday, September 9, 2008
Thursday, September 4, 2008
script for collecting sys info
#!/bin/sh
do_cmd_output() {
echo "$*"
$*
echo
}
do_file_output() {
for file; do
[ -f $file ] && do_cmd_output cat $file
done
}
oom_output() {
echo '======================================================================='
date
echo '======================================================================='
echo
do_file_output /proc/meminfo
do_cmd_output ps -Aww -o pid,ppid,pcpu,vsize,rss,majflt,tty,stat,wchan,command
do_cmd_output top -b -n 1
do_file_output /sys/block/sda/queue/stats
do_file_output /proc/nbt/0/icore_stats
do_file_output /proc/nbt/0/icore_dstats
do_file_output /proc/nbt/0/icore_mstats
}
while true
do
oom_output >> /var/log/oom_profile.log
sleep 30
done
do_cmd_output() {
echo "$*"
$*
echo
}
do_file_output() {
for file; do
[ -f $file ] && do_cmd_output cat $file
done
}
oom_output() {
echo '======================================================================='
date
echo '======================================================================='
echo
do_file_output /proc/meminfo
do_cmd_output ps -Aww -o pid,ppid,pcpu,vsize,rss,majflt,tty,stat,wchan,command
do_cmd_output top -b -n 1
do_file_output /sys/block/sda/queue/stats
do_file_output /proc/nbt/0/icore_stats
do_file_output /proc/nbt/0/icore_dstats
do_file_output /proc/nbt/0/icore_mstats
}
while true
do
oom_output >> /var/log/oom_profile.log
sleep 30
done
Subscribe to:
Posts (Atom)