I had created a Wiki site for internal admin use on a W2K8 server on IIS. I decided that I didn't want to build another W2K8 server and use another license for the SharePoint site so instead I decided to have it run on the wiki site as well. During the install I made the mistake of creating the SharePoint site as the default site which was very effective for killing my Wiki site.
Luckily I had created a Snapshot on my LH Networks SAN prior to the SharePoint install. Here's the steps I used to restore.
- First I gave my test XenServer pool access to the Snapshot in the Lefthand Console.
- Turned off the Production server
- Detached the SR for the Production Server in question
- Created a new SR in the test pool
- Target IQN of the Snapshot name
- When you click finish it will see the disk and warns not to attach if other pools are using the SR. (thus the reason we turned of and detached the production server / SR). Click Yes
- Create a new vm with correct properties.
- Select any install media, it won't matter as you won't be installing
- You won't be able to select the Virtual Disk you want since it won't have free space. So just select any disk and we'll fix later
- Give it a nic
- UNcheck the Start VM automatically
- Go into the properties of your new VM
- Change boot order so HD is first
- Go to Storage and Attach the correct Virtual Disk
- Delete the Virtual Disk from when you created the VM (if you selected one)
- Ensure RAM / CPU are set correctly and boot.
- Check over the server to ensure it's what you want to restore
Once I verified that this was the server snapshot that I wanted I went to pull this into production
- Turn off the test server you just created
- Forget the Virtual Disk (this doesn't destroy data)
- Go into the HP Lefthand console and and right click the Snapshot you want and choose "Rollback".
- All Snapshots and changes created after that snapshot will be lost! Make sure this is what you want first.
- Go back to XenServer Console and click the Production SR and click Attach.
- Fill in the IP info and Discover LUN etc. Click yes to the warning about other VM's on it again.
- Start server
- Glance around the office to see if anyone noticed that the wiki was down ;)
No comments:
Post a Comment