Load panel tui file not working on CVI2012 for Linux

We are having problems with panels that look fine on Windows being difficult to read on Linux, presumably because most control and text fonts are VAL_DIALOG_META_FONT on Windows but the CVI for Linux run-time only has NISYSTEM.
As a quick way to test different fonts on Linux I created a tui file from the uir file and then used global search and replace to change VAL_DIALOG_META_FONT to something that would hopefully look decent on Linux.
Problem is that LoadPanel(0,"filename.tui",1) works on WIndows but throws error -46 on Linux.
Whereas LoadPanel,0,"filename.uir,PANEL) works fine on Linux & Windows but the fonts are very hard to read on Linux.
Is there a table somewhere mapping the VAL_FONT attribute magic numbers to corresponding fonts on Windows and Linux?
It'd be nice to have some guidance on the default font mappings. But at the end of the day, I don't really care much about fonts unless the defaults are hard to read.
I guess one other potential complication is the UIR file originally came from CVI 8.5, but CVI 2010 for Windows didn't say anything about needing to "convert" it.  Perhaps one of the attributes in the tui file is not valid on Linux, but is on Windows?
Solved!
Go to Solution.

Loading TUI files in Linux it's an issue that we have recently discovered and it did not made it yet to the known issue list. I'm not 100% sure but I believe a workaround to that problem would be to go and manually edit that tui file and remove those attributes that generates errors. You can begin with  ATTR_TITLEBAR_STYLE and then look if one of the following are in the tui file: ATTR_DS_BIND_PLOT_STYLE, ATTR_DS_BIND_POINT_STYLE, ATTR_DS_BIND_LINE_STYLE, ATTR_DS_BIND_PLOT_COLOR and delete them. Then try to load the tui file again.
On the other hand I think there is a workaround for your original problem: the predefined fonts (VAL_DIALOG_METAFONT) looks bad on Linux. I believe there is a way a user can change the underlying font and the size of a predefined font. In windows you can change it in the registry but in Linux you can define an environment variable: XAPPLRESDIR that points to a directory that should contain a file named cvi, a file where you can write font settings. Each line has to be of the following format: <appName>.<key>:<value>. If you want the settings you're writing to be persistent for all applications the put a "*"instead of the application name. 
The list of possible key is: appFont (NIAppMetaFont), menuFont (NIMenuMetaFont), dialogFont (NIDialogMetaFont), e​ditorFont (NIEditorMetaFont), messageBoxFont (NIMe​ssageBoxMetaFont).
The value have to be of the following form: <font family>-<font name>-<font size>
Here is the only line I have in the cvi file: *.dialogFont : adobe-helvetica-19

Similar Messages

  • Not working Webutil configuration for linux

    I had configured webutil in linux server as per document. my basic cofiguration is
    OS - Linux redhad(4.0)
    Front End - Forms [32 Bit] Version 10.1.2.0.2
    Now i had created form in that form i m using webutil when on test button i m calling
    show_webutil_information (TRUE);
    It is showing all the webutil information
    But on another button i m calling
    v_ole_excel := client_ole2.create_obj ('Excel.Application');
    client_ole2.set_property (v_ole_excel, 'visible', 1);
    it is not working and after that none of the push button & menu is working in runtime form.
    So Please Guide us to resolve the problem.
    Thank's in anticipation,
    Regards,
    Ganesh Jadhav

    Loading TUI files in Linux it's an issue that we have recently discovered and it did not made it yet to the known issue list. I'm not 100% sure but I believe a workaround to that problem would be to go and manually edit that tui file and remove those attributes that generates errors. You can begin with  ATTR_TITLEBAR_STYLE and then look if one of the following are in the tui file: ATTR_DS_BIND_PLOT_STYLE, ATTR_DS_BIND_POINT_STYLE, ATTR_DS_BIND_LINE_STYLE, ATTR_DS_BIND_PLOT_COLOR and delete them. Then try to load the tui file again.
    On the other hand I think there is a workaround for your original problem: the predefined fonts (VAL_DIALOG_METAFONT) looks bad on Linux. I believe there is a way a user can change the underlying font and the size of a predefined font. In windows you can change it in the registry but in Linux you can define an environment variable: XAPPLRESDIR that points to a directory that should contain a file named cvi, a file where you can write font settings. Each line has to be of the following format: <appName>.<key>:<value>. If you want the settings you're writing to be persistent for all applications the put a "*"instead of the application name. 
    The list of possible key is: appFont (NIAppMetaFont), menuFont (NIMenuMetaFont), dialogFont (NIDialogMetaFont), e​ditorFont (NIEditorMetaFont), messageBoxFont (NIMe​ssageBoxMetaFont).
    The value have to be of the following form: <font family>-<font name>-<font size>
    Here is the only line I have in the cvi file: *.dialogFont : adobe-helvetica-19

  • Drag & Drop of a file not working in Ubuntu & other linux

    Hi All,
    I am working on a project,in which it has the requirement of dragging the files
    from a JList present inside a JFrame to the desktop.
    First I tried to get a solution using dnd API but could not. Then i googled and i got an application which is
    working perfectly in both Windows and MAC Operating systems, after I made few minor changes to suit my requirements.
    Below is the URL of that application:
    http://stackoverflow.com/questions/1204580/swing-application-drag-drop-to-the-desktop-folder
    The problem is the same application when I executed on Ubuntu, its not working at all. I tried all available options but could not trace out the exact reason.
    Can anybody help me to overcome this issue?
    Thanks in advance

    Hi,
    With the information you provided and through some information found on google i coded an application. This application is able to do the drag and drop of an item from the Desktop to Java application on Linux Platform, but i am unble to do the viceversa by this application.
    I am including the application and the URL of the information i got.
    [URL Of Information Found|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4899516]
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.datatransfer.UnsupportedFlavorException;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.swing.DefaultListModel;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import javax.swing.TransferHandler;
    import javax.swing.WindowConstants;
    public class DnDFrame extends JFrame implements DropTargetListener {
         private DefaultListModel listModel = new DefaultListModel();
         private DropTarget dropTarget;
         private JLabel jLabel1;
         private JScrollPane jScrollPane1;
         private JList list;
         List<File> files;
         /** Creates new form DnDFrame */
         public DnDFrame() {
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              initComponents();
              dropTarget = new DropTarget(list, this);
              list.setModel(listModel);
              list.setDragEnabled(true);
              list.setTransferHandler(new FileTransferHandler());
         @SuppressWarnings("unchecked")
         private void initComponents() {
              GridBagConstraints gridBagConstraints;
              jLabel1 = new JLabel();
              jScrollPane1 = new JScrollPane();
              list = new JList();
              setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              getContentPane().setLayout(new GridBagLayout());
              jLabel1.setText("Files:");
              gridBagConstraints = new GridBagConstraints();
              gridBagConstraints.gridwidth = GridBagConstraints.REMAINDER;
              gridBagConstraints.anchor = GridBagConstraints.WEST;
              getContentPane().add(jLabel1, gridBagConstraints);
              jScrollPane1.setViewportView(list);
              gridBagConstraints = new GridBagConstraints();
              gridBagConstraints.gridwidth = GridBagConstraints.REMAINDER;
              gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
              getContentPane().add(jScrollPane1, gridBagConstraints);
              pack();
         public void dragEnter(DropTargetDragEvent arg0) {
         public void dragOver(DropTargetDragEvent arg0) {
         public void dropActionChanged(DropTargetDragEvent arg0) {
         public void dragExit(DropTargetEvent arg0) {
         public void drop(DropTargetDropEvent evt) {
              System.out.println(evt);
              int action = evt.getDropAction();
              evt.acceptDrop(action);
              try {
                   Transferable data = evt.getTransferable();
                   DataFlavor uriListFlavor = null;
                   try {
                        uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
                   } catch (ClassNotFoundException e1) {
                        // TODO Auto-generated catch block
                        e1.printStackTrace();
                   System.out.println("data.isDataFlavorSupported(DataFlavor.javaFileListFlavor: " +
                             data.isDataFlavorSupported(DataFlavor.javaFileListFlavor) );
                   if (data.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {
                        files = (List<File>) data.getTransferData(DataFlavor.javaFileListFlavor);
                        for (File file : files) {
                             listModel.addElement(file);
                   }else if (data.isDataFlavorSupported(uriListFlavor)) {
                        String data1 = (String)data.getTransferData(uriListFlavor);
                        files = (List<File>) textURIListToFileList(data1);
                        for (File file : files) {
                             listModel.addElement(file);
                        System.out.println(textURIListToFileList(data1));
              } catch (UnsupportedFlavorException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } finally {
                   evt.dropComplete(true);
         private static java.util.List textURIListToFileList(String data) {
              java.util.List list = new java.util.ArrayList(1);
              for (java.util.StringTokenizer st = new java.util.StringTokenizer(data,"\r\n");
              st.hasMoreTokens();) {
                   String s = st.nextToken();
                   if (s.startsWith("#")) {
                        continue;
                   try {
                        java.net.URI uri = new java.net.URI(s);
                        java.io.File file = new java.io.File(uri);
                        list.add(file);
                   } catch (java.net.URISyntaxException e) {
                   } catch (IllegalArgumentException e) {
              return list;
         private class FileTransferHandler extends TransferHandler {
              @Override
              protected Transferable createTransferable(JComponent c) {
                   JList list = (JList) c;
                   List<File> files = new ArrayList<File>();
                   for (Object obj: list.getSelectedValues()) {
                        files.add((File)obj);
                   return new FileTransferable(files);
              @Override
              public int getSourceActions(JComponent c) {
                   return COPY;
         static {
              try {
                   uriListFlavor = new
                   DataFlavor("text/uri-list;class=java.lang.String");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
         private class FileTransferable implements Transferable {
              private List<File> files;
              public FileTransferable(List<File> files) {
                   this.files = files;
              public DataFlavor[] getTransferDataFlavors() {
                   return new DataFlavor[]{DataFlavor.javaFileListFlavor,uriListFlavor};
              public boolean isDataFlavorSupported(DataFlavor flavor) {
                   if(flavor.equals(DataFlavor.javaFileListFlavor) || flavor.equals(uriListFlavor))
                        return true;
                   else
                        return false;
              public Object getTransferData(DataFlavor flavor) throws
              UnsupportedFlavorException, java.io.IOException {
                      if (isDataFlavorSupported(flavor) && flavor.equals(DataFlavor.javaFileListFlavor)) {
                        return files;
                   }else if (isDataFlavorSupported(flavor) && flavor.equals(uriListFlavor)) {
                        java.io.File file = new java.io.File("file.txt");
                        String data = file.toURI() + "\r\n";
                        return data;
                   }else {
                        throw new UnsupportedFlavorException(flavor);
         private static DataFlavor uriListFlavor;
         static {
              try {
                   uriListFlavor = new
                   DataFlavor("text/uri-list;class=java.lang.String");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
         public static void dumpProperty(String name) {
              System.out.println(name + " \t" + System.getProperty(name) );
         public static void main(String[] args) {
              String[] props = {
                        "java.version",
                        "java.vm.version",
                        "java.vendor",
                        "os.name",
              "os.version"};
              for (String prop : props) {
                   dumpProperty(prop);
              Runnable r = new Runnable() {
                   public void run() {
                        DnDFrame f = new DnDFrame();
                        f.setVisible(true);
              SwingUtilities.invokeLater(r);
    }Please Suggest me in this.

  • PDF portfolio search not working in Reader for Linux

    I have a PDF portfolio with embedded index created using Acrobat 9.5.5 running on Windows 7. I can search this portfolio without any problem using the windows versions of Acrobat 9.5.5 or Reader 11.0.4, but when I try any of the same searches using Reader 9.5.5 for Unix on Ubuntu 13.10, the searchs never terminate. The search window appears, but the spinning circle at top right of the search window just keeps spinning and no results ever appear. I've left it for half an hour without any results appearing. The same searches on Windows complete in a few seconds.
    The portfolio in question is here: https://www.dropbox.com/s/0rzh9t1oo0vx2ib/lilydoc-2.17.29.pdf (it's created from the various PDF manuals that make up the Lilypond documentation).

    Hmm. Sounds like something went wrong with the links. Are they spelled out (using http://www....etc) or are they hyperlinks? If they are spelled out, you could have your version of Reader set to recognize links and they may not (Edit>Preferences>General>Basic tools - Create links from URLs).
    To create links in ID, highlight the text, go to your hyperlinks pallet and in the drop-down select "New link" and fill in the appropriate information. Then when you export it to PDF from ID, in the "General" settings section under "include" select "Hyperlinks".
    There are other options you may want to be aware of but that's better asked about in the ID forum.

  • 'Error loading plugin: Plugin file not found' message on ONLY 5 sites, but all others OK.  Help, please!

    Hi Again!
    I posted this problem here before, but since I really need to access the sites that receive this error message in less than a month, I had to re-post; hopefully someone who didn't see it before will see it & have a solution for me.
    Here are the details:  I'm running windows 8.1 & I use Firefox 33.1.1, Pale Moon 25.1.0 or Opera 26.0 as my browsers, (I have IE installed & up-to-date, but I never use it).  I followed the 10-point checklist on Adobe & everything was done, except for "uncheck Hardware Acceleration" in Flash 'Settings'; I tried to uncheck it on this site, where it's indicated, as well as in my 4 browsers when I'm doing something that uses Flash, but no matter how hard I try, I can't 'uncheck' the check mark in that tiny box!  Since this error problem only affects 5 web sites, & I can watch streaming media on all other sites, I don't think it's an issue. 
    Here's how this problem began:  I was watching a live, streaming nest-cam on 5/09/14 around 11:00AM, (yes, I DO know the exact time & date, because it happened so suddenly while I was watching this website that I'd been watching since the end of February, 2014), when my screen went black.  I thought it was probably an Adobe Crash, but when the usual Crash Report window didn't show up, I just closed Firefox & reopened it, expecting to resume watching the nest-cam.  When I went back to the site, I got the black screen with the "Error loading plugin: Plugin file not found" message.  The chat portion on the site still works, though. I know there are other sites with this nest-cam feed, so I started trying them, but it took several tries for me to find one that didn't get the error message! I posted this problem on "Windows BBS" forum, & someone else posted that the same thing happened to them AND on the same sites!  They didn't have a solution, either.  I cleared my cache, rebooted my PC & even did a System Restore, but whatever happened in that brief second made using ONLY 5 sites impossible.  Here are the sites that receive the error message:
    http://pixcontroller.com/eagles, (but I CAN go to http://pixcontroller.com, but there isn't any streaming media)
    http://cbslocal.com/eagles
    http://westmorelandconservancy.org/BlueBirdwebcam-1.htm
    http://wildearth.tv/cam/pittsburgh-bald-eagles, (I get the error message on ALL cams on this site)
    http://aviary.org/BE-NestCam1 (I get the error message on ALL cams on this site)
    Now if any videos from the 5 websites above are uploaded to YouTube, I can watch them perfectly...no error message if I watch the videos elsewhere.  Luckily, I found Ustream, & they have most of the nest cams I watch, but I need to fix this issue, because it's nearing nesting time!  I'm an amateur nest-watcher & it's vital that I have access to these 5 sites, so if anyone knows how to fix this, PLEASE tell me!
    Thanks for taking the time to read my post.
    All suggestions/solutions are gratefully accepted.
    Thanks in advance for your help!
    DogPal 

    File Not Found Error in Welcome Screen
    07-Nov-2013 10:25
    Tags: #dreamweaver_cs6_update
    Help please!
    Live preview also not working.
    I have exactly the exact problem described below but do not have a folder with the same name as the volume created under the volume. Please can someone help - I've tried everything. This problem only happened when I upgraded to Dreaweaver CC!
    "On launching Dreamweaver on your Macintosh if your Welcome Screen is not loading and if you see a "File not found" error, please check if you have a folder with the same name as your volume created under the volume. For more info on this please go through the attached pdf document. Other dialogs/panels in dreamweaver that will be blank due to this issue are Jquery Swatches panel, Adobe Edge Webfonts tab in Manage Fonts dialog,W3c Error Info dialog, Externalise Javascript dialog and svn revert dialog. After following the changes mentioned in the attached document please check all the affected dialogs/panels to confirm everything is working as expected."
    Thanks,
    Martin Bond
    [personal information removed by moderator]

  • Frames panel: looping button not working

    Frames panel: looping button not working
    I use Fireworks MX 2004
    Frames panel: looping button:
    When I set looping to 2, it stops after 2, as it should.
    All other values, i.e. 1, 3, 4 etc will go on 'forever'.
    What's wrong?
    Thank you for your help.
    Adrian

    This is just a simple exercise.
    http://www.tudo.co.uk/testing/looping_problem.png
    http://www.tudo.co.uk/testing/looping_problem.gif
    In the png file, Frames panel, bottom left, where I can set
    looping to
    any number, including 'forever', I set the looping frequency
    in this
    case to 1. So I expect it to stop after one movement up into
    the right
    top corner and return to bottom left.
    When I play this in 'original' or in 'preview' in Fireworks,
    the
    animation moves continuously instead of stopping after one
    round. That
    is my 'problem'. Or can I not expect this to work while it is
    still in png?
    When I export it to gif, it works exactly as wanted - once
    only.
    Adrian
    Alex Mari�o wrote:
    > adrian,
    >
    > Could you post the png file online and explain exactly
    what you are
    > trying to achieve?
    >
    > alex
    >
    > adrian stock wrote:
    >
    >> Frames panel: looping button not working
    >>
    >>
    >> I use Fireworks MX 2004
    >>
    >> Frames panel: looping button:
    >>
    >> When I set looping to 2, it stops after 2, as it
    should.
    >>
    >> All other values, i.e. 1, 3, 4 etc will go on
    'forever'.
    >>
    >> What's wrong?
    >>
    >> Thank you for your help.
    >>
    >> Adrian

  • YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads.

    YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads, if it's even loading at all.
    I do not know if it's relevant or not, but I got a message on my ipad while on safari saying that my iPhone has a virus. I looked it up and it seems it might have just been an ad from the website I was on, but it happened around the same time YouTube stopped working.

    You will find that using the YouTube app will provide a better viewing experience for YouTube videos.

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • At YAHOO: "Sorry, comments didn't load correctly; things may not work." Spinning circle ... IE works correctly.

    AT YAHOO comment section: "Sorry, comments didn't load correctly; things may not work." I get a spinning radial circle - failing to load comments. Firefox 8 worked fine. Help?

    To cor-el,
    I followed your suggestions and ultimately through the process of elimination found the problem. One of the add-ons, "Do Not Track Plus" was the culprit! In that add-on under settings a presentation of all of the sites "blocked" appear. By un-checking the "Facebook Connect button" voilà! Problem solved. The Yahoo comment tab now loads and works correctly.
    cor-el - Thanks for your help and consideration. I very much appreciate it. You're a champ! ~ mitchell1568

  • PDF File not opening in browser for sharepoint 2010

    Recently we have moved our web application from one server to another in Sharepoint 2010. Back up of entire web application was taken and restored in another server. But in the new server , the PDF files in the document library is not getting opened in browser.
    it always open in browser
    I have already made following changes but didn,t work
    Set browser file handling to Permissive from central admin
    Set "open in browser" in setting s of doc library
    Set the doc library file handling property using $docLib = $web.lists["Your Document Library Title"] $docLib.BrowserFileHandling = "Permissive" $docLib.Update()
    Added "AllowedInlineDownloadedMimeType.Add("Application/Pdf") in web app
    Installed Adober eader in client machine
    Even after trying all these, the PDF files are still opening in Client application(Adobe reader) but not in the browser
    It would have been great help if anybody provide a solution for this. I have been banging head on this for two days

    It would be handy if you didn't double post too.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/81ed0362-4033-4a31-b265-c1aba43c3d14/pdf-file-not-opening-in-browser-for-sharepoint-2010?forum=sharepointadminprevious
    To answer your question, you've tried most things that I normally see working, but there may be an extra solution here for you.  The solution 2 Powershell that deals with updating the Inline MimeType may help.
    http://www.pdfshareforms.com/sharepoint-2010-and-pdf-integration-series-part-1/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Date picker is not working in IE9 for sharepoint 2010 appliation pages

    Hi,
    Date picker not working  in IE9 for sharepoint 2010 appliation pages. We have enabled custom master page.
    Thanks in advance.
    Shameej

    Hi,
    For this issue, you can add the following line of code into the pickerdialog.master which lays in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
    <meta http-equiv=”x-ua-compatible” content=”IE=8”>
    Or we can use the JavaScript code provided in this blog which would also do the trick:
    http://williamwmy.wordpress.com/2013/06/03/problem-with-sharepoint-peoplepicker/
    A thread with the same issue for your reference:
    http://sharepoint.stackexchange.com/questions/27251/hotfix-for-problem-with-sharepoint-peopleeditor-in-ie-9
    Best regards
    Patrick Liang
    TechNet Community Support

  • Dashboard Console not working - opesntack on Oracle Linux 6.6

    I have installed openstack using the instructions at http://www.oracle.com/technetwork/server-storage/openstack/linux/documentation/oracle-openstack-user-guide-2296176.pdf
    I have a Oracle Linux 6.6 as the controller and two nodes of Oracle VM 3.3.2 as compute nodes. I managed to get an instance up and running but not sure how to connect to those instances. When I navigate to the console tab of the instance vnc connects successfully the be screen is blank and I think its not accepting any keyboard inputs as well.
    How do I get the console to work from the dashboard (or connect via a vnc viewer)? Alternately I have used DHCP in the instance and know the private IP of the instance (192.168.1.100), how do I ssh to the instance?
    Amish.

    Hi Amish,
    I saw your comment in other thread and I'll try to answer your questions in the best way I can - but this is huge topic. Please keep in mind that I'm also newbie in this area too and I've encountered many problems getting basic OpenStack installation working, like you. Some of them are still not solved for me either. I also did not get any help here
    Networking in OpenStack is IMO difficult to understand, especially for people like me who are accustom with traditional approach. So this is how I understand it now:
    Networking can be purely software driven and in this case it is carried out by openvswitch (http://openvswitch.org - better get accustom with it if you are not yet). Simple linux bridge - utilized by Oracle VM - is not used by OpenStack. Also there can be hardware plugins which can move some of network features to hardware - but I have no experience in this area.
    There are two types of networks you can create in OpenStack: provider and tenant one:
    Provider networks (also called flat networks) are equivalent of what you set in Oracle VM Manager and in typical (old fashioned) IT world. These are networks which in OpenStack are defined by cloud administrator (You) and bound to existing physical network which are already set by network administrator. For example you have couple of ports on your servers connected to LAN switches, some of them are in access mode some are trunks of specific VLANs. Also routers and other network services are managed outside of your cloud.
    You need to define these networks in OpenStack before any user can connect their VMs to them. The most important part is that can do this from the GUI .
    On the other hand there are so called: tenant networks. These are networks which are under cloud user administration. These are like cloud private networks (if you know Ops Center or Exalogic there is similar notion there) - which are created on-demand by your users. You as cloud administrator only create some limits (quotas) regarding how many such networks can be created by user. But obviously you - as cloud administrator - also need to define mechanisms which allow such networks be created on demand. This also has to be done from command line by editing some files - before users can create tenant networks.
    The mechanism I'm talking about can be: VLAN, VxLAN, GRE.
    First one is the only one currently supported by Oracle and it is quite simple: you, in cooperation with your network administrator reserve range (or set) of traditional VLANs and configure them on network switches where your servers are connected (I mean server ports which you dedicate for tenant networks - not all because you need other network for management, etc). Then you define this set in some OpenStack files to let it manage them on its own. For example: you have got 20 VLANs from network department for exclusive use for your cloud. Nobody knows what each VLAN will be used for yet. This will be allocated by cloud users on-demand. Openstack will just allocate VLAN upon user request and will not allow other users to create their private networks on the same VLAN.
    Better approach is to use VxLAN which is tunneling mechanism. You don't need pool of VLANs in this case but you just set tunneling rules and then OpenStack creates private networks using secure tunnels over L3 network which you define first. VxLAN is standard, you can read about it and it is used by OpenStack for Solaris. Unfortunately this did not work for me and Release Notes from Oracle OpenStack for Linux says that it is not supported yet.
    There is also GRE - which is also tunneling and is similar to VxLAN - but it did not work for me either.
    Where it is all configured? Basic setup is created by packstack using CONFIG_NEUTRON_OVS_* variables. However I used packstack only for installation and then I modified configuration files on all nodes. The most important file where configuration is kept is: /etc/neutron/plugin.ini. In this files you set framework on which provider and tenant networks are build. The most important section is [OVS], for example:
    [OVS]
    enant_network_type=vlan
    enable_tunneling=false
    integration_bridge=br-int
    bridge_mappings=physnet1:br-eth3
    network_vlan_ranges=physnet1:2032:2032,physnet1:3010:3020
    This example is from compute node. It says: I have one physical network: physnet1 which is supported by virtual switch called br-eth3. You need to create this virtual switch on your own! OpenStack networking deamons (Neutron) do not create virtual switches - they only reconfigure them if needed. Physical network is just name which you can use later on if you setup provider network.
    Also, in the example you tell OpenStack that you have 11 VLANs available on physnet1 network. Similar configuration has to be done on controller node (but it is only because in simple topology your controller is also network node)
    Then I dedicated first VLAN: 2032 for provider network. This was accomplished by command issued on controller node.
    # neutron net-create --router:external=true --provider:network_type=vlan  --provider:physical_network=physnet1 --provider:segmentation_id=2032 labnet
    From that moment this network (called "labnet") should appear in the GUI and you can connect VMs to it. Users might also do this if you mark it as "shared".
    Also users should be able to create their private networks and this will allocate VLANs from 3010 to 3020 - so there can be only 10 private networks created totally in your cloud now.
    Of course this is example and you can build completely different setup. You can use different ports for provider networks and for tenants one. You do not need VLANs for provider networks and theoretically for tenant too - but you would have to have plenty of ports for this. If you manage to get VxLAN working - then please share your experience here.
    I strongly recommend reading following information sources (Oracle does  not provide this details in their documentation):
    OpenStack Docs: Current
    https://developer.rackspace.com/blog/neutron-networking-the-building-blocks-of-an-openstack-cloud/  there are more blog entries (followups) on this topic - look for them using keyword "neutron"
    https://www.rdoproject.org/forum/discussion/875/does-rdo-support-flat-network-type-/p1
    As for blank VM console:
    I've also had this problem when I used Cirros VM images. However when I imported the template I use on my Oracle VM - then console was working correctly. I think this is more connected with VM configuration then OpenStack. AFAIK you can connect to console directly using vnc client - at least you can configure Nova in that way that it allows external VNC connections.
    Regards,
    Michal

  • Why keyboard and mouse right click not working in Solaris and Linux?

    Hi all,
    I have two problems:
    1) I am working on AWT/Swing application and its working fine in window enviornment,but while running on solaris and linux mouse right-click option window not poping up.
    2) Ctrl+c,Ctrl+v,Home and End keyboard key are not working in solaris and linux OS for same application.
    Pls provide me some solution for these problem.
    -Dinesh

    Hi Nik,
    Thanks for reply. I found some solution for the above problem.
    For mouse right click there was problem in my source code.I have not implemented the mousePressed() method
    In case of keyboard Home, End and arrow key working fine after exporting AWTUSE_TYPE4_PATCH=false; in solaris and linux
    But still Ctrl-c and Ctrl-v not working.
    I am using JDK1.5.0_07+Eclipse IDE 3.1
    -Dinesh

  • Not working my setting for my icloud

    not working my setting for my icloud

    In what way is it not working?   Please give us more info.

  • I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos

    I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos

        Enable Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.

Maybe you are looking for

  • Initial signs of RSD problem!

    I have had a macbook for about a month now, and just now had a RSD. I am guessing as the name implies, your macbook suddenly shutsdown for no apparent reason. Does it get worse as you use your notebook? Or was this some sort of freak accident?? Also

  • Windows could not update the computer's boot configuration. Installation cannot proceed.

    HELP!!! Windows could not update the computer's boot configuration. Installation cannot proceed. The installation then it says "The installation was canceled" and "Any changes to your computer won't be saved. I have been trying to sort this out for o

  • Reject Oracle iExpense Report through WF_NOTIFICATION.SetAttrText

    Dear Gurus, I have a huge number of iExpense Reports which are pending for the user approval. I am using the following code to Reject all such reports: begin wf_notification.setattrtext ( nid => :notification_id                                 , anam

  • Double drop down list on managing second list based on selection of first l

    hello experts, I call the values into the two drop down list box through the database and now I want to manag second drop down list box based on the selection of first drop down list box. So how can I do it? Any suggestions, jsp code and ideas will b

  • Unit price

    Hi, I need an approval whenever the unit price changes in sales order document... is that possible,, regards, Vignesh