If you need access to the ClassLoader from a static function, for example in order to access a file inside your jar. You can get hold of it simply bu calling “YourClassname.class.getClassLoader()” 🙂
Just a quick how-to- make sure that you can install new Data Protector clients using SSH.
All this is done FROM the Linux the installation server, using the root user.
First of all, you have to copy the .omnirc-file if you have not done it before.
cp /opt/omni/.omnirc.TMPL /opt/omni/.omnirc
Then, edit the .omnirc file in /opt/omnic/ and make sure that OB2_SSH_ENABLED is set to “1”.
Then you need to make sure that the installation server can SSH to the client(s) without being asked for a password. If you do not have a SSH-key, you can generate one by running ssh-keygen.
Now copy your public key to the client(s) that you are going to install Data Protector on, by running ssh-copy-id root@<client>. Test it afterwards by SSHing to the client(s), if you do not get asked by a password, you are good to go!
PS: You have to SSH to the client at least once, as you will be asked to confirm the client certificate the first time.
After having set up quite a few VM`s in my career, i have picked up a couple of tips on how to get the most power out of your VM`s:
Get new/correct drivers for your VM`s
Remember to make sure that you have all the correct drivers, this is at least important for IO(Disk) and Network devices. Windows has many devices that will work with basic Microsoft drivers, but that does not mean that the performance magically gets awesome. After making sure that the correct drivers were in place, i managed to go from ~900Mbit to 9.9Gbit on a 10gbit-network between a Linux (Red Hat) and Windows 2k8 server. (tested with iperf which exists for both Windows and Linux)
Turn off Power saving options in BIOS / Hardware
More or less all servers, either they being brick servers, home servers or blade servers, have BIOS settings that enables or disables power saving mode. I know from experience that at least all HP blades comes with power saving enabled per default. Turn off this to make sure that your VM`s gets the performance they expect to get. (I have had VM`s simply be sluggish with this feature turned on, turning it off made CPU-performance get normal)
Turn off CPU throttling on the VM host machine
I have also had issues with slow VM`s even when the power options was fixed in BIOS. I then realized that some Linux distributions (Ubuntu) have a default CPU scheduler that throttles down the CPU when it is not needed. After making sure that the host did NOT do this, the VM`s finally started acting as they should. Check out your Linux distributions guides on how to change this.
Any other tips i should add to the list? Feel free to add a comment below! 🙂
I just received a notice during boot of a HP G8 server regarding iLO issues: “iLO 4 has detected a self test error. For details consult the iLO 4 server and iLO 4 diagnostics page”.
Went into the iLO diagnostics page (in the Blade Center admin) and found the error message “Controller firmware revision 2.07.00 Embedded media manager failed initialization”. Google does not give too much info regarding this, so it is a bit hard to see what is going on regarding this. I tried to restart both the blade and the iLO itself, but the error did not go away.
I had to contact HP regarding this, and the conclusion(after both having to try a firmware upgrade and firmware re install), was that it was a hardware error on the iLO storage, so HP had to replace the whole motherboard for that server.
The new Multi Window feature became available in the recent Android update for Samsung Galaxy S3. You can enable / disable it from the top menu. Drag your finger from the top of the screen and down, then drag your finger to the left in the top menu you get, until you find the “Multi Window” button. Pressing it will enable or disable the feature 🙂
Blog post last updated 12:53 GMT, 15.november 2012
This is a manually updated list of people twittering about the new conflict that has erupted in Israel / Gaza.
Note: please comment if you miss anybody/anything here.
Twitter accounts updated within the last hour:
@IDFSpokesperson, Official Israel Defense Forces Twitter account
@RT_COM, Russia Today, follows the event
@BBCWorld, BBC World News follows this event
@Palestinianism, tweets about it
@DannyNis, tweets about it
@harryfear, tweets about it
Twitter accounts updated within the last three hours:
@AJEnglish, Al Jazeera, follows the event
Munin-node is not available per default on RHEL6 servers. But luckily, somebody has made a mirror which contains many nice applications, including the munin packages we want.
rpm -Uvh http://ftp.uninett.no/linux/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install perl-XML-SAX
yum install munin-node
And voila! 🙂
perl-XML-SAX has to be installed first due to dependency issues.
Edited 7.march 2013, updated URL`s
So Netflix has just launched in Norway, and i have finally had some time to test it, get used to it, and simply enjoy some movies.
- The interface has been tested in the US and is well used, to big stability issues to get it working.
- As a Spotify user, i get it for free out 2012. So i get some time to make up my mind.
- When i have seen some movies, Netflix starts to suggest other movies within the same genres, pretty nice when i “just want a film”. 🙂
- When the movie is over and the credits starts showing, Netflix starts to suggest other movies “inside” the movie, a small nice little feature.
- And not least ,i can actually watch as many movies that i want, for a reasonably price, and without having to buy it, rent it, wait for it to arrive, and so on.
- Apparently, many movies comes with subtext hard-coded into the movie, pretty annoying when you actually do not want to have it. I have all though not noticed this on the movies i have tested.
- When the recommendations algorithm used in Netflix don`t know anything about you, you can get some rather strange results. Like getting up many cartoon movies when you have not selected anything related to cartoons. This might also be related to the fact that Netflix Norway still do not have too big of a collection.
- The search engine appears to just make up results. As an example, i searched for “Hairspray“, a feel good musical. The results did not contain this movie, but instead i got a Norwegian movie named “Varg Veum” up, which is a drama/action movie. Totally irrelevant!
- There will some times be lag in the movies, which is very irritating. I hope this will become less frequent as the system gets more mature in Scandinavia. At least i do not expect my internet connection to be the issue, as this is a 50/10 VDSL line.
I am not totally convinced that i should give up my hobbies(like having fun on Team Fortress 2, playing on >casinos etc) for Netflix just now, but if they actually start to get more fresh content into the system. Then i will have a hard time keeping myself away! 🙂
When trying to export a virtual machine via the RHEV (Red Hat Enterprise Virtualization), either via the API or via the RHEVM admin console, you might encounter the error message “Cannot export VM. VM with the same identifier already exists”.
This is thrown when you are trying to export a VM to a location which already have the VM there, perhaps an older copy of the VM.
If you are doing this via the RHEVM admin console, simply select “force override”, to overwrite any existing VM there.
Now, if this is the API, then you must specify this via the action command, via an exclusive command:
<action><storage_domain><name>*STORAGE DOMAIN TO EXPORT TO*</name></storage_domain><exclusive>true</exclusive><discard_snapshots>false</discard_snapshots></action>
The documentation says that you should use overwrite, but this is wrong/a bug, and is confirmed by Red Hat.
There is also another reason which can trigger this, and which is in my eyes, a bug. If the VM already exist on the export domain, but with another name, then you will get this error no matter what. The only work around i know about so far is to make sure that the names are correct both places. I have contacted Red Hat to get this checked up.
It is a bit irritating to get old search queries up when typing search terms in the Twitter for Android app. It is a bit hidden away, but you can clear out the search history pretty easy.
Note that doing this also resets settings for the application, but it does not log your account off.
On your phone, go to App Drawer, Settings, Applications Manager, Twitter. Then click the “Clear data” button.
You can add a contact shortcut to your “Desktop” on your Samsung Galaxy S3 by adding a widget. Long click on a open area, then “add to home screen”, select “apps and widgets.
Select “Widgets” up to left, then select the “Contact”, “Direct dial”, or “Direct message”-widget, depending on what you want to do. 🙂
New rounds with problems on a Xerox ColorQube, this time i was greeted with error code “001-535”. This “translates” to problems with the power supply.This was not resolved until a technician came on site with a new power supply to replace the old one.