Dung K Hoang's profileDung's spaceBlogNetwork Tools Help

Blog


    July 07

    Delegation Model in Hyper-V – Part 2

     

    In this post, I will show you how to explore the Hyper-V AzMan configuration  from the GUI

    AzMan GUI interface

    There is no pre-defined AzMan console in Windows Server 2008, you have to create your own one. To do this, run mmc.exe  from a command window. In the mmc, click File –> Add/Remove Snap-in  and add the snap-in named Authorization Manager.  Save your mmc console for later use.

    In the AzMan mmc console, right click the node Authorization Manager and select  Open Authorization Store…. In the Open Authorization Store…, select XML file  and type in Store name:  C:\Programdata\Microsoft\Windows\Hyper-V\InitialStore.xml assuming that C: is your system drive.

    Note: Be aware that the ProgramData folder is hidden, you cannot browse it.

    Figure 1 shows the GUI interface of AzMan

    AzMan-1

    Exploring Hyper-V Operations

    To see all pre-defined operations in Hyper-V, right click Tasks Definition and select New Task Definition…. Click Add…, ignore the informational message box. In the Add Definition  dialog box, click the Operations tab, you will see the list of available Hyper-V operations as shown in Figure 2 below

    AzMan-2

    Using the same technique, you can create task definitions, role definitions. Once done, you can look at the node Role Assignments to create roles and assign it to users or group of users.

    Creating Scopes

    Now, right click Hyper-V Services and select New Scope…  Provide a name for the new scope and you will see that a node is created under Hyper-V Services and has the following sub-hierarchy:

    !------ Groups
    !-------Definitions
    !-------Role Assignments

    All tasks, role definitions and role assignments created there will be valid only at this new scope level. On the other hand, tasks, role definitions created at the default scope level can be seen/used by the “child” scope.

    Summary

    It is quite easy to use the AzMan console to create tasks, roles and scopes. In the next posts, I will show how to use PowerShell scripts to automate those tasks!

    Stay tuned!

     

    Enjoy!

    /Dung

    HyperV WMI PowerShell

    Comments (1)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.
    Dung K Hoang has turned off comments on this page.
    Aug. 5

    Trackbacks

    The trackback URL for this entry is:
    http://dungkhoang.spaces.live.com/blog/cns!31A50D02D661C816!274.trak
    Weblogs that reference this entry
    • None