Citrix Mfcom Programming For Administrators

Posted on

Citrix Mfcom Programming For Administrators

SlideShare

Search

Citrix Mfcom Programming For Administrators

*

Flash Player 9 (or above) is needed to view presentations. We have detected that you do not have it on your computer. To install it, go here.

Post a comment

Post a comment

Embed Video Email: Subscribe to follow-up comments Unsubscribe from followup comments Edit your comment Cancel

Notes on slide 1

2 Favorites

Tags citrix mfcom

"), CoFounder & COO at SlideShare, favorited this 11 months ago more

Citrix Mfcom Programming For Administrators - Presentation Transcript

  1. Citrix MFCOM Programming for Administrators October 2007
  2. 100 Applications 1000 Users 100,000 Clicks
  3. Introductions
  • Instructors

  • Nitin Desai

  • Vishal Ganeriwala

  • Facilitators

  • Fred Liu

  • Tom Kludy

  • Jeff Reed

  • Agenda MFCOM Basics Start Using MFCOM Labs In Action Future And Takeaways
  • Agenda Agenda item number 1 Start Using MFCOM Labs In Action Future And Takeaways MFCOM Basics
  • What is MFCOM?

  • COM-based management interface

  • Runs on every Citrix Presentation Server™ box

  • Scriptable and COM programming language support

  • Remote execution

  • Work Smarter and Faster Using MFCOM Integration with third-party software applications 3 Information reporting 2 Automate administration tasks 1
  • How Does MFCOM Work ? MFCOM IMA LHC DCOM RPC SAL SAL SAL Data Store Data Collector Citrix Presentation Server Windows Machine SAL : Subsystem Access Layer
  • Common MFCOM Objects Zones Farm Apps Servers Sessions Policies Servers Users Sessions Apps Processes VCs
  • Agenda Agenda item number 1 MFCOM Basics Labs In Action Future and Takeaways Start Using MFCOM
  • Today’s Setup For Class Demos DCOM Port 2512 Client Machine MPS SDK Lab1CPS CPS 4.5 VM Lab2CPS CPS 4.5 VM DCOM IMA Farm Name: SDKDemo Data Store: Lab1CPS Zone Data Collector: Lab1CPS Servers : Lab1CPS & Lab2CPS
  • How Can I Get Started?

  • Download SDK from: http://support.citrix.com/page.jspa?pageID=devCenter

  • Browse Script Repository http:// support.citrix.com/kb/category.jspa?categoryID =645&subCategoryID=645

  • Setting Up Client and Server Machines

  • Register the remote Citrix Presentation Server using: mfreg

  • Use dcomcnfg to change the Impersonation level from identity to impersonate on Windows XP

  • W2K3+SP1 CPS Server - Add remote MFCOM user to the DCOM Users Group

  • Make sure you have administrative privileges for the Citrix Farm

  • Sample Examples
  • MPSSDK Documentation

  • MPSSDK Help System

  • MFCOM browser

  • http:// www.jasonconger.com/ShowPost.aspx?strID =9686d808-19c0-4bad-a577-02d85f597a8d

  • Displaying Farm Name

  • Use of VBScriptTemplate.wsf to add code

  • Use of MetaFrameFarm Object and its methods

  • Navigating MFCOM …

  • New version of interfaces with different releases

  • MetaFrameFarm object : IMetaFrameFarm6 (CPS4.0) inherits from IMetaFrameFarm5 (CPS3.0)

  • Scripts connect to the latest interfaces

  • C++ - Use QueryInterface

  • Drill down to appropriate level of object.

  • MetaFrameServer Object:

  • IMetaFrameServer

  • IMetaFrameWinServer Finding the relevant interface

  • Agenda Agenda item number 1 MFCOM Basics Start Using MFCOM Future And Takeaways Labs In Action
  • What Will You Learn?

  • When and how to use MFCOM

  • Navigating the documentation

  • Using major MFCOM objects

  • Auditing the farm

  • Automating Citrix Presentation Server™ management tasks

  • Labs: Commonly Done Presentation Server Administration Tasks

  • Lab 1: Servers and Applications

  • Lab 2: Create a Load Evaluator

  • Lab 3: Take the Server Offline

  • Extra Credit:

  • Printing

  • Auditing Using Enumerations

  • Object associations as a powerful tool for auditing Zones Farm Apps Servers Sessions Sessions

  • Lab 1 : Servers and Applications

  • List servers and applications in the Farm.

  • List Applications on each server.

  • List Servers for each application

  • Use of MetaFrameServer and MetaFrameApplication methods/properties.

  • Simple Administration Tasks

  • Creating new entities in the farm

  • Create an Object in MFCOM

  • Initialize the necessary data

  • SaveData – Saving data to IMA Datastore

  • Changing the configuration settings for the existing entities

  • Create an Object (CreateObject method)

  • Initialization – Initialize or set methods

  • LoadData – Loading data from IMA Datastore

  • Change the settings

  • SaveData – Save data back to IMA Datastore

  • Lab2 : Create a Load Evaluator

  • Create a Load Evaluator

  • Set the name and description

  • Create a LMRule for CPU utilization

  • Create a LMRules collection and add a rule

  • Set Load Evaluator Rules and save the data

  • Use of MetaFrameLoadEvaluator, MetaFrameLMRule and MetaFrameLMRules methods/properties.

  • Inside MFCOM

  • COM Free threading model

  • Error reporting

  • Limited error codes as HRESULT

  • Exceptions in. NET

  • MFCOM user

  • Current user vs. other user (runas)

  • MFCOM impersonates before calling IMA

  • Complex Management Tasks

  • Connecting more than one entity in the farm

  • Series of tasks with proper ordering

  • Repetitive pattern

  • Examples

  • Take the server offline

  • Migrate applications from one farm to another

  • Remove the server from N applications

  • Lab3 : Taking The Server Offline

  • How to take the server offline for maintenance purpose gracefully?

  • Steps -

  • Prevent the new connections

  • Communicate to the users

  • Let the connections drain

  • Logoff the sessions after timeout period

  • Use of MetaFrameLoadEvaluator, MetaFrameSession and MetaFrameServer methods/properties.

  • Advanced MFCOM Usage

  • Multi farm management

  • Create objects on the multiple remote servers

  • C/# - Activator method

  • VBScript - CreateObject(("MetaFrameCOM.MetaFrameFarm", ServerName1)

  • Event handling

  • Server, Application and Folder Events

  • Create, update (rename), move and delete

  • MetaFrameFarmEvent enum, IMetaFrameEventQueue , CreateEventQueue2 method in MetaFrameFarm

  • Extra Credit : Printing

  • List printer drivers on every server

  • Use of MetaFrameServer and MetaFramePrinterDriver Methods

  • Agenda Agenda item number 1 MFCOM Basics Start Using MFCOM Labs In Action Future and Takeaways
  • CPSSDK

  • Scalability

  • Highly scalable in large farm environment

  • Usability

  • Consolidation of interfaces and methods

  • Enhanced consistency in object behavior

  • Easy multi-farm management

  • Better .Net Support

  • .NET assembly

  • .NET versioning and generics Next-generation Presentation Server Management SDK

  • How Does CPSSDK Work ? IMACOM IMA LHC DCOM RPC SAL SAL SAL Data Store Data Collector Citrix Presentation Server Windows Machine CPSSDK Client Cached Data Chunky Calls SAL : Subsystem Access Layer
  • Work Smarter and Faster Start Using MFCOM Today !
  • Before you leave…

  • Overall conference survey is available online at www.citrixiforum.com starting Wednesday, October 24 (please provide feedback)

  • Download workshop materials from www.citrixiforum.com starting Monday, October 29

  • Leftover workshops handouts can be found at the HOT Assistance Center Desk *

  • Data Type: LMRuleSchedule Start time End time Bit 15-0 Bit 31-16 Half hour Bit 4 Not used Bit 7-5 Day of week Hour (in military time format) Bit 3-0 Bit 15-8

+ vishalganeriwalavishalganeriwala, 12 months ago

Embed custom Without related presentations For WordPress.com

1343 views, 2 favs, 2 embeds more stats This is a basic presentation done at Citrix IForum more

This is a basic presentation done at Citrix IForum 2007 event. It is a good overview for anyone getting started with Citrix MFCOM less

More by user

View all presentations from this user

More Info

© All Rights Reserved Go to text version

more

All embeds

less

Flagged as inappropriate Flag as inappropriate Flag as innappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

None Pornographic Copyright Violation Defamatory Illegal/Unlawful Other Terms Of Service Violation Cancel

Categories

  • Technology Automotive Books Business & Mgmt Career Design Education Entertainment Fashion & Beauty Finance Gadgets & Reviews Health & Medicine How-to & DIY Humor Investor Relations News & Politics Pets Photos Real Estate Spiritual Sports Technology Templates & Forms Travel Cancel

Tags

Search

RSS Feed

What's new?

Participate in the SlideShare World's Best Presentation Contest 2009...

© 2009 SlideShare Inc. All Rights Reserved

  • Favorited! Add tags? Cancel
  • Edit your favorites Cancel
  • Send to your Group / Event Select Group / Event Add your message Cancel

Quantcast

希望本站内容对您有点用处,有什么疑问或建议请在后面留言评论
转载请注明作者(RobinChia)和出处 It so life ,请勿用于任何商业用途