27 Jul 2010

vSphere client on Windows 7

http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7

Many of you, like myself, have started running Windows 7 as their primary desktop OS and find it to be a massive improvement over Windows Vista on so many levels.
One of the very few inconveniences I have found with it, and this is not an bug or problem with Windows 7 itself, is the inability to run the VMware vSphere Client.
UPDATE: Good News – This issue has now been resolved in VMware ESX/ESXi 4.0 Update 1 (U1).
When attempting to run the client the following errors are received and you are unable to proceed any further:
“Error parsing the server “

Error parsing the server “<server name” “clients.xml” file

“The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”

The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception

Luckily there have been a few good VMware forum posts such as this one by ftubio which outlines how to successfully run the vSphere Client under Windows 7.  I thought I’d put together this brief post with a few screenshots to outline the required steps.
I am running the x64 version of Windows 7 so you will notice that any reference to the ‘Program Files’ will have an ‘(x86)’ at the end of it.  If you are running the x86 version of Windows 7 then ignore the ‘(x86)’ portion of the directory path (ie: C:\Program Files (x86) –> C:\Program Files).
Follow these 4 basic steps and you’ll be up and running in no time!

Step 1.

imageDownload this DLL called system.dll
*Note:  This DLL is usually found in the  %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\  directory of a non Windows 7 PC with  .NET v3.5 SP1 installed.

Step 2.

Once downloaded install it in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib” directory.  If the ‘lib’ directory doesn’t exist then create it and drop the dll file into it.
VMware vSphere Client Windows 7

Step 3.

Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it in the location specified in the screenshot below.  Then save the changes.


VMware vSphere Client Windows 7

Step 4. 

From the Windows 7 ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button as we want to add a new ‘System’ variable.
VMware vSphere Client Windows 7

Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:
C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

VMware vSphere Client Windows 7

You are now ready to start using the VMware vSphere Client on your Windows 7 machine!  Some people have reported having to run the client as an ‘Administrator’ so if you are having difficulties it may pay to try this – I luckily didn’t experience this problem. Also you will likely have to reboot your machine (or restart the explorer.exe process) for your new path information to come into effect.

VMware vSphere Client Windows 7

26 Jul 2010

ifone settings for IP Phone AT320 - 530

AT320 settings panel

Enable SSH in ESXi 4.0



By default SSH is disabled in ESXi however you can enable it by follow these steps:


  1. At the Administration Windows press Alt+F1. You will get a black screen
  2. Type the word unsupported and press Enter
  3. Enter your root password and press Enter, you will get a prompt
  4. Change directory into /etc
    #cd /etc
  5. Open inetd.conf in vi
    #vi inetd.conf
  6. arrow down until you see #ssh stream tcp…
  7. With the cursor on the # type x to delete the #
  8. Type :wq! to exit vi and save your changes
  9. Restart host or restart inetd process

Restart inetd process

    • Now we need to find the process running inetd. To do that run the following command
      #ps -a grep inetd
    • Find the process number, lets pretend it is 1234. Run the following command to kill the inetd process
      #kill 1234
    • Now we need to start inetd again
    • #inetd
    • You then will be able to access host via SSH

    23 Jun 2010

    Remove dead dc in 2003 AD

    Remove Server Đã Chết

    ntdsutil
    metadata cleanup
    connections
    connect to server servername.domainname
    quit
    select operation target
    list domains
    select domain 0
    list sites
    select site 0
    list servers in site
    select server 0
    quit
    remove selected server

    quit --> quit --> exit

    Để ta có thể làm bài lab này mình xin giới thiệu sơ lược về các phần trước để cho các bạn có thể hiểu rõ hơn.
    Giả sử ta có 1 domain gồm 2 DC,1 là master DC và 1 addition DC (xem lại phần 2). Sau khi master DC (server 1) bị chết và ta đã biến addition DC (server 2) thành Master để thay thế master DC đã chết (xem lại phần 3). Tuy nhiên vấn đề vẫn còn để cho chúng ta giải quyết, chính là xác của server 1 ( đã chết) vẫn còn nằm trong hệ thống domain chúng ta, làm cho hệ thống chúng ta sẽ bị chậm đi. Do vậy yêu cầu mới lại được đặt ra ,làm sao ta có thể xóa xạch các vết tích về server đã chết để ta có thể tối ưu được tốc độ hệ thống. Do đó ta phải đi dọn xác nó

    Yêu cầu: đã làm các bước ờ phần 1 và phần 3


    -------------------------------------------------------------------------------
    Bài lab này gồm các bước:

    bước 1: Giả sử server 1 chết hẳn
    bước 2: từ server 2 thực hiện theo phần 3. sau đó ra CMD ta đánh tiếp các lệnh để gở bỏ xác domain đã chết.


    -------------------------------------------------------------------------------
    khi thực hiện bài lab này mình làm trên các máy 1,2 của trường nên các máy có kí hiệu như sau:

    - domain: nhatnghe.com
    - pc1: server 1
    - pc2: server 2


    -----------------------------------------------------------------------------------
    Thực hiện

    1\ shut down pc1 (server 1) ,sau đó thực hiện seizing 5 chức năng master cho server 2 như phần 3
    2\ Từ server 2 ----> ra CMD

    Đánh ---ntdsutil---





    Tiếp theo đánh ---metadata cleanup---




    Sau đó đánh ---connections---





    Tại dòng nhắc server connections đánh lệnh ---connect to server Pc02.nhatnghe.com--- (tên đầy đủ của server 2)





    Tiếp theo ta đánh lệnh ---quit---





    Đánh tiếp lệnh ---select operation target---





    Đánh lệnh ---list domain---





    Các bạn để ý dòng found 1 domain(s) chỉ có 1 domain nhatnghe thôi, nên ở đây ta sẽ chọn số 0, tương ứng với domain ta có là nhatnghe (trường hợp nếu bạn có nhiều domain thì cũng sẽ được liệt kê ở đây)

    Do đó ta đánh tiếp lệnh ---select domain 0---





    Ta đánh tiếp lệnh ---list sites---





    Các bạn nhìn tại dòng found 1 site(s). Mặc định ta có 1 site tương ứng với số 0.

    Nên ta đánh tiếp ---select site 0---





    Tiếp theo ta sử dụng lệnh ---list server in site---





    Bạn nhìn tại dòng found 2 server(S) gồm có pc1 (server 1 đã chết,tương ứng với số 0)pc 2 (server 2 còn sống,tương ứng với số 1).

    Do ta muốn remove server 1 đã chết nên ta sẽ đánh tiếp lệnh ---select server 0---





    Tiếp theo ta đánh lệnh ---quit---





    Tại đây ta đánh lệnh ---remove selected server--- (xóa gở bò server 1 mà ta đã chọn ở dòng trên). Nó sẽ xuất hiện lên 1 bảng thông báo hỏi mình có remove không ... ta chọn YES và đợi khoảng 30 giây để nó remove server 1





    Sau đó ta đánh các lệnh quit ----> quit----> exit để thoát khỏi CMD







    Tiếp theo bạn bỏ dĩa cài win2k3 vào cài thêm bộ support tool





    - Sau khi cài xong bộ support tool, ta vào start ---> run ---> mmc .
    - vào menu file ----> add remove snap in
    ---> chọn công cụ có tên là ADSI edit ---> mở ADSI edit chuột phải chọn dòng connect to....






    Tại dòng select a well known naming context: ta chọn domain

    Sau đó ta connect thêm 1 lần nữa .... Nhưng kỳ này ta chọn Configuration.





    Sau đó tại màn hình ADSI edit ta vào theo hướng dẫn trong hình : Domain [pc02.nhatnghe.com] --->DC=nhatnghe,DC=com ----> OU=domain controler . Nhìn sang bên tay phải nếu bạn còn thấy vết tích gì của server 1 (CN=Pc01..) thì xóa nó đi , như ở đây nó đã được xóa rồi






    Tiếp theo ta xuống configuration [PC02.nhatnghe.com] ----> CN=configuration,DC=nhatnghe,DC=com ----> CN=sites ---> CN= default-first-site-name ----> CN=server . Nhìn sang bên tay phải nếu còn vết tích của server 1 (CN=Pc01 ...) thì ta xóa nó đi.





    Click this bar to view the small image.




    Đến đây coi như bạn đã hoàn thành remove server 1 đã chết

    (nhatnghe.com)

    Recover DC Domain password

    Mất password Admin Domain ư !!!. Điều đáng tiếc này có thể xảy ra khi Admin tiến hành thay đổi password mới theo định kỳ nhằm tăng cường hơn nữa an toàn cho hệ thống, nhưng đáng tiếc ví một lý do nào đó, họ đã quên password mới của mình. Và kết quả là họ không còn log-on vào Domain Controller của mình được nữa, và họ cũng không tạo bất cứ một backup admin account nào dự phòng cho việc quên password này...

    Một vài thủ thuật và công cụ đã được công bố giúp reset lại Domain Admin Password trên Windows 2000 Server đã không còn bất ký tác dụng nào trên Windows 2003 Server. Lý do, Microsoft đã áp dụng tăng cường mọi mặt các tính năng bảo mật trên Windows 2003 Server, và những thủ thuật nà đã trở nên vô tác dụng.

    Sau đây là cách thức thiết lập lại Domin AdminPassword account. Và trước khi các bạn tiến hành nó, hãy chú ý kỹ tất cả các yêu cầu bắt buộc dưới đây :

    Khuyến cáo:
    Tài liệu hướng dẫn này chỉ để giúp Admin khắc phục sự cố do chính mình gây ra. Tài liệu không phục vụ cho bất kỳ ý đồ bất minh nào để thực hiện xâm nhập vào hệ thống !
    Các yêu cầu bắt buộc :

    Bạn cần đáp ứng các yêu cầu sau:
    1/ Truy cập cục bộ-Local access vào máy chủ Domain Controller (DC).
    2/ Có được Local Administrator password (đây chính là Active Directory Restore mode password bạn xác lập trong quá trình tiến hành nâng một Server 2003 lên thành Domain Controller 2003, password này hoàn toàn khác với password điều khiển hoạt động của máy chủ DC và Domain- password mà bạn đã quên).

    3/ Có 2 công cụ được cung cấp bởi Microsoft trong bộ Resource Kit: SRVANY và INSTSRV. Download ở đây
    http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en.


    Tất cả các bước tiến hành này đều thực hiện trên một domain với một máy chủ Domain Controller 2003. Nếu domain của bạn có nhiều DCs, có thể chọn bất kỳ Domain Controller nào để thực hiện.

    Tiến hành:

    1. Khởi động lại DC Windows 2003 trong chế độ Directory Restory Service Mode.
    Khởi động lại máy,tại thời điểm startup, nhấn F8và chọn Directory Restore Service Mode. Khi vào chế độ này hoạt động của Active Directory sẽ bị disable.

    Khi màn hình login xuất hiện, log on vào với tài khoản Local Administrator. Và bạn đã có toàn quyền truy cập Local Computer này nhưng không thể can thiệp vào bất cứ vấn đề gì thuộc Active Directory.

    2 Tiến hành cài đặt SRVANY.
    Tiện ích này vận hành Windows NT Service. Và điều thú vị ở đây là chương trình sẽ có các đặc quyền hệ thống- SYSTEM privileges. Và điều này là cần thiết để có thể reset Domain Admin password. Bạn sẽ thực hiện cấu hình SRVANY để khởi hoạt command prompt (sẽ giúp bạn chay các lệnh net user).

    Copy SRVANY và INSTSRV vào một folder tạm thời, ví dụ d:temp. Cũng Copy cmd.exe vào folder này (cmd.exe chình là command prompt, thường nằm ở %WINDIR%System32, ví dụ như : C:WindowsSystem32).

    Khôi phục mật khẩu Admin Domain Controller trên Windows 2003


    Click vào cmd.exe để khởi hoạt command prompt, gõ lệnh Cd D:temp nhấn Enter , Gõ tiếp lệnh instsrv PassRecovery "d:tempsrvany.exe" nhấn Enter

    Cấu hình SRVANY.
    Tại Run gõ lệnh regedit, mở Registry Editor và tìm đến Key
    HKEY_LOCAL_MACHINESystemCurrentControlSetServicesP assRecovery

    Right-click vào key PassRecovery và tạo một Key con Parameters và add vào 2 values mới như sau:

    name: Application
    type: REG_SZ (string)
    value: d:tempcmd.exe

    name: AppParameters
    type: REG_SZ (string)
    value: /k net user administrator new_password

    Khôi phục mật khẩu Admin Domain Controller trên Windows 2003


    Cẩn thận:
    'net user username password' chính là command line để xác lập một new password. Thay thế new_password với password thực sự mà bạn muốn đặt mới. Ghi nhớ rằng một số chính sách của domain- domain policies, có thể yêu cầu bạn phải đặt password phức hợp( complex passwords), do vậy bạn phải đặt password phức hơp thường gồm có chữ Hoa, thường, Số và các ký tự đặc biệt, ví dụ : p@ssW0rd!#$

    Tiếp theo tại Run, gõ lệnh Services.msc hoặc vào Control PanelAdministrative ToolsServices sẽ mở bảng điều khiển các dịch vụ vận hành trên hệ thống. Tìm đến Service có tên PassRecovery, right-click chọn property tab. Kiểm tra start mode phải là Automatic.

    Khôi phục mật khẩu Admin Domain Controller trên Windows 2003


    Mở Log On tab và check vào lựa chọn Allow service to interact with desktop. Tại thời điểm này bạn có thể restart Windows, và SRVANY se chạy lệnh netuser command để tiến hành reset lại domain admin password.

    3 Khởi động lại Windows ở chế độ thường -normal mode
    Chờ khi màn hình login xuất hiện. bạn sẽ không nhận thấy command prompt xuất hiện khi thực hiện lệnh net user command. Nhưng đừng lo lắng, command vẫn được thực thi bên trong hệ thống -background.

    Log on với tài khoản Administrator, password bạn vừa xác lập mới ở trên. Hệ thống sẽ ban đầy đủ quyền truy cập cho bạn. Nếu không quay lại bước 2 và đảm bảo rằng bạn không quên password mới đã xác lập hoặc xác lập sai các values khác.

    Khi desktop xuất hiện, bạn sẽ thấy command prompt. Command prompt được khởi động bởi SRVANY.

    Khôi phục mật khẩu Admin Domain Controller trên Windows 2003


    Đến đây đã đạt được mục đích, tiến hành gỡ bỏ SRVANY:

    Thực hiện các lệnh:

    net stop PassRecovery
    sc delete PassRecovery

    Xóa tiếp folder d:temp đã tạo. Finished !


    (Tham khảo QTM)

    21 Mar 2010

    Restore System State by Veritas Exec Backup 10d

    Sympton:
    An "Access denied" error is received, and the system goes to Unavailable and cannot be chosen as a restore target during the restore of System State on an Active Directory server.

    Details:
    After submitting a restore of System State for an Active Directory server, the job starts and if necessary it moves the appropriate "System State.dat" file back to the business server. The recovery part of the restore of system state fails because Active Directory is online and the following alert is returned:

    "In order to complete the restore of System State information, restart the computer in Directory Services Restore Mode and run Symantec DSRM System State Restore." The restore job then completes.

    This step is normal and MUST be run with the business server in "normal" mode (not Directory Services Restore Mode) so that communications between the business server and the Continuous Protection server work as expected. At this point in time the correct "System State.dat" file is on the business server and other system state jobs are prevented from running, which stops the correct "System State.dat" file from being overwritten. You would see the following alert if another system state backup job is submitted:

    "CPS is unable to backup System State while a DSRM restore of System State is pending."
    Note: Non-system state jobs should run without any problem.

    To continue the recovery, follow these steps:

    1. Reboot the business server and enter Directory Services Restore Mode.
    2. Login as the "Administrator"
    3. Navigate to "C:\Program Files\VERITAS\Continuous Protection Server" (or wherever CPS is installed ) with Windows Explorer.
    4. Locate the file "Symantec DSRM System State Restore.bat" and launch the file by double-clicking on it. The restore is started again, but this time it will succeed because the machine is in DSRM and no communications with any other CPS component is required.
    Once the restore completes the window closes and the batch file is deleted.
    5. Reboot the computer, but do not enter DSRM and the "restored" system state information will be "active".

    http://seer.entsupport.symantec.com/docs/278653.htm


    How to perform a restore of an Active Directory Domain Controller using Backup Exec Continuous Protection Server (CPS)


    How to perform a restore of an Active Directory Domain Controller using Backup Exec Continuous Protection Server (CPS)

    http://seer.entsupport.symantec.com/docs/278898.htm

    Details:

    To restore an Active Directory Domain Controller, perform the following steps:

    1. Do NOT boot into Directory Services Restore Mode (DSRM), on the navigation bar select Restore.
    2. In the task pane, select the computer.
    3. In the selections pane, select the System State files.
    4. In the task pane, under Restore Task, select Restore Files.
    5. Define the appropriate options: Job Name, Description.
    6. Click OK.
    7. Click OK to clear the confirmation message.
    8. The Job should complete with an alert "Unable to restore System State." The alert displays the following dialog, "In order to complete the restore of System State information, restart the computer in Directory Services Restore Mode and run Symantec DRSM System State restore."
    9. At this point, boot the system into Directory Service Restore Mode.
    10. Enter the DSRM password and log into the system.
    11. On the desktop there will be a batch file named Symantec DRSM System State restore.dat, run it by double-clicking on it.
    12. A command window will appear and the restore will begin.
    13. After the restore has completed the command box will disappear, and a reboot countdown dialog will be displayed.

    At this point, follow the steps in the following technote to use FixServer:
    http://support.veritas.com/docs/277853
    This will eliminate the duplicate entries of the business server in the Servers folder.

    http://support.veritas.com/docs/277853

    13 Mar 2010

    Backup và Restore Exchange 2003 với Recovery Storage Group

    Backup và Restore Exchange 2003 với Recovery Storage Group

    Mọi quản trị viên hệ thống Exchange cần phải có một phương pháp khôi phục dữ liệu tối ưu để có thể sử dụng trong trường hợp máy chủ bị lỗi hay tình cờ xóa đi các email.
    Backup và Restore Exchange 2003 với Recovery Storage Group
    Bài viết này sẽ hướng dẫn các bạn một phương pháp khác đó là sử dụng kết hợp Recovery Storage Group với một công cụ backup và restore. Cụ thể chúng ta sẽ đi tìm hiểu phương pháp cài đặt Recovery Storage Group trong Exchange Server 2003 và sử dụng chúng để khôi phục các email cũng như hòm thư. Bạn có thể sử dụng công cụ này để thực hiện backup trước khi nâng cấp hệ thống Exchange Server 2003 lên Exchange Server 2007.

    Giả sử bạn với vai trò là một quản trị viên hệ thống Exchange Server gặp phải hai tình huống sau: Khi đi nghỉ bạn nhận được yêu cầu từ người quản lý yêu cầu quay trở lại công ty để khôi phục lại một email đã bị xóa cách đây hai tháng. Email này đã được xóa bởi chính sách khôi phục những mục xóa.Tuy nhiên, sau khi bạn trở lại công ty thì hệ thống Exchange đã bị sập hai ngày trước đó, gây lỗi một số hòm thư hay tự động xóa một số lượng mail lớn của một số người dùng.

    Bạn không nên quá lo lắng vì nếu đã lên lịch backup cho máy chủ thì bạn có thể dễ dàng tìm lại những thông tin này.

    Recovery Storage Group khá hữu dụng, nó cho phép người dùng khôi phục dữ liệu trực tiếp mà không gây gián đoạn phiên làm việc của end user.

    Lưu ý: Ít nhất bạn phải cài đặt bản Exchange Server 2003 Service Pack 1 (SPI) để có thể truy cập vào công cụ Recovery Storage Group.

    Một số công cụ backup và restore thường được các quản trị viên sử dụng bao gồn: NTBACKUP, Symantec Backup Exec, EMC Retrospect hay CA ArcServe Backup, … Bài viết này sẽ kết hợp sử dụng Recovery Storage Group với Symantec Backup Exec 11d.

    Cài đặt một Exchange Recovery Storage Group

    Để sử dụng công cụ Recovery Storage Group bạn cần thực hiện các thao tác sau:

    1. Mở Exchange System Manager rồi tìm trong nhóm quản trị cho đến khi thấy đối tượng máy chủ chứa thông tin lưu trữ mà bạn muốn khôi phục dữ liệu từ đó.

    2. Phải chuột cào máy chủ này rồi chọn New | Recovery Storage Group như trong hình 1. Đảm bảo rằng bạn thực hiện thao tác này trong cùng nhóm quản trị chứa dữ liệu gốc. bạn không thể sử dụng phương pháp này để khôi phực dữ liệu giữa nhiều nhóm quản trị khác nhau.



    Hình 1: Click vào đối tượng máy chủ để tạo mới Recovery Storage Group.
    3. Để bổ sung một cơ sở dữ liệu để khôi phục, phải chuột vào Exchange Storage Group mới tạo rồi chọn Add New Database to Recover như trong hình 2. Màn hình tiếp theo sẽ hiển thị một danh sách vùng lưu trữ hòm thư hòm thư trên máy chủ này.



    Hình 2: Bổ sung cơ sở dữ liệu muốn khôi phục.
    4. Lựa chọn vùng lưu trữ chứa những hòm thư cần khôi phục rồi nhấn OK.



    Hình 3: Lựa chọn cơ sở dữ liệu muốn khôi phục.
    Lưu ý: Mặc định vùng lưu trữ hòm thư này bị gỡ bỏ như trong hình 4.



    Hình 4: Mặc định vùng lưu trữ hòm thư này bị gỡ bỏ trong folder Recovery Storage Group.
    5. Để xem thuộc tính của vùng lưu trữ này, bạn hãy phải chuột lên nó rồi chọn Properties. Cơ sở dữ liệu Recovery Group sẽ nằm trong thư mục riêng trong file hệ thống. Mặc định tùy chọn This database can be overwritten by a restore (Cơ sở dữ liệu này có thể bị một vùng lưu trữ ghi đè) đã được kích hoạt (hình 5).


    Hình 5: Cửa sổ thuộc tính của vùng lưu trữ hòm thư.
    6. Khi sử dụng phần mềm backup, bạn có thể chạy tiến trình khôi phục trên những thông tin lưu trữ hay những hòm thư riêng biệt chứa dữ liệu muốn khôi phục. Symantec Backup Exec sẽ cho phép bạn khôi phục mọi vùng lưu trữ thông tin như một vùng lưu trữ hay những hòm thư riêng biệt. Quá trình khôi phục những hòm thư riêng biệt không yêu cầu phải backup từng phần, đây là một tiến trình được tích hợp sẵn để khôi phục dữ liệu sử dụng công cụ này (hình 6). Công cụ Backup Exec 11d đủ khả năng để nhận ra sự có mặt của Recovery Storage Group, và nó sẽ không cố gắng khôi phục dữ liệu tới một vũng lưu trữ thông tin đang hoạt động.


    Hình 6: Cửa sổ Restore Job Properties.
    Khôi phục dữ liệu tới vùng lưu trữ thông tin đang hoạt động

    Bạn có thể sử dụng Exchange System Manager hay ExMerge để di chuyển dữ liệu từ vùng lưu trữ hòm thư của Recovery Storage Group tới vùng lưu trữ thông tin đang hoạt động. Sử dụng Exchange System Manager dễ dàng hơn nhiều so với sử dụng ExMerge vì nó không yêu cầu bất kì giấy phép bổ sung nào để có thể sử dụng, và bạn sẽ không phải làm việc với các file .PST.

    Tuy nhiên, Exchange System Manager tích hợp ít chức năng hơn so với ExMerge. ExMerge có thể cho phép bạn lọc những dữ liệu muốn khôi phục. Cho dù đang sử dụng công cụ nào thì trước tiên bạn vẫn phải đảm bảo rằng tài khoản người dùng sở hữu dữ liệu mà bạn đang khôi phục phải tồn tại trong Active Directory, nếu không bạn sẽ phải tạo lại nó trước khi tiếp tục.
    Sử dụng Exchange System Manager

    Trong Exchange System Manager, bạn hãy cài Exchange Recovery Storage Group vừa tạo và lưu trữ nó với các hòm thư. Thực hiện các thao tác sau:

    1. Phải chuột lên vùng lưu trữ hòm thư, chọn Mount Store như trong hình 7.


    Hình 7: Lựa chọn Mount Store để cài Recovery Group mới tạo.
    2. Tiếp theo phải chuột lên vùng lưu trữ này một lần nữa rồi chọn Refresh để hiển thị danh sách các hòm thư trong bảng bên phải.



    3. Phải chuột lên hòm thư muốn khôi phục rồi chọn Select Task (hình 8). Sau đó Exchange Task Wizard sẽ được khởi chạy như trong hình 9.


    Hình 8: Lựa chọn hòm thư muốn khôi phục.

    Hình 9: Exchange Task Wizard sẽ khôi phục dữ liệu hòm thư.
    4. Trên trang Recover Mailbox Data bạn sẽ thấy hai tùy chọn bao gồm:
    • Merge Data: Cho phép trộn hòm thư được khôi phục với một hòm thư đang hoạt động và bỏ qua việc nhân bản email.
    • Copy Data: Tùy chọn này sẽ copy mọi dữ liệu trong hòm thư đang hoạt động rồi tạo ra các bản sao của các email (hình 10).


    Hình 10: Lựa chọn tùy chọn Merge Data hoặc Copy Data trong Exchange Task Wizard.
    5. Sau đó hoàn thành các bước còn lại trên Wizard này và xác nhận rằng mọi email đã nằm trong đúng hòm thư của nó.
    Sử dụng ExMerge

    Có thể bạn đã khá quen thuộc với ExMerge và các thao tác cấu hình cấp phép. Tốt nhất bạn nên sử dụng phiên bản ExMerge được tích hợp trong bản Service Pack của bản Exchange Server đang sử dụng. Nếu không một tiến trình nào đó có thể thất bại.

    Khởi chạy ExMerge như bình thường, nhưng lưu ý rằng khi đó bạn sẽ thấy một màn hình hiển thị vùng lưu trữ hòm thư của Recovery Storage Group như những vùng lưu trữ hòm thư khác (hình 11).


    Hình 11: ExMerge hiển thị những vùng lưu trữ hòm thư của Recovery Storage Group
    và những vùng lưu trữ hòm thư thông thường.

    Để khởi chạy ExMerge bạn cần thực hiện các thao tác sau:

    1. Lựa chọn vùng lưu trữ của Recovery Storage Group rồi tiếp tục khôi phục dữ liệu sang một hoặc nhiều file .PST. Khi đã khôi phục dữ liệu sang file .PST, bạn có thể import file này vào hòm thư đang hoạt động sử dụng Microsoft Outlook.

    2. Sau khi đã khôi phục dữ liệu, bạn có thể gỡ bỏ vùng lưu trữ hòm thư trong Recovery Grouplưu trữ dữ liệu này tại đó, hay sử dụng Exchange System Manager để xóa bỏ cả dữ liệu Recovery Storage Group.

    Lưu ý: Để tiết kiệm dung lượng ổ cứng, bạn có thể xóa thủ công những file khôi phục được lưu trữ trong folder Recovery Storage Group của file hệ thống.

    12 Mar 2010

    Recovery Storage Group Restore with Backup Exec

    Details:
    The Recovery Storage Group (RSG) feature in Exchange 2003 allows you to mount a second copy of an Exchange mailbox store on any Exchange server in the same Exchange Administrative Group as the original, while the original store is still running and serving clients. This allows you to recover data from an older backup copy of the store without disturbing client access to current data. After the RSG is created and one or more stores are added to it, you can restore online backup sets to it. Then use the Exchange Server 2003 version of Microsoft Exchange Mailbox Merge Wizard (Exmerge.exe) to extract mailbox data from the stores into .PST files, and optionally merge the extracted data back into the online stores.
    Note: Only Exchange mailbox stores from Exchange 2000 Service Pack 3 (SP3) or later can be restored to the RSG. Restored mailbox stores are upgraded to the store version currently running on the RSG server.

    The following are requirements for restoring Microsoft Exchange 2003 data using the Recovery Storage Group (RSG):
    • Mailbox stores in the RSG must come from the same storage group. You cannot add mailbox stores from different storage groups to the RSG at the same time.
    • The mailbox store that you are adding to the RSG has to be located on the same server that you are restoring to if performing a redirected restore of a Mailbox Store from another server.
    • Public folder stores are not supported for restore using the RSG.
    • Do not mount mailbox stores in the RSG before the restore. If you do mount the stores before the restore, then you must dismount them and select "This database can be overwritten by a restore" on the database property page in Exchange System Manager prior to restoring them.
    • On the server that hosts the RSG, there must be a storage group with the same name as the original storage group for the data you are restoring. If no such storage group exists on the server, then you must create the storage group name as it existed originally during the backup and the mailbox store name that the RSG references must have the same name as the backed up version. (In 11.x and later versions, the RSG can exist on any server in the Forest and there does not have to be a regular SG with the name of the original SG present.)
    • The Active Directory topology of the Exchange system must be intact and in the same state it was in when the backup was made. You cannot restore mailbox stores that were deleted and recreated. In addition, you cannot recover mailboxes from stores if the mailboxes were deleted and purged from the system or moved to other servers or mailbox stores.
    • When the RSG exists on a server, the mailbox stores that it contains are the only stores that can be restored on that server by default. Symantec recommends that you create the RSG only when you intend to recover data using it, and remove the RSG from the server after the data recovery is complete.
    · ·
    Refer to your Microsoft Exchange Server 2003 documentation for more information on the requirements and restrictions of recovering Exchange data using the RSG or you may reference Microsoft Knowledge Base Article - 824126.

    To create a Recovery Storage Group:

    1. Start Exchange System Manager. Expand Administrative Groups (if appropriate), expand the Administrative Group Name (if appropriate), and then expand Servers
    2. Right-click ServerName, point to New, and then click Recovery Storage Group.
    3. In the Name box, type a name for the Recovery Storage Group. Try to use the same name that you used for the original storage group when you specify a name for the Recovery Storage Group. If you receive an error message that is similar to the following and Figure 1 when you do so, use a different name for the Recovery Storage Group:

    The object StorageGroupName already exists.

    Figure 1

    4. Enter a unique directory name for this object. In the Transaction log location and in the System path location boxes, specify a location for the transaction log files and for the system path. Make sure that the location that you specify for the transaction log files for the Recovery Storage Group is different from the location that is specified for the transaction log for the original storage group. Click OK.

    5. Right-click the Recovery Storage Group that you created, and then click Add Database to Recover (Figure 2)

    Figure 2

    6. In the Select database to recover dialog box, click the mailbox store that you want to add to the Recovery Storage Group, and then click OK. In the Mailbox Store Properties dialog box, review the properties of the mailbox store, and then click OK (Figure 3).

    ** Important ** Make sure that while reviewing the Mailbox store information, if you have multiple Exchange servers in your configuration, the name and location match the Mailbox store that you intended to attach to the RSG.

    Figure 3

    Do we need to mount storage??????????????????????????????????????????

    To restore Exchange 2003 databases using the Recovery Storage Group:

    1. On the navigation bar in Backup Exec, click Restore. On the Properties pane, under Source, click Selections. In the restore selections list, select the backup sets you want to restore (Figure 4).
    Note: make sure you select the mailbox store only. Public Folder stores are not supported for restore using the RSG.

    Figure 4

    2. On the Properties pane, under Settings, click Exchange. Select the appropriate options.

    Note: Do not select the Commit after restore completes checkbox and the Mount database after restore checkbox on the Restore Job Properties dialog box for Exchange unless your selections include the last backup set to be restored. These selections direct the Exchange server to replay transactions, roll back uncommitted transactions, and mount the databases after the restore.

    3. If the RSG resides on a different Exchange server than the databases you are restoring, you can redirect the restore by selecting Exchange Redirection (Figure 5)

    Figure 5

    4. Start the restore job

    5. When the restore is complete, use the EXMerge utility in Exchange 2003 to extract the mailbox data you need from the restored mailbox stores and optionally merge the data back into the online stores (Figure 6)

    Figure 6

    9 Mar 2010

    Reset admin password SEP Manager

    If you have lost the password to login to the SEPM then Run the RESETPASS.bat file from the command prompt In the command prompt go to
    c:\program files\Symantec\Symantec Endpoint Protection Manager\tools\resetpass
    When you'll hit enter you'll see ENGLISH
    Close the command prompt Try logging into the SEPM username:admin
    password:admin
    Then you will get a promt to change the password

    Total Pageviews