Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
we had an issue with an OI box running KVM, in that instance the OI base tried DHCP'ing (after about 7-10 days) and wouldn't get an IP address correctly. I made the host a static address and both the interface, and the KVM have been up and working for 71 days without an issue. I'm not sure if you have a similar issue, are your interfaces DHCP'd? On 13 February 2014 00:43, Carl Brewer c...@bl.echidna.id.au wrote: G'day, I have a pretty happy OI151a8 server running Virtualbox 4.3.6 It's got 3 guests (2 NetBSD, one CentOS 5). They mostly just burble along, except every now and then (roughly every 7-10 days) they lose network connectivity. The only way I've found to get them online again is to shut them down, remove and re-add vboxflt (rem_drv vboxflt, reboot OI server, add_drv vboxflt) and restart the guests. The host shows no symptoms that I've been able to find, I can ssh into it just fine. It's just the guests that fall off the network. I'm not sure how best to go about fixing this, as VB isn't really supported on OI, we're just kinda lucky it runs. Any suggestions? Should I file a bug report with OI/Illuminos? Or Oracle?(!). Is anyone else seeing this? Thanks Carl ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] OpenIndiana problems recognizing all disks/vdev
On 13 February 2014 07:38, Predrag Zecevic [Unix Systems Administrator] predrag.zece...@2e-systems.com wrote: On 02/13/14 02:42 AM, Udo Grabowski (IMK) wrote: On 13/02/2014 02:32, Randall Svancara wrote: Hi, I am using openindiana and I have disk shelves, with 24-4TB drives each. I have two shelves setup already, and I purchased a third. I thought adding the next batch of disks would be easy, but apparently it is not as OpenIndiana refuses to see all the disks. parted -l shows: First, use format instead of parted, it's the native tool. Second, did you touch /reconfigure before rebooting ? That initiates a new device configuration. Third, look at cfgadm -a, do you see all the disks and HBA's ? I guess that command (assuming super user role): pfexec devfsadm -C will do same as 'touch /reconfigure reboot', but just w/o rebooting. Regards. we had problems with our array, it turned out to be a combination of disk drive and controller failure ... The controller worked fine with cheaper non-enterprise Seagate disks, but not expensive enterprise grade Western Digitals. What make are the disks you're using, what controller card are you using? is there any particular pattern in the drives that are failing on the array? Jon PS. devfsadm -Cv takes time but is a good way of making sure the dev links are good. format -e will show all drives on your system, including removable (USB/SD Card) disks. cfgadm -a is a good way of listing all devices and nodes (including dynamics) ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Avoiding the NTP amplification exploit
Le 2014/02/13 11:35 +0100, Bob Friesenhahn a écrit: On Wed, 12 Feb 2014, Saso Kiselkov wrote: Prudent advice, yes, but I can't think of any situation where an openly accessible NTP service on an Internet-facing machine that isn't *specifically* configured to be an NTP server isn't a case of bad admin negligence. *All* Internet-facing machines should be running ipfilters and only open up ports for the services they are designed to provide. That is pretty harsh. It's also pretty much true, and plenty of security standards require enforcement of that basic policy. I had a FreeBSD system which was attacked by this exploit a couple of months ago and it took down my Internet connection (massive packet loss) until I figured out the cause. That system still receives millions of NTP packets per day (which are now tossed). There is no warning in the NTP documentation about the software automatically acting like a server and NTP is pretty much a peer-peer protocol Not really, no. Correct time is not a consensus. NTP definitely has a strict top-down hierarchy, not a flat P2P one. But it is indeed difficult to fully grasp it, and sadly, Solaris already has a long track record of not caring much to provide correct defaults. so it is reasonable to leave that port open on the firewall since some NTP clients might not be properly configured yet to use a local NTP server. Regardless, the protocol being exploited does not seem to be normal NTP itself but an admin-related protocol. All firewalls are now stateful, even for non connected protocols. You don't need to allow *incoming* NTP traffic on UDP/123 to allow *outgoing* traffic. So that's not really a valid reason. Laurent ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] OpenIndiana problems recognizing all disks/vdev
Thanks for the reply. I will give this a shot. Will a reboot cause the devices to the be recreated? Thanks, Randall On 02/12/2014 11:38 PM, Predrag Zecevic [Unix Systems Administrator] wrote: On 02/13/14 02:42 AM, Udo Grabowski (IMK) wrote: On 13/02/2014 02:32, Randall Svancara wrote: Hi, I am using openindiana and I have disk shelves, with 24-4TB drives each. I have two shelves setup already, and I purchased a third. I thought adding the next batch of disks would be easy, but apparently it is not as OpenIndiana refuses to see all the disks. parted -l shows: First, use format instead of parted, it's the native tool. Second, did you touch /reconfigure before rebooting ? That initiates a new device configuration. Third, look at cfgadm -a, do you see all the disks and HBA's ? I guess that command (assuming super user role): pfexec devfsadm -C will do same as 'touch /reconfigure reboot', but just w/o rebooting. Regards. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Compiling OpenOffice4
Hi, Apostolos I want to ask you how to compile AOO in GCC? By default, AOO configure always talk me that have to use Sun CC. if i define CC=gcc CXX=G++ LD=gld, it will appear this error message when exec configure: == checking for bash... /usr/bin/bash checking gcc home... /opt/gnu/bin//gcc checking for gcc... /opt/gnu/bin/gcc checking whether the C compiler works... no configure: error: in `/UNIX-LAB/AOO401/aoo-4.0.1/main': configure: error: C compiler cannot create executables My System is Solaris 11.1, GCC version is 4.8.2. ld version is 2.24. Thanks. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Compiling OpenOffice4
OK, this is my config.log. Thanks a lot. 2014-02-14 0:31 GMT+08:00 Apostolos Syropoulos asyropou...@yahoo.com: I want to ask you how to compile AOO in GCC? By default, AOO configure always talk me that have to use Sun CC. if i define CC=gcc CXX=G++ LD=gld, it will appear this error message when No you cannot define use LD=gld! You have to use something $ export LD_ALTEXEC=/usr/gnu/bin/ld checking for bash... /usr/bin/bash checking gcc home... /opt/gnu/bin//gcc checking for gcc... /opt/gnu/bin/gcc checking whether the C compiler works... no configure: error: in `/UNIX-LAB/AOO401/aoo-4.0.1/main': configure: error: C compiler cannot create executables I need to see file config.log Please send it as an attachment. A.S. -- Apostolos Syropoulos Xanthi, Greece http://asyropoulos.eu http://asyropoulos.wordpress.com http://hypercomputation.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Compiling OpenOffice4
I want to ask you how to compile AOO in GCC? By default, AOO configure always talk me that have to use Sun CC. if i define CC=gcc CXX=G++ LD=gld, it will appear this error message when No you cannot define use LD=gld! You have to use something $ export LD_ALTEXEC=/usr/gnu/bin/ld checking for bash... /usr/bin/bash checking gcc home... /opt/gnu/bin//gcc checking for gcc... /opt/gnu/bin/gcc checking whether the C compiler works... no configure: error: in `/UNIX-LAB/AOO401/aoo-4.0.1/main': configure: error: C compiler cannot create executables I need to see file config.log Please send it as an attachment. A.S. -- Apostolos Syropoulos Xanthi, Greece http://asyropoulos.eu http://asyropoulos.wordpress.com http://hypercomputation.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Compiling OpenOffice4
I've been working on the same thing. I think, the issue is the /usr/ccs/bin in the $PATH. God alone knows why that's in there. Anyway, here are my notes, to be read together with the web page by Apostolos. (patches attached) Note that I haven't succeeded as yet pkg install --accept \ pkg:/developer/build/ant pkg:/developer/java/junit \ pkg:/developer/java/jdk-7 pkg:/developer/gperf\ git make gcc-45 autoconf autogen automake-110 gnu-m4 \ pkg:/system/header pkg:/developer/gperf \ pkg:/developer/parser/bison \ pkg:/developer/lexer/flex pkg:/developer/documentation-tool/doxygen /usr/perl5/bin/cpan -f -i LWP::UserAgent Archive::Zip cd /home/bautsche/apache-openoffice/aoo-1565186-20140206/main unset LD_LIBRARY_PATH export LD_LIBRARY_PATH export CONFIG_SHELL=/bin/bash export LD_ALTEXEC=/usr/bin/gld export PATH=/usr/perl5/bin:/usr/gcc/4.5/bin:/usr/bin:/usr/X11/bin export ANT_HOME=/usr/ export JAVA_HOME=/usr/jdk/jdk1.7.0_45 autoconf ./configure \ --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 \ --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-odk \ --with-lang=en \ --with-junit=/usr/share/lib/java/junit.jar --disable-randr \ --enable-category-b --enable-pdfimport \ --enable-wiki-publisher --with-dict=ALL \ --with-build-version=Built by Eric Bautsch \ --with-package-format=installed --with-jdk-home=/usr/jdk/jdk1.7.0_45 \ --without-stlport --with-system-libxml # --prefix=/opt/openoffice # modify SolarisX86GccEnv.Set.sh and ensure ^PATH= reads: # /usr/jdk/jdk1.7.0_45/bin:/usr/perl5/bin:/usr/bin:/usr/X11/bin:/home/bautsche/apache-openoffice/aoo-1565186-20140206/main/solenv/unxsogi.pro/bin:/home/bautsche/apache-openoffice/aoo-1565186-20140206/main/solenv/bin # /usr/gcc/4.5/bin:$JAVA_HOME/bin:/usr/perl5/bin:/usr/bin:/usr/X11/bin:$SOLARENV/$INPATH/bin:$SOLARENV/bin . ./SolarisX86GccEnv.Set.sh mkdir /home/bautsche/apache-openoffice/aoo-1565186-20140206/ext_sources cp /home/bautsche/apache-openoffice/aoo-1565186-20140206-ext-sources/* \ /home/bautsche/apache-openoffice/aoo-1565186-20140206/ext_sources/ cd /home/bautsche/apache-openoffice/aoo-1565186-20140206/main/solenv/inc/ gpatch /home/bautsche/apache-openoffice/aoo-1565186-20140206-extras/tg_compv.patch cd /home/bautsche/apache-openoffice/aoo-1565186-20140206/main cp /home/bautsche/apache-openoffice/aoo-1565186-20140206-extras/solaris.mk \ solenv/gbuild/platform/solaris.mk cp /home/bautsche/apache-openoffice/aoo-1565186-20140206-extras/unxsogi.mk \ solenv/inc/unxsogi.mk for file in `find . -name makefile.mk` do cp -p ${file} ${file}.dist sed -e 's/-lCstd/-stdc++/g' \ -e 's/\/usr\/ccs\/bin/\/usr\/bin/g' ${file}.dist ${file} done cp -p odk/settings/settings.mk odk/settings/settings.mk.dist sed -e 's/\/usr\/ccs\/bin/\/usr\/bin/g' odk/settings/settings.mk.dist \ odk/settings/settings.mk ./bootstrap cd sal/osl/unx gpatch /home/bautsche/apache-openoffice/aoo-1565186-20140206-extras/file.cxx.patch gpatch /home/bautsche/apache-openoffice/aoo-1565186-20140206-extras/util.c.patch cd /home/bautsche/apache-openoffice/aoo-1565186-20140206/main for file in solenv/inc/unxso*.mk do cp -p ${file} ${file}.dist sed -e 's/^ASM=.*/ASM=\/usr\/bin\/gas/g' ${file}.dist ${file} done ed soltools/adjustvisibility/adjustvisibility.cxx EOI /^#include a #include string.h #include stdlib.h #include cstring . w q EOI for file in sal/util/makefile.mk salhelper/source/makefile.mk store/util/makefile.mk \ registry/util/makefile.mk do cp -p $file ${file}.dist2 egrep -v '\.map' ${file}.dist2 $file done cd instsetoo_native build --all HTH Eric On 13/02/2014 16:17, L'oiseau de mer wrote: Hi, Apostolos I want to ask you how to compile AOO in GCC? By default, AOO configure always talk me that have to use Sun CC. if i define CC=gcc CXX=G++ LD=gld, it will appear this error message when exec configure: == checking for bash... /usr/bin/bash checking gcc home... /opt/gnu/bin//gcc checking for gcc... /opt/gnu/bin/gcc checking whether the C compiler works... no configure: error: in `/UNIX-LAB/AOO401/aoo-4.0.1/main': configure: error: C compiler cannot create executables My System is Solaris 11.1, GCC version is 4.8.2. ld version is 2.24. Thanks. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss -- / . Eric A. Bautsch /-- __ _____ / // / / (_/(___(__/ email: eric.baut...@pobox.com ---
Re: [OpenIndiana-discuss] Compiling OpenOffice4
sorry, i have discovered my gcc 4.8.2 that i build self has some problem. When use solaris 11 internal gcc 4.5.2, have pass this configure process. I will try to build AOO by using this gcc 4.5.2. 2014-02-14 0:35 GMT+08:00 L'oiseau de mer oiseau...@gmail.com: OK, this is my config.log. Thanks a lot. 2014-02-14 0:31 GMT+08:00 Apostolos Syropoulos asyropou...@yahoo.com: I want to ask you how to compile AOO in GCC? By default, AOO configure always talk me that have to use Sun CC. if i define CC=gcc CXX=G++ LD=gld, it will appear this error message when No you cannot define use LD=gld! You have to use something $ export LD_ALTEXEC=/usr/gnu/bin/ld checking for bash... /usr/bin/bash checking gcc home... /opt/gnu/bin//gcc checking for gcc... /opt/gnu/bin/gcc checking whether the C compiler works... no configure: error: in `/UNIX-LAB/AOO401/aoo-4.0.1/main': configure: error: C compiler cannot create executables I need to see file config.log Please send it as an attachment. A.S. -- Apostolos Syropoulos Xanthi, Greece http://asyropoulos.eu http://asyropoulos.wordpress.com http://hypercomputation.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Compiling OpenOffice4
Hello, One of the patches in now included in the source tree: https://issues.apache.org/ooo/show_bug.cgi?id=124086 A.S. -- Apostolos Syropoulos Xanthi, Greece ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Firefox 27 Openindiana is available/HTML5 Score/script to update
New firefox 24.3.0esr and 27.0 are available on Mozilla. 26 and 27 release have the same HTML5 score (score=399) on the HTML5 conformance test site. Strange the Solaris10 Firefox 26/27 score is 401/403) : http://html5test.com/ This site is very interesting to compare browser or same browser release against the OS. To see the recent test logged : click OtherBrowser then Latest. Score Browser When 503 Chrome 32 on Mac OS X 10.8.5 4 seconds ago 399 Firefox 27.0 on Solaris 6 seconds ago 442 Firefox 26.0 on Ubuntu 9 seconds ago 501 Chrome 32 on Windows XP 9 seconds ago 448 Firefox 27.0 on Windows 7 23 seconds ago 163 Firefox 12.0 on Windows 8 27 seconds ago 292 a Kyocera Event running Android 4.0.4 29 seconds ago 333 Viera 3.1.8 on a Panasonic Smart Viera 1 minute ago 503 Chrome 32 on Windows 7 1 minute ago 503 Chrome 32 on Windows 8.1 1 minute ago 503 Chrome 32 on Windows 8.1 1 minute ago 496 Lbbrowser on Windows 7 2 minutes ago 492 Opera 19.0 on Windows 7 2 minutes ago 446 Firefox 26.0 on Windows 7 2 minutes ago 446 Firefox 25.0 on Windows 7 2 minutes ago 369 Internet Explorer 11.0 on Windows 7 2 minutes ago 43 Internet Explorer 8.0 on Windows XP 2 minutes ago 444 Firefox 27.0 on Windows 7 2 minutes ago 369 Internet Explorer 11.0 on Windows 7 2 minutes ago 474 Opera 19.0 on Windows 8.1 2 minutes ago 448 Firefox 27.0 on Mac OS X 10.9 2 minutes ago ... If you want an half/automatic Firefox update cut the shell upfirefox at the end of this mail : If you prefer esr channel just use ./upfirefox esr else here is a demo with release channel. # ./upfirefox Updating Firefox to latest release 27.0 firefox-27.0.en-US.opensolaris-i386-pkg.bz2 computed MD5 match reference Can't load locale http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-i686/xpi/.xpi/ The following package is currently installed: SFWfirefox Mozilla Firefox Web browser (i386) 26.0,REV=110.0.4.2013.12.06.20.05 Do you want to remove this package? [y,n,?,q] y ## Removing installed package instance ... Removal of was successful. The following packages are available: 1 SFWfirefox Mozilla Firefox Web browser (i386) 27.0,REV=110.0.4.2014.02.11.19.35 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: Processing package instance from verifying class ] Installation of was successful. Firefox successuly installed Now from firefox update locale by loading /tmp/.xpi If firefox is already updated : # ./upfirefox Last Firefox 27.0 release already installed = upfirefox #!/bin/ksh # # Download and Update Firefox by CP # export PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/local/bin:/opt/sfw/bin # Base URL STABLE=latest if [[ $1 == esr ]] then STABLE=latest-esr fi UNIX=http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$STABLE; #http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/contrib/solaris_pkgadd/ # Solaris Package FFOX=$UNIX/contrib/solaris_pkgadd/ # Get first 2 letters of current locale LC=${LC_MESSAGES%_*}.xpi # Get Linux locale extension FXPI=$UNIX/linux-i686/xpi/$LC/ # Debug 1 to debug DEBUG=0 # Get OS release OSR=$(uname -r) case $OSR in 5.10) ID=solaris-10-fcs ;; 5.11) ID=opensolaris ;; esac # Get i386 or Sparc ARCH=$(uname -p) cd /tmp # Get Firefox Current Release index if ! curl --list-only --silent $FFOX index then print Can't list $FFOX exit 1 fi MD5F=$( grep firefox-.*$ID-$ARCH-pkg.bz2.md5sum index | sed -e 's/.* href=//' -e 's/.*//' ) PKGF=${MD5F%.md5sum} FFR=$(print $MD5F | sed -e 's/firefox-//' -e 's/.en-US.*//') DEBUG=no if [[ $DEBUG == yes ]] then print $FFOX cat index print rm index print $FFR print $MD5F print $PKGF fi if [[ -x /opt/sfw/bin/firefox ]] then # Mozilla Firefox X.Y.Z, Copyright (c) 1998 - 2009 mozilla.org if /opt/sfw/bin/firefox -v | grep Firefox $FFR /dev/null then print Last Firefox $FFR release already installed exit fi fi print Updating Firefox to latest release $FFR if [[ $DEBUG == yes ]] then print OSRelease=$OSR print ARCH=$ARCH print Firefox Release=$FFR print MD5 Firefox Package File=$MD5F print Firefox Package File=$PKGF print Firefox base URL=$FFOX print Firefox locale XPI=$FXPI exit fi # Get Package # curl --ftp-pasv --progress-meter --url $FFOX/$PKGF --output-file $PKGF if ! wget -q $FFOX/$PKGF then print Can't load $FFOX/$PKGF exit 1 fi md5c=$(digest -a md5 $PKGF) # Get MD5 # curl --ftp-pasv --progress-meter --url $FFOX/$MD5F --output-file $MD5F if ! wget -q $FFOX/$MD5F then print Can't load $FFOX/$MD5F exit 1 fi # Compare MD5 cat $MD5F | read md5r pkg if [[ $md5c != $md5r ]] then print $PKGF computed MD5 is corrupted : update failure. exit else print $PKGF computed MD5 match reference rm $MD5F fi # Get .xpi localisation extension if ! wget -q $FXPI then print Can't load locale $FXPI fi # Install if cp /dev/null /firefox then rm /firefox else print Install needs privileges. Please su - root and install from /tmp exit fi if bunzip2 $PKGF then pkgrm SFWfirefox if pkgadd
Re: [OpenIndiana-discuss] Firefox 27 Openindiana is available/HTML5 Score/script to update
On Thu, 13 Feb 2014, cpforum wrote: New firefox 24.3.0esr and 27.0 are available on Mozilla. How evident/obvious is the built in advertising feature in 27? Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 13/02/2014 9:02 PM, Jonathan Adams wrote: we had an issue with an OI box running KVM, in that instance the OI base tried DHCP'ing (after about 7-10 days) and wouldn't get an IP address correctly. I made the host a static address and both the interface, and the KVM have been up and working for 71 days without an issue. I'm not sure if you have a similar issue, are your interfaces DHCP'd? No, all static, all bridged. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 2014-02-13 21:41, Carl Brewer wrote: On 13/02/2014 9:02 PM, Jonathan Adams wrote: we had an issue with an OI box running KVM, in that instance the OI base tried DHCP'ing (after about 7-10 days) and wouldn't get an IP address correctly. I made the host a static address and both the interface, and the KVM have been up and working for 71 days without an issue. I'm not sure if you have a similar issue, are your interfaces DHCP'd? No, all static, all bridged. ...all bridged to individual OI vnics with mac addresses matching the MAC address of the NIC in VM? right? ;) //Jim ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 14/02/2014 9:12 AM, Jim Klimov wrote: On 2014-02-13 21:41, Carl Brewer wrote: On 13/02/2014 9:02 PM, Jonathan Adams wrote: we had an issue with an OI box running KVM, in that instance the OI base tried DHCP'ing (after about 7-10 days) and wouldn't get an IP address correctly. I made the host a static address and both the interface, and the KVM have been up and working for 71 days without an issue. I'm not sure if you have a similar issue, are your interfaces DHCP'd? No, all static, all bridged. ...all bridged to individual OI vnics with mac addresses matching the MAC address of the NIC in VM? right? ;) whatever the default behaviour is, yes. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 2014-02-13 23:28, Carl Brewer wrote: On 14/02/2014 9:12 AM, Jim Klimov wrote: No, all static, all bridged. ...all bridged to individual OI vnics with mac addresses matching the MAC address of the NIC in VM? right? ;) whatever the default behaviour is, yes. For this configuration there is no proper default, so this may be the culprit if I guessed correctly. Am I right to interpret your post as I did not configure anything special and just bridged all VM NICs over the same host OS interface? Under OpenSolaris and later, if you want properly working bridged interfaces, according to the docs you must create a VNIC with a unique MAC address, and you must configure the VM with the same MAC address on its virtual hardware NIC which is bridged over this dedicated VNIC on the host. If you need VLANs, let the host VNIC take care of that... and I am not sure if you can pass multiple VLANs to one virtual NIC this way (or should rather create one per VLAN). HTH, //Jim Klimov ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
In message 52fd470d.3000...@bl.echidna.id.au, Carl Brewer writes: whatever the default behaviour is, yes. What is the output of VBoxManage showvminfo and dladm show-vnic? John groenv...@acm.org ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 14/02/2014 10:40 AM, Jim Klimov wrote: For this configuration there is no proper default, so this may be the culprit if I guessed correctly. Am I right to interpret your post as I did not configure anything special and just bridged all VM NICs over the same host OS interface? I just checked, each VM has a unique MAC address. Host MAC address for e1000g1 (203.6.241.33): (output from arp -an) e1000g1 203.6.241.33 255.255.255.255 SPLA 68:05:ca:16:90:8f for the VM's 203.6.241.132|134 (this virtual server has two IP addresses) carl@hostie:~$ arp -an | grep 132 e1000g1 203.6.241.132255.255.255.255 08:00:27:be:a9:97 carl@hostie:~$ arp -an | grep 134 e1000g1 203.6.241.134255.255.255.255 08:00:27:be:a9:97 carl@hostie:~$ arp -an | grep 34 e1000g1 203.6.241.34 255.255.255.255 08:00:27:3f:d3:b2 carl@hostie:~$ arp -an | grep 35 e1000g1 203.6.241.35 255.255.255.255 08:00:27:85:b3:d6 All the MAC addresses are unique per VM's ethernet interface. All these arp outputs match the output from ifconfig on each of the guests. Under OpenSolaris and later, if you want properly working bridged interfaces, according to the docs you must create a VNIC with a unique MAC address, and you must configure the VM with the same MAC address on its virtual hardware NIC which is bridged over this dedicated VNIC on the host. That should happen automagically. The guest should pick up the MAC address from Virtualbox. It has in this instance. If it didn't, I would see problems a lot earlier than after a week or so, right? If you need VLANs, let the host VNIC take care of that... and I am not sure if you can pass multiple VLANs to one virtual NIC this way (or should rather create one per VLAN). I'm not using VLANs, these are just bridged ethernet ports. Unless *maybe* the problem is two IP addresses for the one ethernet on one of the servers? That would have to be a bug if it is a problem, ethernet ports should be able to handle multiple IP addresses. Am I on the right track? A bug or a misconfiguration? thanks again, Carl ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 14/02/2014 11:32 AM, John D Groenveld wrote: In message 52fd470d.3000...@bl.echidna.id.au, Carl Brewer writes: whatever the default behaviour is, yes. What is the output of VBoxManage showvminfo For each VM, trimmed for relevancy : carl@hostie:~$ VBoxManage showvminfo oldroll Name:oldroll Groups: / Guest OS:NetBSD (64 bit) . . NIC 1: MAC: 080027BEA997, Attachment: Bridged Interface 'e1000g1 - Intel PRO/1000 Gigabit Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none carl@hostie:~$ VBoxManage showvminfo rollcage | more Name:rollcage Groups: / Guest OS:NetBSD (64 bit) . . NIC 1: MAC: 08002785B3D6, Attachment: Bridged Interface 'e1000g1 - Intel PRO/1000 Gigabit Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none carl@hostie:~$ VBoxManage showvminfo svr2 | more Name:svr2 Groups: / Guest OS:Red Hat (64 bit) . . NIC 1: MAC: 0800273FD3B2, Attachment: Bridged Interface 'e1000g1 - Intel PRO/1000 Gigabit Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none and dladm show-vnic? carl@hostie:~$ dladm show-vnic carl@hostie:~$ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Virtualbox, OI 151a8 and vboxflt problem
On 14-02-13 05:06 PM, Carl Brewer wrote: On 14/02/2014 11:32 AM, John D Groenveld wrote: In message 52fd470d.3000...@bl.echidna.id.au, Carl Brewer writes: whatever the default behaviour is, yes. What is the output of VBoxManage showvminfo For each VM, trimmed for relevancy : carl@hostie:~$ VBoxManage showvminfo oldroll Name:oldroll Groups: / Guest OS:NetBSD (64 bit) . . NIC 1: MAC: 080027BEA997, Attachment: Bridged Interface 'e1000g1 - Intel PRO/1000 Gigabit Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none carl@hostie:~$ VBoxManage showvminfo rollcage | more Name:rollcage Groups: / Guest OS:NetBSD (64 bit) . . NIC 1: MAC: 08002785B3D6, Attachment: Bridged Interface 'e1000g1 - Intel PRO/1000 Gigabit Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none carl@hostie:~$ VBoxManage showvminfo svr2 | more Name:svr2 Groups: / Guest OS:Red Hat (64 bit) . . NIC 1: MAC: 0800273FD3B2, Attachment: Bridged Interface 'e1000g1 - Intel PRO/1000 Gigabit Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none and dladm show-vnic? carl@hostie:~$ dladm show-vnic carl@hostie:~$ dladm should look more like this (every VM on the system has a vnic). dladm show-vnic LINK OVER SPEED MACADDRESS MACADDRTYPE VID mlad1igb0 1000 2:8:20:45:2a:9a random 0 mlmail1 igb0 1000 2:8:20:92:25:48 random 0 mlapp1 igb0 1000 2:8:20:1b:70:f5 random 0 mlmonitor1 igb0 1000 2:8:20:bd:e5:c1 random 0 The MAC address on the vnic needs to match the MAC address on the VM's NIC. Geoff ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss