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 🙂