Monday, February 28, 2022

Powershell Script to Create Virtual Machines without SCVMM

Powershell Script to Create Virtual Machines without SCVMM

Hello,

I am on the lookout for a method of creating Hyper-V Virtual Machines using Powershell with the following criteria.

Without the Use of SCVMM.

Fixed disks - not differencing

Using the External ethernet card (the hosts own).

I would like to be able to initiate these scripts from an MDT Task sequence then start with PXE boot.

Can anyone point me in the right direction?

thanks

Andy


  • Edited by Andrew_ Thursday, March 29, 2012 12:24 PM

Reply:

------------------------------------
Reply:

ok cheers.

Does anyone know where Get-VMBuildScript outputs the 'build scripts' ?

thanks

Andrew


------------------------------------
Reply:

Is there a way of compiling the powershell commands below to run from one powershell or batch file?

1) Create VM &Prompt for Name - new-vm
2) PXE Boot order - Set-vm -bootorder net,CD,IDE,Floppy
3) 80GB Fixed Disk - Add-VMNewHardDisk -fixed -size 80gb
4) Memory -  Set-VMMemory -Memory 1473741824
5) External Network - Select-VMExternalEthernet - | New-VMExternalSwitch -VirtualSwitchName "Wired virtual Network"  **I Assume this should bind VMNic to Hosts Physical VM?**

Any help would be appreciated!

Thanks

Andy


------------------------------------

Group Policy client deployment issues

Greetings,

   This is not a question - just an observation. We are doing pilot rollouts to desktops using GPOs.

   While most machines install fine there are a number that return two sorts of errors during sccm client install.

  The first is trying to install wimgapi.msi - The error is "another process is installing". The install stops and there are no retries. I would have thought it would be written to retry under these circumstances. The reason its occurring is that other software is being installed during the machine build at the time it gets the GPO - and no we cannot tell people to build machines first and then move computer accounts to an OU targeted by GPO.

   The second is client.msi fails due to system shutting down. Again I thought it would retry when the machine starts up but it does not.

So the only solution we have is once a week we have to "redeploy" the GPO application. This is a small problem for all the machines with the client already installed (we use the /logon switch to cope with those) but it is the only way we can get the client onto machines that experience the above two errors.

Cheers

David Z


Reply:

Hi,

I would recommend that instead of using the GPO to deploy the SCCM client I would use a startup script instead, like this excellent one from Jason Sandys:http://blogs.catapultsystems.com/jsandys/archive/2010/12/30/updated-configmgr-startup-script.aspx

It will solve the problems you are seeing with the GPO based install and give you more control and more features.

Regards,
Jörgen


-- My System Center blog ccmexec.com -- Twitter @ccmexec


------------------------------------
Reply:

That looks like the solution for us. Sadly, in our environment they will not accept scripts to install anything if there is a native msi.

Cheers

David Z


------------------------------------
Reply:
What I do is combining multiple clientdeployment methods to get to those 100%. Jörgen has a good suggestion. Another might be to use client push on those computers who failed the GPO deployment.

Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund


------------------------------------
Reply:

Thanks. We actually discussed this yesterday and it appears that our best option is a manual client push.

cheers

david z


------------------------------------

Problems with linking tables....

I am pretty new to the PowerPivot worls and I have a little problem.  I have 2 excel files.  I have imported both files into PowerPivot and a relationship was established.  The 2 data files are titled Emails and ExecBu and I am trying to retreive the emails of the Execs.  The data is set up is as follows:

 

       Emails                                                                                     ExecBu

PERNR                      Email                                                                PERNR                  Name

 1001                      joeblack@work.com                                      1111                       Ed Green

 1002                      donred@work.com                                        1222                       Mike Smith

 1111                      edgreen@work.com                                      1333                       Eric Small

 1222                      mikesmith@work.com 

 1333                      ericsmall@work.com

 1334                       tinafey@work.com

 1336                       roypoindexter@work.com

 1385                       garygrey@work.com     

I had to manually create a relationship using PERNR and I did get the relaionship icon on both PERNR columns from both tables.  When I run a flat pivot table I keep getting the wrong result.  I place the Names in the row labels and when I put the email under the row label I get the entire listing of emails as opposed to only seeing the emails of the Executives.  Can someone assist me ?

  • Moved by Mike Kinsman Thursday, March 29, 2012 5:41 PM off topic (From:MSDN Subscriptions Feedback)

Reply:

Chris,

This isn't the Excel forum, this is the MSDN Subscriptions forum.  Unfortunately your post is off topic here, in the MSDN Subscriptions Feedback forum, because it is not Feedback regarding the MSDN Subscription.

For technical questions, one great source of info is http://answers.microsoft.com, which has sections for Windows, Office, IE, and a few others.  Based on your question I'd recommend looking here first.

If you're not sure where to post your question, you can try the "Where is the forum for…?" forum at: http://social.msdn.microsoft.com/forums/en-us/whatforum/

Please review the topic of the forum you're posting in before posting your question.  Moving your post to the off topic forum.

Thanks,
Mike


MSDN and TechNet Subscriptions Support
Read the Subscriptions Blog!


------------------------------------
Reply:
Thank you very much for the direction.

------------------------------------

Variable Frequency and Perfmon

Hi,

Does prfmon CPU percentage counters take in account the real frequncy of the CPU ; i.e. if CPU is throttled to half of nominal speed or turbo-boosted hugher that nominal frequency , is the precentage computed with the current frequency ?

Thanks for help.

Regards,

Jean-Pierre


Reply:

Hi Jean-Pierre,

so fare I know you don't need to be careful with this point.
If the cpu is limited for some reasons --> the xperf will provide the information based on the current available source power.

Best regards 


RPA


------------------------------------

sql server agent is needed on the following database instances to enable replication

Hello,
I`m trying to install forefront protection server management console 2010 (fpsmc) on Windows server 2008 R2. I have Central SQL server 2008 R2.
Setup get to point when i have to add account and define DB server, i write correct information and test connection  says  OK,  I click next.  And now setup fails with error :
sql server agent is needed on the following database instances to enable replication****** please install or start SQL Server Agent and try again
I Can see that  both databases are created (FPSMCData and FPSMCReport).
User that I use to install fpsmc is domain admin, it is local admin on bot machine, I add user to sysadmin role, server admin role, dbcreator ….
SQL agent run with different account, but i add it to local admin group, but error is the same. Agent service is running.
I use SQL alias on the default port 1433. I does not help if i define in fpsmc setup SQL or SQLAlias.


Reply:
 

Hi,

Thank you for the post.

Have you reviewed this page: http://technet.microsoft.com/en-us/library/gg507706.aspx? Do you receive any error message in the event viewer?

Regards,

   


Nick Gu - MSFT


------------------------------------
Reply:

I did, but

I have install fpsmc console to different SQL server, and it worked perfectly. But on particular SQL server that Agent run under different credentials as sql service, it does not install.


------------------------------------
Reply:

Hi,

did you make any progress with this, as I have exactly the same issue


------------------------------------

Downloadable samples for Power View

Hi,

I need to find the downloadable files of Power View samples, as Contoso or Tailspin Toys.

I've already seen these samples published and a related blank report, but I'm searching the downloadable files (PowerPivot file, Power View files, etc.).

Thanks

  • Changed type Lola Wang Monday, April 2, 2012 4:47 AM

Reply:

Hi,

The following link contains the samples for power view with work book. You can download from here. The second link contains images used in the sample.

http://www.microsoft.com/download/en/details.aspx?id=26718

http://www.microsoft.com/download/en/details.aspx?id=26719

========================

Please mark as answer if helpful


------------------------------------
Reply:

Hi, thanks, but I already know the Hello World Picnic sample and I've alread downloaded and installed it!

I've talked about Contoso and Tailspin Toys. Where can I download the related files? Other downloadable samples?

Many thanks.


------------------------------------

How to ask a question efficiently in TechNet forum

Thank you for posting in TechNet forum. The online problem solving can be relatively time consuming because it may demand several messages back and force to fully understand the symptom and background, especially at the very beginning. Here are a few suggestions that help you get the best answer to your question as quickly as possible.

 

When You Ask

 

1. Selecting a good title which summarizes the specific problem you have. It will be the one of the main driving forces for others to want to actually read your item. Choosing a badly-formatted title will drive people away, thinking that since the title is so badly written, so must be the information and the question within the thread.

 

2. Provide all the necessary information in your initial post. The following information would be very helpful:

- Symptom description: Detailed description of the problem. If you receive any error messages, please let us know the exact error WORD BY WORD.

- Environment: The system environment, such as your OS/application version, your network topology, and your domain environment, etc.

- Any recent relevant configuration change(s): If the issue started to occur after installing any application/updates or changing the configuration, please let us know.

- Any additional information. Tell what you have done prior to asking your question. This will help us understand that you've done so far.

 

3. Write in a clear language. Avoiding spelling mistakes or grammatical errors. Don't type IN ALL CAPS, which in most cases is read as shouting and considered rude.

 

4. Keep with the same thread. Do not refer to a post you made last year, and above all, Please come back. There are hundreds and thousands of posts where we have seen people given great and wonderfully long answers yet no reply from the original poster.

 

5. Be courteous to reply, even if it's to say. "I've given up" or thanks that worked. (This helps the whole community when you do this, and makes the people who donate time, warm and fuzzies.)

 

When answered

 

Give Positive Feedback. Once you've received a correct answer to your question, either from a Microsoft employee, an MVP, or the community in general, pleases replies that the issue or question has been answered. And if possible mark the solution as answered: This step is important, since it lets other people benefit from your posts.


Reply:
Sure !!!

------------------------------------
Reply:
So where is the link to ask a question?

pfcjt@hotmail.com


------------------------------------
Reply:

Just click on the Top Right Orange Strip about "Ask a question in the forums"


------------------------------------
Reply:
Why doesnt the bloody Title work in the forums.  Bloody hell am not able to post any questions because of this stupid Titile is not taking any statements. What the heck is goin on.. grrrrrr..

ronald


------------------------------------

Find a specific attachment

Another user has shared his mailbox (as he is soon to leave the company). I need to find email attachments in his mailbox containing the word 'transmittal'. How do I do this without opening every email that has attachments?


Richard Using Office 2007 on Windows 7.


Reply:

You havent mentioned Exchange version, but if this Exchange 2010:

http://technet.microsoft.com/en-us/library/dd335072.aspx

Outlook 2007 itself can find them:

http://technet.microsoft.com/en-us/library/cc178983(v=office.12).aspx

as well as Desktop search engines if they are in a pst or cached.


------------------------------------
Reply:

You havent mentioned Exchange version

I don't which Exchange version - assuming 2007.

Outlook 2007 can find specific attachments in my own mailbox, but not in a shared mailbox. I have Reviewer permissions for the shared mailbox. Outlook 2007 cannot search sub-folders in the shared mailbox either.

As a backup, I have asked the other user to put his .ost file on a shared drive.


Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:

You mean his pst?

If you can get  full access to the mailbox, you can create a new Outlook Profile and open it directly or add to your existing profile and once in the folder view, you should be able to search.


------------------------------------
Reply:

You mean his pst?

I thought his messages were stored in the ost and then archived to the pst?

I'll try changing the mailbox access settings.


Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:
Yes, the ost. is simply the cache of the live mailbox, but it cant be accessed by more than one client when in use and only by the authenticated mailbox user unless you copy it to a .pst

------------------------------------
Reply:

If you can get  full access to the mailbox, you can create a new Outlook Profile and open it directly or add to your existing profile and once in the folder view, you should be able to search.

I now have full access - specifically, the sharing permissions have been set to Owner (previously Reviewer).

I tested the Instant Search facilities within one of the shared folders. The From, Subject, Body and To criteria work okay but the Attachment Contains and the Attachments (Yes or No) criteria don't. I identified a specific attachment in the folder (a docx) and Instant Search does not find text within that attachment, nor does it find text in the filename of the attachment.

Instant Search finds text within attachments in my own Inbox.

The available attachment criteria do not help me to find attachments containing specific text nor with a filename containing specific text. The current workaround is to sort the folder using the attachment paperclip icon which groups the emails as having attachments and not having them. I open the first email with attachments and examine the attachment filenames, then click Next and continue until all such emails have been checked.


Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:

Is the shared mailbox cached? If not, I would try that.

Another option is to ensure its cached and try something like


------------------------------------
Reply:

Is the shared mailbox cached? If not, I would try that.


How do I find out whether a mailbox is cached? And how can I change it (without Admin privileges)?

Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:

It would be cached within your Outlook profile. If it already is, uncache and test as well just for giggles  :P

See:

A shared folder is unexpectedly cached to the Offline Folder file in Outlook 2007


------------------------------------

Remote Desktop MMC console to Remote Desktop Connection Manager Windows 7

I am trying to find out if anyone knows a way to get my .msc file to work with the Remote Desktop Connection Manager V2.2. I already have all my servers saved in a .msc file, is there any way to get the new connection manager to read it or maybe to convert it to the new format? 
  • Changed type Niki Han Tuesday, April 3, 2012 1:44 AM

Reply:

Hi,

Regarding this kind of issue, I suggest you post in Remote Desktop Services forum. Sorry for the inconvenience.
http://social.technet.microsoft.com/Forums/en-US/winserverTS/threads


Niki Han

TechNet Community Support


------------------------------------
Reply:

Niki,

Thanks, I wasn't sure if this was a RD issue or a windows 7 issue, but will post it there, thank you for the suggestion and have a great day.


------------------------------------

Exchange 2003

 Hi

   could send emails from any email address   from any mailbox they wanted internally without authentication.

    Our Exchange servers allow relaying internally without authentication, which is not good

    This is for exchange 2003 environment


Reply:
Well if you have annonymus permission set on the connector than it will do...
What are you trying to do?

Gulab Prasad,
MCITP: Exchange Server 2010 | MCITP: Exchange Server 2007
MCITP: Lync Server 2010 | MCITP: Windows Server 2008
My Blog | Z-Hire Employee Provisioning App


------------------------------------

sending data from custom web part to OOB web part

Hi,

am having a  taxonomy-custom web part- in the form off a treeview, in which i want to send some data to a OOB BLOG's Post Webpart. is that possible in SP 2010?

or can we transfer infor,. from a custom web part to a OOB web part.

any help is appreciated.


shankar
  • Edited by DADasRF Thursday, March 29, 2012 5:36 PM

Back to parent button missing from report when published

A rather strange instance in that all my reports are missing the back to parent button when I published my reports.  i have googled and everyone says to use the IE back button, but there is a mojor flaw with this in that you loose the report parameters and they have to pick over agian.  Am I missing something here or was this a major oops on MS part.

Reply:

This is quite annoying and shuold have been inlcuded in the report renderer, a work round is to create a textbox which has textbox actio of go to url with following code, this will take the user back to the last screen with the parameters:

javascipt:history.back(1)


------------------------------------

Migrate SharePoint 2003 InfoPath form in to SharePoint 2007

Hi

I have planed to migrate sharepoint 2003 environment into 2007 server. I have planed to achieve this by database upgrate approach.

I have one infoPath form library in source server(2003). Is there any speatial apprach to do to migrate infopath forms or it will automatically

upgrade to 2007 once database upgrade done. Since i dont have 2003 environment to test this. So i am expecting some valuable guide lines

Thanks

Arvind :-)




Reply:
Hi, if you're migrating Infopath form libraries, you may need to consider relinking the forms otherwise they won't open. See this article:Relink Infopath forms

------------------------------------

Exchange 2010 Sp1 retention policy tag at database level

Hi,

Can we apply retention policy at datbase level. If yes then if I create new email on same database then this email will get this policy or I have to apply manually.

Regards,

Hakim. B


Hakim


Reply:

Hi Hakim,

You cannot set a retention policy on a database. You need to set the policy on the mailbox. It's only possible to set one policy on a mailbox. Please seehttp://technet.microsoft.com/en-us/library/ff715341.aspx for more information.

Maybe it suits your need to play around with Retention Policy Tags? See http://technet.microsoft.com/en-us/library/ff715339.aspx.

Hope my answer was helpful to you.

Good luck

Cor


Technical Consultant Exchange | MCP, MCSA, MCSE, MCTS, MCITP | Blog: http://www.reinhard-online.nl | Follow me on twitter: correinhard | Please, feel free to nominate me for MVP @ https://mvp.support.microsoft.com/gp/mvpnominate



------------------------------------
Reply:
Cor is correct, Retention Policies are applied at a mailbox basis.

Microsoft Premier Field Engineer, Exchange
MCSA 2000/2003
MCTS: Win Server 2008 AD, Configuration MCTS: Win Server 2008 Network Infrastructure, Configuration
MCITP: Enterprise Messaging Administrator 2010
Former Microsoft MVP, Exchange Server

NOTICE: My posts are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


------------------------------------
Reply:

Hi Hakim,

Please update us on this question. Is your question answered?

Also give credits to the people who answer the questions by selecting "Mark as answer". Appreciate it.

Cor


Technical Consultant Exchange | MCP, MCSA, MCSE, MCTS, MCITP | Blog: http://www.reinhard-online.nl | Follow me on twitter: correinhard | Please, feel free to nominate me for MVP @ https://mvp.support.microsoft.com/gp/mvpnominate


------------------------------------

This item is no longer available. It may have been deleted by another user. Click 'OK' to refresh the page message intermittently

When we tried to click on document item menu,few times it is showing below message:

This item is no longer available. It may have been deleted by another user. Click 'OK' to refresh the page.

If we tried the same again,it is showing the menu with out any issue.

On this basis it is a false alert.

If anyone have more information,please share it.

Thanks,

Harini


Reply:

Hello,

Did you upgrade from Sharepoint 2007?


  • Edited by Michael_Kk Monday, March 5, 2012 10:45 PM spelling error

------------------------------------
Reply:

Does this usually happen around the same time each day?

What is your current Farm Configuration?


Brian T. Shell


------------------------------------
Reply:

Yes we did upgrade this application from sharepoint 2007 to sharepoint 2010.

Thanks,

Harini


------------------------------------
Reply:

Brian,

This is happening intermittently.But I am facing it frequently.

Farm configuration is two web front ends and one index box.

Thanks,

Harini


------------------------------------
Reply:

Hello,

It is a known bug, an hotfix already exists

http://support.microsoft.com/kb/2405789/en-us

Christopher.


Best regards, Christopher. Blog French Blog English


------------------------------------
Reply:
The hotfix (http://support.microsoft.com/kb/2405789/en-us) didn't fix it for me.  Still getting the "This item is no longer available." error.  Are there any other reliable, Microsoft supported fixes for this issue?

------------------------------------
Reply:

Hi Christopher,

This hotfix is related to Sharepoint Foundation 2010.

Will it applcable to MOSS 2010 also?

Thanks,Harini


------------------------------------
Reply:

Hello Harini Alla,

please find here all the download links for sharepoint foundation and server

http://technet.microsoft.com/en-us/sharepoint/ff800847 

Instead of SharePoint 2007,  you don't have to install the foundation package before the server package since the server now contains the foundation release .

hope this help

Christopher.


Best regards, Christopher. Mon Blog My Blog


------------------------------------

SCCM remote control

When we use SCCM remote control,  client user has to permit admin to connect  to his computer.

Is it possible that no need for client user to permit admin's remote access when using SCCM remote control?


Reply:
Sure, it can be set in Site Settings -> Client Agents -> Remote Tools Client Agent

Torsten Meringer | http://www.mssccmfaq.de


------------------------------------

The File Share Witness (FSW) on a DC is a Single Point of Failure for Exchange Server 2010!

The File Share Witness (FSW) located on a DC is a single point of failure for Exchange Server 2010 in my lab environment. When I take down the server hosting the FSW, Exchange falls apart. I can't even get into the Exchange Management Console as the DAG cluster has failed without the FSW.  This is a simple two node DAG configuration. Has anyone else tested this FSW failure scenario?

Reply:

Thank You for your Post on Partner Forum.

Can you Please go on the Servers hosting Exchange 2010 DAG go on FailOver Clutering Snap In and check that the quorum is Set to MAJORITY NODE SET

Also Can you tell that have you Placed the FSW on a 3rd machine besides the 2 DAG NODEs(I know the question sounds stupid but just want to confirm things)

can you please change the QUESTION TYPE from disscussion to question

Regards

Fazal M Khan


------------------------------------
Reply:

I agree with Fazal, from one of the servers that is in the DAG, run add the "Failover Cluster Manager" mmc snap-in, if you click on the root of the DAG in the left-hand tree structure, you should get a summary page on the right window, next to Quorum Configuration it should say "Node Majority".

In "Node Majority" mode, the DAG can sustain one node failure.  I think this is the default.  

The other 3 options, "Node and Disk Majority", "Node and File Share Majority", and "No Majority: Disk Only" will fail if the FSW is unavailable.


Shon

------------------------------------
Reply:

Yes, the FSW is on a separate machine with the appropriate rights configured. (http://www.thecabal.org/2009/12/busting-the-exchange-trusted-subsystem-myth/) It works well as long as the FSW is up. The Quorum Configuration is set to "Node and File Share Majority" Exchange Server 2010 configures it this way to utilize the File Share Witness.

The quorum model is automatically adjusted by Exchange Server:
A Node Majority quorum model is used for DAGs with an odd number of members.
A Node and File Share Majority quorum is used for DAGs with an even number of members. (Mine is a simple two node DAG cluster.)
The witness directory and share are automatically created by Exchange when needed.
http://www.shudnow.net/2009/11/18/exchange-2010-rtm-dag-using-server-2008-r2-%E2%80%93-part-4/

In "Node Majority" mode, the DAG can sustain one node failure.  I think this is the default.

This statement is correct only in a DAG cluster with an odd number of members. Node Majority quorum configuration does not need a witness directory.  I tested this two node DAG cluster with Node Majority quorum configuration and it is unable to use an FSW and since there are only two nodes, if one goes down the whole thing fails.

So in other words, According to Microsoft, in a model with only two Exchange servers requiring a witness, the FSW is a single point of failure. This is not good for smaller implementations that can't afford more than two Exchange servers.

--------------------------------------------------------------------------------

Josiah


------------------------------------
Reply:

When you have two servers in the DAG, the cluster model is supposed to use the File Share Witness (aka Node and File Share Majority). You can confirm if this is true by opening up cluadmin and looking at 'Cluster Core Resources'. There should be both a Cluster Name that's online (with dependent IP resources) and a File Share Witness resource that's online.

When the second server is added, the quorum model should have been changed to use the FSW. If this failed, the whole Add operation will still succeed, but it prints out a warning. I felt that this was better than failing the entire Add operation. To fix up the quorum automatically, you can use the `set-databaseavailabilitygroup` cmdlet.

In a 2-server+1-FSW model, the FSW server can be rebooted and the DAG remains up. Or you can reboot one of the servers and if the FSW is up, then the DAG remains up. I've done this many times. I've never seen it act as a single point of failure. If you reboot the FSW server and one of the servers, then you will lose quorum and ActiveManager will dismount the databases.

-martin


Legal Stuff: This posting is provided "AS IS" with no warranties, and confers no rights.

------------------------------------
Reply:
Is your FSW your DC?

------------------------------------
Reply:

Can you Please Answere to the question of jader3rd

It seems Relevant because there are certain issue when FSW is placed on a DC

Regards

Fazal M Khan


------------------------------------
Reply:

yes, the FSW is on a DC. What are the known issues when it's on a DC? If that is the case, I can easily move it off the DC.

Martin, what you are explaining is exactly how I expected things were suppossed to work. I'll try using the `set-databaseavailabilitygroup` cmdlet.


------------------------------------
Reply:

I can confirm that having the FSW on a DC is not recommended. I figured this out the hard way (no mention of this in the technet documentation). To increase reliability of your FSW, if possible, put it on a server at a 3rd site. I put mine in my datacenter site on a server that is never rebooted (Win 2008 Ent, not a DC, just member server). Both Exchange nodes at Site A and Site B can independantly reach my Site C FSW via VPN either directly or by hopping over another VPN tunnel. The FSW is small, so not much bandwidth is required. So far, this has proved to be a very viable solution. Its also possible to define an alternate FSW with the Shell...but I didn't have much luck with that feature.

There certainly are some challenges with a 2 node Exchange 2010 DAG System. I figured out how to get mine to work based on the company needs in an Active/Active configuration for MailBox and CAS roles. It was very tricky and required a lot of trial and error. My best suggestion is to 1) Read all of the DAG and Site Resiliency documentation about ten times to fully understand all of the capabilities, then pick and choose what you need. 2) Create a test mailbox database and migrate or create just one or two accounts to it. You can use that account to test your failover scenarios and get it set up right before you migrate all users and put the system in production. Also, the configuration scenarios that are documented in the literature may not explicitly cover your exact need. I ended up having to take bits and pieces from the MSFT supported scenarios. In the end...its working beautifully. A bit of a Frankenstein...but works nevertheless. =)

Good luck!

-Brad


------------------------------------
Reply:

There are no issues when your FSW is on your DC. I've seen plenty of Exchange admins post blog entries about how that's how they do it.

The single point of failure in your topology isn't the FSW, it's having one DC, and taking down that DC.


------------------------------------
Reply:
You wouldn't catch me recommending a DC for the FSW outside of a lab.
Neil Hobson, Exchange MVP

------------------------------------
Reply:

Thank you for your post

Well I have Seen FSW on DCs and trust me not one of them is Without issues.

So i would Suggest If you have an Opyion try to Place it on Some other Machine and see if the issue Appears

I am  Positive that the issue would be Resolved

Regards

Fazal M Khan


------------------------------------
Reply:

The single point of failure in your topology isn't the FSW, it's having one DC, and taking down that DC.

My lab topology was suppossed to eliminate as many known SPOF as possible. I have two DC's in the lab and taking down the one with the FSW still causes Exchange to fail, so not sure if it's the DC or the FSW that's causing the SPOF failure. 

How does an Alternate Witness server work? Is it automatic failover to the alternate witness share or would that have to be done manually? There's not much documentation in technet on this.


------------------------------------
Reply:

I moved the FSW off the DC to another member server which is not a DC. Now the FSW is not a single point of failure (SPOF).

Now when I disable the network adapter on DC01, my first reaction was that DC01 is the SPOF. My DC02 must not be working correctly, however I think it is just the way the EMC is acting after changing from DC01 to DC02

When I launch the EMC with DC01 down is gives the following Microsoft Exchange errors: "An error caused a change in the current set of domain controllers. It was running the command 'Get-FederationTrust'."

"An error caused a change in the current set of domain controllers. It was running the command 'Get-OrganizationConfig'."

"An IIS directory entry couldn't be created. The error message is Access is denied. HResult = -2147024891 It was running the command 'Get-OwaVirtualDirectory'.

Some things do not display correctly in the EMC with DC01 down, but under Server Configuration | Mailbox | Database copies, they are all either Mounted or Healthy.

Also Get-MailboxDatabaseCopyStatus cmdlet in the EMS yields the same results. The only issue is it's not happy with the DC01 being down even though DC02 is up.


------------------------------------
Reply:

Have you specificed the Domain Controller settings in EMC? Click on each server and click Modify Configuration Domain Controller in the upper right action pane. Make sure it is set to default instead of one specific DC. If you force it to one and that one does down then you're screwed. Settings to default allows it to use any available DC.

-Brad


------------------------------------
Reply:
Thanks, I confirmed it is already set to "Use a default domain controller"

------------------------------------
Reply:
If you open up an instance of PowerShell and run Add-PSSnapin *e2010, does Get-MailboxDatabaseCopyStatus work then?

------------------------------------
Reply:
Get-MailboxDatabaseCopyStatus cmdlet is showing mounted or healthy, so on that part we're good.

------------------------------------
Reply:

Hi Josiah,

 

I was willing to put a WFS on DC for a test ride (yes, i know it is not the recomended scenario), but I'm uncertan if that works when you reboot DC/WFS server. Have you succeeded to isolate the problem ? Right now I have one DAG member beeing DC, antoher DAG memeber and a WTS server. When I turn off the WFS, DAG is still online and everything is working. 

 

Cheers,

 

Andrija


Of all the things I lost, I miss my mind the most...

------------------------------------
Reply:

Sorry for answering it today as this is an old thread but I am just looking at the question. Is the 2nd DC a GC too?


Abdul Ali Khan Systems Consultant Premier Systems (Pvt.) Ltd


------------------------------------

NTFS folder permissions

Hi

Is there any IP og smart way so set ntfs folder permission and share permissions, from orhcestrator.
Or is powershell the option to use ?

/Kristoffer  

  • Changed type Robert_Hearn Wednesday, May 9, 2012 5:08 AM general query

Reply:
Hi, I have not seen a integration pack for that, sorry. But it is possible to do with Powershell. I think I have some ideas for that too, was working on a IP like that some time ago. If I find it I will upload it to my blog.

Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se


------------------------------------
Reply:

Hi, I also needed an activity to deal with permission, but never found any IP to do so.

I did it with PowerShell and my runbook works fine like that. It creates a user, then creates a folder on a network share, then runs my .NET script and finally updates the user with this folder as his Home Direcotry.

But if someone knows something about a IP that would do the job, I'm also interested to hear about it !


------------------------------------

logshipping

in which scenario logshipping becomes out of sync?


Reply:

It is possible that you set a frequency of interval to apply log files to the standby server . If job is scheduled for every 30 minutes  it is possible to be out of sync for 30 minutes till you apply all log file backups manually (in terms of failure)

http://sqlcat.com/sqlcat/b/technicalnotes/archive/2009/02/24/scheduling-sub-minute-log-shipping-in-sql-server-2008.aspx


Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/


------------------------------------

How may I check redirected access ??

Hi,

I've built a two nodes cluster on Hyper-V Windows 2008 R2 SP1 , by using Cluster Shared Volumes.

Storage is an MS ISCSI Target 3.3 ; the nodes are connected to iSCSI server via a dedicated network.
I'm able to force redirected accesses via Failover Cluster Manager menu.
Now , I want to force redirected accesses by disabling the iSCSI network adapter on one node since the CSV is owned by this node.

I'm not able to see the CSV status changed to redirect access  ; the VMs hosted by this node are still running fine.
I notice that it takes a long time ( 2 minutes at least) before the iSCSI network is shown as down in the Network part of the Failover Cluster Manager menu.

Nevertheless the status of the iSCSI network on this node is down , no redirected access .

Am I right to hope getting redirected accesses with such a test ?

Below , networks Metric and roles.

Name                   Metric                   Role
----                       ------                   ----
CSV                    1000                      1
iSCSI                  10100                    0
LAN_Access         10300                    3

Thanks for help.

Regards,

J.P.


  • Edited by ribeauville Tuesday, March 27, 2012 8:24 PM

Reply:
Hi,
 
Please have a look at the following links.
 
 
 
How cluster shared volumes Direct and Redirected IO works
http://itinfras.blogspot.com/2010/04/cluster-shared-volume-csv-is-great.html
 
Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
 

Vincent Hu

TechNet Community Support


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...