Friday Apr 22, 2016

Friday Spotlight: Patch Set Updates (PSUs) for Oracle Secure Global Desktop

Happy Friday, everyone!

Today we released an important set of Patch Set Updates (PSUs) for Secure Global Desktop (SGD) Release 5.2 in parallel with Oracle's April 2016 Critical Patch Update (CPU).  PSUs are maintenance patch roll-ups, and include strategic security and stability fixes for identified maintenance platforms.

Patch Set Updates (PSUs) are available for download on My Oracle Support (MOS).

The following reference documentation includes detailed information regarding the content of these updates, as well as instructions for procuring and installing the patches in SGD 5.2 deployments:

The following link is SGD Release Announcement Reference: a one-stop-shop for the latest available updates for all versions of SGD!

  • Oracle Secure Global Desktop, Release Announcement Reference (Doc ID 1597467.1)

Friday Dec 04, 2015

Friday Spotlight: Patch Set Update (PSU) for Oracle Secure Global Desktop 5.2

Happy Friday, everyone!

The end of October during Oracle Open World, saw the release of the latest Patch Set Update (PSU) for Oracle Secure Global Desktop 5.2.  Like previous PSUs, it's a cumulative update containing

  • bug fixes

  • security updates and

  • enhancements

Unlike other PSUs, it also contains two features

  • Option of delivering SGD client through Java Web Start and

  • Completely new client for Mac OS X

These two features have been in development for a while and we thought it would be good to get them out to customers now, rather than waiting for the next full release of SGD.

SGD has always had a zero-install client

Point your browser to an SGD server and the client is started automatically; not by magic, but by a Java applet. The Java plug-in technology on which this relies has a long history, but a shorter future as it is not supported by many modern browsers (Chrome, Edge) and will be removed from others (Firefox) in the coming year. Java Web Start, on the other hand, does not use the Java plug-in and is unaffected by these browser changes. By offering Java Web Start as an alternative to the plug-in, SGD continues to provide a zero-install client that is always the latest and most secure available without complicated installation or upgrade procedures.  It also means no browser plug-ins are required.

New client for Mac OS X

The previous Mac client has its roots in X11 and you need XQuartz installed to use it.  The new client has lost that X11 heritage and instead uses standard Cocoa libraries, giving it a modern user interface and a few nice additions. An application menu to access event logs and connection information, integrated full screen mode, and copy & paste support extended to bitmaps. This new client also integrates well with Safari and Gatekeeper, providing a smooth user experience.

Together, these are nice evolution to the SGD client.

Patch Set Update (PSU) is available for download on My Oracle Support (MOS)

  • Patch Set Update for Oracle Secure Global Desktop 5.2 Patch ID 21620479 – Doc ID 2012596.1

Tuesday Oct 27, 2015

OOW15: Tues, Oct 27-What's Coming Up Today?

Happy Tuesday to all Oracle OpenWorld attendees and those watching online.

Today is full of important Keynotes and General sessions by Oracle Linux and Virtualization team. Keynotes are at Moscone North, Hall D.,  first one 8:30 10:15 a.m. "Oracle Software Innovations", Thomas Kurian, the second one - not to be missed- "The Secure Cloud", by Larry Ellison, 1:30 p.m.–3:15 p.m. These keynotes will be streamed live from Oracle OpenWorldwebsite.

For Linux and Virtualization audiences the key event is the general sessions. Oracle's Wim Coekaerts, Sr.VP of Linux and Virtualization Engineering will present the General sessions highlighted in red below, mark them in your schedule and don't miss:

  • General Session: Oracle Linux—the State of the Penguin [GEN9479]Tuesday, Oct 27, 11:00 a.m. | Park Central—Metropolitan II
  • Secure Your Data Center with Oracle Linux [CON9483] Tuesday, Oct 27, 12:15 p.m. | Park Central—Metropolitan II
  • General Session: How Oracle Linux and Virtualization Power the Cloud [GEN9486] Tuesday, Oct 27, 4:00 p.m. | Park Central—Metropolitan II
  • Oracle VM: Complete and Integrated Virtualization Solution in a Data Center [CON6120] Tuesday, Oct 27, 5:15 p.m. | Park Central—Metropolitan II

If you missed the Oracle Linux, Oracle VM and OpenStack Showcase, Moscone South, Booth #121 yesterday,  today is the day to visit. We will have the Oracle product managers and engineers to answer your questions. 

Today's theatre sessions in the showcase area will be: 


We all look forward to talking to you.

Zeynep Koch 


Sunday Oct 25, 2015

Oracle Open World 2015 - Oracle Secure Global Desktop

Hello all, 

We are happy to welcome you all to our Oracle Linux, Oracle VM and OpenStack Showcase this year.  We are showcasing Oracle Secure Global Desktop product in the showcase area and also number of exciting sessions describing Oracle Secure Global Desktop and Oracle technology integration.

Monday, Oct 26th

  • Conference Session:
    Private Cloud Appliance Roadmap and Insights from Engineering [CON8762]
    Mon Oct 26th, 12:15pm | Intercontinental - Intercontinental C (5th Floor)
  • Theatre Session:
    Secure Access to cloud-hosted Enterprise Applications and Desktops [THT11480]
    Mon Oct 26th, 04:30pm | Oracle Linux, Oracle VM, and OpenStack Showcase Theatre, Moscone South
  • Conference Session:
    Next-Generation Cloud Application Development with Oracle Linux, Docker, and Virtualization [CON9485]
    Mon Oct 26th, 05:15pm | Park Central - Metropolitan II

Tuesday, Oct 27th

  • General Session:
    How Oracle Linux and Virtualization Power the Cloud [GEN9486]
    Tue Oct 27, 4:00 p.m. | Park Central—Metropolitan II

    Wednesday, Oct 28th

    • Conference Session:
      Building a Large-scale Cloud Infrastructure with Oracle VM and Oracle Linux [CON9487]
      Wed Oct 28th, 11:00am | Park Central - Metropolitan II

    We look forward to seeing you at OOW15.


    Friday Oct 23, 2015

    FRIDAY SPOTLIGHT: OOW15 Showcase, Demos and Theatre Sessions for Oracle Linux,Virtualization and OpenStack

    Yesterday, we published all our Sessions and Hands-on-Labs at Oracle OpenWorld. Today's Friday Spotlight is dedicated to our Oracle Linux, Oracle VM and OpenStack Showcase at Moscone South, Booth 121 where we will have Oracle demo kiosks, partners and theatre sessions. We have 8 Partners showcasing their solution and 8 Oracle product demos presented by Oracle Linux, Oracle VM, Oracle VM for VirtualBox, SGD, Oracle OpenStack for Oracle Linux teams. Makes sure to stop by and have a conversation.

    Here's the showcase layout:

    As you see from the layout, we also have a theatre in the showcase. The schedule for our theatre session is as follows, mark the times to hear some exciting, interesting topics from our Partners and Oracle team:

    If you are still not so sure, here are more reason to come by. We are giving away some amazing gifts and you can enter in a raffle to win an Intel NUC or a Penguin. Get your passport which we will distribute at the booth 121 and the Oracle Linux and Virtualization sessions, have it stamped by Partners, then stop by our showcase theatre at 3pm that day for the drawing.

    We hope to see you at Oracle Linux, Oracle VM and OpenStack Showcase

    Thursday Oct 22, 2015

    OOW15: All Oracle Linux, Oracle Virtualization Sessions and HOLs

    Hello everyone, what a busy month for us! 

    First, the October edition of the Oracle Linux Newsletter is now available! Featuring stories about the new OpenStack for Oracle Linux Release 2, what’s happening at next week’s Oracle OpenWorld, an economic value analysis of Oracle Linux, and much more. Read the latest edition online right now, or subscribe to get future editions delivered straight to your inbox.

    We have only 3 days to Oracle OpenWorld and we are excited to present you with an amazing range of sessions and Hands on Labs for Oracle Linux, Oracle VM, VirtualBox, Secure Global Desktop and OpenStack for Oracle Linux.  First of all, we wanted to remind you all the locations. Please allow sufficient time to travel:

    • All Oracle Linux, Oracle VM, and Oracle OpenStack for Oracle Linux sessions are at the Park Central Hotel
    • All of our Hands on Labs are at the Hotel Nikko
    • Demos are in Moscone South
    • Keynotes are in Moscone North


    Monday, Oct. 26:

    • Deploy Oracle Real Application Clusters in Minutes Using Oracle VM Templates [HOL10471] Monday, Oct 26, 11:00 a.m. | Hotel Nikko—Nikko Ballroom II (3rd Floor)
    • Performance Optimizations for Cloud Infrastructure as a Service [CON9577] Monday, Oct 26, 12:15 p.m. | Park Central—Metropolitan II
    • Getting Started with Oracle OpenStack for Oracle Linux [HOL10473] Monday, Oct 26, 12:30 p.m. | Hotel Nikko—Nikko Ballroom II (3rd Floor)
    • Deploy an Oracle E-Business Suite System in Minutes Using Oracle VM Templates [HOL10472] Monday, Oct 26, 2:00 p.m. | Hotel Nikko—Nikko Ballroom II (3rd Floor)
    • Maximize Oracle Linux Performance on Servers and in the Cloud [CON9481] Monday, Oct 26, 2:45 p.m. | Park Central—Metropolitan II
    • Oracle Linux: Build, Test, and Deploy—Tools for the Modern Developer [CON9484] Monday, Oct 26, 4:00 p.m. | Park Central—Metropolitan II
    • Next-Generation Cloud Application Development with Oracle Linux, Docker, and Virtualization [CON9485] Monday, Oct 26, 5:15 p.m. | Park Central—Metropolitan II
    Tuesday, Oct. 27 - Don't miss the General sessions highlighted in red below:
    • General Session: Oracle Linux—the State of the Penguin [GEN9479] Tuesday, Oct 27, 11:00 a.m. | Park Central—Metropolitan II
    • Secure Your Data Center with Oracle Linux [CON9483] Tuesday, Oct 27, 12:15 p.m. | Park Central—Metropolitan II
    • General Session: How Oracle Linux and Virtualization Power the Cloud [GEN9486] Tuesday, Oct 27, 4:00 p.m. | Park Central—Metropolitan II
    • Oracle VM: Complete and Integrated Virtualization Solution in a Data Center [CON6120] Tuesday, Oct 27, 5:15 p.m. | Park Central—Metropolitan II

    Wednesday, Oct 28:

    • Build and Deploy Portable Applications Using Docker and Oracle Linux [HOL10328] Wednesday, Oct 28, 8:45 a.m. | Hotel Nikko—Nikko Ballroom I (3rd Floor)
    • How to Manage Your Oracle Linux Environment with Spacewalk [HOL10326] Wednesday, Oct 28, 10:15 a.m. | Hotel Nikko—Monterey (3rd Floor)
    • Building a Large-Scale Cloud Infrastructure with Oracle VM and Oracle Linux [CON9487] Wednesday, Oct 28, 11:00 a.m. | Park Central—Metropolitan II
    • Business Continuity for Virtualization and Cloud Infrastructure [CON9575] Wednesday, Oct 28, 12:15 p.m. | Park Central—Metropolitan II
    • Rapid Private Cloud with Oracle VM and Oracle OpenStack for Oracle Linux [CON9576] Wednesday, Oct 28, 1:45 p.m. | Park Central—Metropolitan II
    • The Enterprise Cloud Simplified with Oracle VM [CON9488] Wednesday, Oct 28, 3:00 p.m. | Park Central—Metropolitan II
    • Maximize Your Private Cloud Investment with Oracle OpenStack for Oracle Linux [CON9574] Wednesday, Oct 28, 4:15 p.m. | Park Central—Metropolitan II
    • Deploying and Managing a Private Cloud [HOL10469] Wednesday, Oct 28, 4:15 p.m. | Hotel Nikko—Nikko Ballroom II (3rd Floor)

    We wanted to list all the sessions and HOLs by day so you don't miss them but in case you prefer to bookmark the Focus On Documents, here are the links for those which gives you the summary of all the activities for Oracle Linux and Virtualization:

    Focus On Document - Oracle Linux

    Focus On Document - Oracle Virtualization

    We look forward to seeing you in our Sessions and Hands on Labs at OOW15.

    Thursday Oct 15, 2015

    OOW15: amitego AG Demonstrates VISULOX at Oracle Linux, Oracle VM and OpenStack Showcase

    We are happy to welcome amitego AG to our Oracle Linux, Oracle VM and OpenStack Showcase this year. They will be showcasing their product VISULOX in the showcase area but also provide insight into the product during theatre session listed below at Oracle OpenWorld on Oct 26-28.


    amitego AG
    is not new to Oracle Infrastructure products, nor to Oracle OpenWorld. Its mission is to make IT a safer place, by addressing secure access by privileged users, and this through its Remote Access Control and Management Solution Suite, VISULOX.

    VISULOX is based on the Oracle Secure Global Desktop Software, offering customers a flexible and powerful way to control and document all activities of the privileged users in the IT environment.  If you want to know more about the VISULOX and amitego, come to their theatre session:

    Title: VISULOX—Controlled Privileged Access to Cloud Services [THT11226]

    Speaker: Tillmann A. Basien, CEO, amitego Engineering GmbH

    • Monday, Oct 26, 1:30 p.m. | Oracle Linux, Oracle VM, and OpenStack Showcase Theater, Moscone South
    • Tuesday, Oct 27, 1:00 p.m. | Oracle Linux, Oracle VM, and OpenStack Showcase Theater, Moscone South


    amitego AG will also demonstrate their VISULOX product and show how easy it is to integrate without any modification to server or client, delivering a complete audit trail about who did what and when in the system. Including demos showing the user activities. Visit amitego AG at Oracle Linux, Oracle VM and OpenStack ShowcaseBooth 121, SLMoscone South, Kiosk: SLX-006.

    Friday Oct 02, 2015

    Friday Spotlight: Oracle Linux, Virtualization, and OpenStack Showcase at OOW15

    Happy Friday everyone!

    Today's topic will be about our amazing showcase at Oracle OpenWorld, Oct 25-29. The Oracle Linux, Oracle VM and OpenStack showcase is located in Moscone South, booth #121, featuring Oracle product demos and Partners.  In past years, our showcase had been a great location to see demos of Oracle Linux and Oracle VM as well as solutions from our Partners. This year, it is expanded with Oracle OpenStack product demos and a theatre. Here's a list of the Oracle and Partner kiosks, don't forget to visit and talk to one of the experts that can help you out with your questions:

    • SLX-007 - Access Applications Securely with Oracle Secure Global Desktop
    • SLX-008 - Oracle VM VirtualBox
    • SLX-009 - Enhance Security and Reduce Costs Using Zero-Downtime Updates with Oracle Linux and Ksplice
    • SLX-010 - Oracle OpenStack for Oracle Linux  -Enterprise Ready
    • SLX-011 - Oracle Linux for the Cloud-Enabled Data Center
    • SLX-012  - Develop and Distribute Containerized Applications with Oracle Linux
    • SLX-013 - Oracle VM Server for x86
    • SLX-014 - Oracle VM Server for SPARC  

    The table below lists the featured Partners and their solutions:


    The Oracle Linux, Oracle VM, and OpenStack Showcase will also include an in-booth theatre for Partners and Oracle experts to share their solutions to customers and partners, alike. For the latest listing of theatre sessions currently confirmed please refer to the Schedule Builder

    Don't forget to visit us at Moscone South #121, we will giveaway some great software (keeping it as a surprise- you need to come and see) and be in the drawing for our famous penguins and and Intel Mini PC - NUC appliance where you can use it for set top boxes to video surveillance, and home entertainment systems to digital signage, it is one appliance that can do it all.

    Register today.

    Tuesday May 26, 2015

    May 2015 Oracle Virtualization Newsletter

    We're pleased to announce that the May edition of the Oracle Virtualization Newsletter is now available!

    This issue includes information on:

    You can read the online edition right now, or if you'd like to have the newsletter delivered directly to your inbox, you can sign up here

    Thursday Apr 30, 2015

    ANNOUNCEMENT: Oracle Secure Global Desktop 5.2 now available!


    We are pleased to announce general availability of Oracle Secure Global Desktop 5.2.

    Oracle Secure Global Desktop (SGD) is a secure remote access solution for any cloud-hosted enterprise applications and desktops running on Microsoft Windows, Linux, Solaris and mainframe servers, from a wide range of popular client devices, including Windows PCs, Macs, Linux PCs, and tablets such as the Apple iPad and Android-based devices.  Oracle Secure Global Desktop gives users the ability to work securely from any device and anywhere, while providing administrators the tools they need to control access to applications and desktop environments resident in the data center.


    What's New in SGD Release 5.2

    • Monitoring with Oracle Enterprise Manager Cloud Control - This release delivers plug-ins to enable centralized monitoring of multi-server SGD deployment in Oracle Enterprise Manager.  These plug-ins monitor and analyze the health and performance of SGD servers and gateway servers.  For SGD servers, the plug-in captures various performance and configuration metrics such as array status, users and applications, data store objects, SGD system process, versions and patches.  For gateway servers, various performance and configuration metrics are captured, including connections being serviced, registered SGD servers, versions and patches.  Plug-in metrics data can be processed by reporting tools such as Oracle Business Intelligence Publisher.

    The image shows a sample SGD array monitoring page (click to view larger image)


    • Single Sign-On (SSO) integration with Oracle Access Manager - Enables instant access to applications, with a user entering credentials only once.  This release integrates Oracle Secure Global Desktop with Oracle Access Manager, enabling the Single Sign-On (SSO) feature of Oracle Access Manager to authenticate users to an SGD server and to remote applications started from the SGD workspace.  Single Sign-On enables SGD users to access multiple applications with a single login and greatly simplifies password management.

    • Role-based administration and enhancements - Provide flexible control over administration.  New roles for SGD administrators have been introduced that add different levels of administration privileges and access control to the SGD Administration Console.  New commands introduced in this release simplify the process of installing software updates (patches) for an SGD deployment.  The Administration Console can now be used, in addition to the command line, to join an SGD server to an array that uses secure intra-array communication.

    • PulseAudio integration - Prior to this release, the Unix audio solution worked with applications that used OSS on Linux or SADA on Solaris.  This release allows audio redirection from applications that use PulseAudio, increasing the range of audio applications supported by SGD.  Also, added support for audio input functionality on Unix brings the Unix audio feature set in line with that on Windows and allows applications compatible with OSS, SADA or PulseAudio to use audio input.

    • Enhanced security and performance/emulations improvements - In addition to new features and expanded server, client and browser support, this release also delivers enhance security and performance, and provide a richer user experience over a range of network conditions.
      • A Password Manager has been introduced to allow users control over caching of credentials, up to the level permitted by the administrator.
      • Greater control of autocomplete behavior is available in SGD web applications.  'Sensitive fields' always have autocomplete disabled and autocomplete can be disabled for non-sensitive fields on a per-application basis.
      • Improved security with HTTP proxies.  Proxy server support has been extended to negotiate, digest, and NTLM authentication when connecting to SGD through HTTP proxy servers.  This means that clients configured for Integrated Windows Authentication (IWA) can now be used.
      • Optimizations improve scrolling and responsiveness in X applications, benefiting high latency environments.
      • Improvements in the handling of RDP have reduced both CPU and bandwidth requirements for transferring data and have improved the user experience by increasing responsiveness and reducing tiling and tearing artefacts.

    Oracle Secure Global Desktop 5.2 maintains its 'slot-in' simplicity while integrating more closely with Oracle products, technologies and solutions such as Oracle Managed Cloud Services, Oracle Enterprise Manager Cloud Control, and, Oracle Access Manager.

    For more details refer to Oracle Secure Global Desktop release 5.2 documentation.

    Download and try it out to see how Oracle Secure Global Desktop helps solve your organization's cloud applications and desktops needs.





    Friday Aug 22, 2014

    Friday Spotlight: Oracle Secure Global Desktop and amitego VISULOX

    Happy Friday!

    Our spotlight this week is a screencast about a fantastic solution that takes the security model of Oracle Secure Global Desktop and adds even more features.

    If you work in environments where you need to have a video record of users' interactions with applications, or need to ensure that two users can remotely work on the same session (a worker entering data in a form from one workstation and a manager typing an authorization code from another, for example), amitego VISULOX can do this and a lot more. It's built on top of Oracle Secure Global Desktop, so you get all of the great features there, plus additional unique security related features provided by VISULOX.

    Click the thumbnail below to watch the screencast.

    We'll see you next week!

    -Chris 

    Thursday Aug 21, 2014

    The August '14 Oracle Virtualization Newsletter is Now Available

    The August 2014 edition of the Oracle Virtualization Newsletter is now available! You can catch up on what's been going on with Oracle VM, Oracle Secure Global Desktop, and Oracle VM VirtualBox by reading the latest issue. Here are some highlights:

    • Oracle Announces Oracle VM 3.3 Release
    • Technology Preview of OpenStack Icehouse with Oracle Linux and Oracle VM Now Available
    • Getting Started with Oracle VM, Oracle Linux, and OpenStack
    • Oracle VM Test Drive Workshop on Cisco UCS
    • Updated Oracle VM Storage Connect Plug-in for Oracle ZFS Storage Appliance Now Available
    • Controlled Remote Access with Oracle Secure Global Desktop and amitego VISULOX
    • And much more!
    You can read the latest edition online right now or sign up to get it automatically delivered to your inbox.

    Friday Aug 15, 2014

    FRIDAY SPOTLIGHT: Oracle Linux and Virtualization Showcase @ Oracle OpenWorld

    Oracle Linux and Virtualization Showcase “aka.Pavilion" at Oracle Openworld will be amazing this year. You can find us in a spacious area in Moscone South (Booth #611), featuring many of our key partners. New this year in the Showcase, you will also find Oracle demopods showcasing Oracle Linux and Oracle Virtualization. In addition, we are also featuring OpenStack. A lot of exciting technologies and solutions in one stop! Oracle Linux and Virtualization partners will be on the floor with their latest integrations and solutions to help you better accelerate your infrastructure investments. Come by the Showcase to network, win some prizes and walk away with:
    • Insights and real world implementation examples from participating ISV, IHV and SI partners
    • Deeper knowledge on the latest developments of Oracle Linux and Oracle Virtualization and the Oracle OpenStack integrations
    • Broader view of how Oracle and Partners are implementing OpenStack


    Whether you are modernizing your IT or planning an OpenStack deployment, join us in the Oracle Linux and Virtualization Showcase and our experts will help you visualize your future, simplify your IT life and realize further profitability for your business.

    Starting next week here on the Linux and Virtualization blogs, we’ll go into detail about the partners that you can visit in the Oracle Linux and Virtualization Showcase. In the meantime, don't forget to mark Moscone South, Booth: 611 as a place to visit this year.

    Hope to see you in our Oracle Linux and Virtualization Showcase!

    Monday Apr 28, 2014

    Announcement: Patch Set Updates (PSUs) for Oracle Secure Global Desktop releases

    Oracle has released some important Patch Set Updates (PSUs) for Oracle Secure Global Desktop.  Oracle Secure Global Desktop team releases regular updates to make the overall user experience smoother and up-to-date.  Patch Set Updates (PSUs) are clusters of recommended stability, security, and/or performance patches that have been certified for an existing maintenance releases.

    Following links points to these PSUs for Oracle Secure Global Desktop releases, PSUs are available for download on My Oracle Support (MOS)

    Friday Apr 11, 2014

    Friday Spotlight: Writing a Broker for Oracle Secure Global Desktop

    We talked about the dynamic launch feature in Oracle Secure Global Desktop earlier and pointed out that the code providing the functionality is implemented in a broker.  Here, we'll look at the fundamentals of writing a broker before working through a scenario where a bespoke broker would simplify operations.

    Broker Basics

    The interfaces and classes you need to write a broker are in the com.tarantella.tta.webservices.vsbim package in the sgd-webservices.jar archive. 

    IVirtualServerBroker is the key interface and all Secure Global Desktop brokers must implement it.  These are the methods where a broker writer would typically add logic.

    void initialise(Map initParams) This method is called once when the broker is loaded by the Secure Global Desktop workspace.  It gives the broker a map of the key/value pairs configured on the dynamic application server object using the broker.  Typical parameters would be the name and port of a source of real or virtual application servers.
    Map getCandidateServers(Map params) Secure Global Desktop calls this method to obtain a list of servers available to a particular user.  The broker receives a map of parameters, including the identity of the user, and the broker returns a list of candidate servers.  The broker writer is free to decide how to populate that list and whether to return one candidate or several.  For example, the broker could contact a database to reserve a single server.  Alternatively, it could use APIs or web services to contact a VM provider and get a list of available virtual machines.
    ICandidateServer prepareCandidate(String type, ICandidateServer candidate) This method is called after getCandidateServers returns a single option or the user has selected one from several.  This is the place for any code needed to set-up the chosen server or virtual machine.
    void destroy() This is where the broker would tidy-up, freeing any resources it had used, like sessions and connections.

    A Sample Broker

    Let's look at a scenario where writing a broker could simplify operations.  You are an administrator of a Secure Global Desktop deployment where users periodically need to access a key application.  Only a single instance of the application can run on any one server and you have a limited number of licenses.  When a user requires access to the application, they submit a service request to reserve one.  The traditional, broker-less approach in Secure Global Desktop would be to create an application object, configure it to run on the reserved application server and then assign it to the user who reserved it.  Time-consuming if you have to do this repeatedly and on a regular basis.

    However, if we can access the reservation database, we can do it dynamically in a broker.  The operation now becomes:

    • Once only, the administrator assigns the application a dynamic application server configured with a custom broker

    Then,

    • User submits a service request and reserves a server
    • User logs into Secure Global Desktop and clicks the link to launch the application
    • The broker queries the database, gets the server that the user has reserved and launches the application on it

    For the administrator, there is no need to create, modify or destroy objects in the Secure Global Desktop datastore every time a user submits a service request.

    Skipping many details, defensive coding and exception handling, the broker code would look something like this:

    package com.mycompany.mypackage;

    import com.tarantella.tta.webservices.vsbim.*;
    import java.sql.*;
    import java.util.*;

    public class DbBroker implements IVirtualServerBroker {

        static private final String TYPE = "A Description";
        private Connection dbConn;

        public void initialise(Map<String, String> parameters)
                throws VirtualServerBrokerException {
            // Connect to reservation database.  End-point and credentials are
            // supplied in the parameters from the dynamic application server
            dbConn = DriverManager.getConnection(params.get("URL"), params.get("USER", params.get("PASS"));
        }

        public Map<String, List<ICandidateServer>> getCandidateServers(
                Map<String, String> parameters)
                throws VirtualServerBrokerAuthException,
                       VirtualServerBrokerException {
            Map<String, List<ICandidateServer>> launchCandidates =
                    new HashMap<String, List<ICandidateServer>>();

            // Get the user identity
            String identity = parameters.get(SGD_IDENTITY);

            // Lookup the application server for that user from the database
            Statement statement = dbConn.createStatement();
            String query = createQuery(identity);
            ResultSet results = statement.executeQuery(query);
            // Parse results;
            String appServerName = parseResults(results);

            if (appServerName != null) {
                // Create the assigned server.
                CandidateServer lc = new CandidateServer(appServerName);
                lc.setType(TYPE);

                List<ICandidateServer> lcList = new ArrayList<ICandidateServer>();
                lcList.add(lc);
                launchCandidates.put(TYPE, lcList);
            }

            return launchCandidates;
        }

        public ICandidateServer prepareCandidate(String type,
                ICandidateServer candidate)
                throws VirtualServerBrokerException {
            // Nothing to do
            return candidate;
        }


        public void destroy() {
            // Close the connection to the database
            dbConn.close();
        }

        // And the other methods
        public boolean isAuthenticationRequired() {
            // No user authentication needed
            return false;
        }

        public Scope getScope() {
            // Scope at the application level for all users.
            return Scope.APPLICATION;
        }
    }

    In summary, dynamic launch and custom brokers can simplify an administrator's life when operating in a dynamic environment.  The broker can get its data from any source with a suitable interface: a database, a web server or VM providers with open APIs.  Next time, we'll illustrate that with a broker connecting to Virtual Box.


    About

    Get the latest scoop on products, strategy, events, news, and more, from Oracle's virtualization experts

    Twitter

    Facebook

    Search

    Archives
    « May 2016
    SunMonTueWedThuFriSat
    1
    2
    3
    4
    5
    7
    8
    9
    10
    11
    12
    14
    15
    16
    18
    19
    21
    22
    23
    24
    26
    27
    28
    29
    30
    31
        
           
    Today