Friday, January 27, 2017

MobaXterm, Where have you been all my life?

MobaXterm... I discovered this beauty two weeks ago and I must say, wow.

At my 'new' job, (I emphasis that because I've been here 4 months now) anyway I support almost 40 various Linux servers and like 10 Windows machines.. all virtual of course.  But needless to say the majority of my time in in a terminal.

So anyway I started using SuperPutty like my co-worker, the other SysAdmin.  SuperPutty is alright, I mean it's got tabs, you can paste easily enough, saved links imported from Putty.  However I just had this feeling like I was missing out.  I mean its' 2017 FFS! There's better (i.e. more feature-rich and prettier) stuff out there.

So I went Googling and MobaXterm is the result.  It's so good that my boss today decided to buy a trio of licenses.

What do I love about it?  Well it did teh same as SuperPutty, it imported my saved sessions, it's got session tabs.. but it also supports connection ranging from ssh to sftp, serial, http, telnet, rsh, rdp, vnc, ftp, mosh, browser and more! It has what they call a 'graphical SSH browser' that sits along the left-hand side that allows you to browse the fille/folder structure.. even copy files to and from the host.  Or you can directly edit files within the same window.. This alone allowed me to ditch WinSCP!
Oh man.. and Syntax Coloring, there's typical Linux, Warnings/Errors, Cisco and  a couple more.  And what I noticed right off the bat, upon successful connection to a remote host you are presented with a window that tells you the following:
X11 Forwarding enabled?
SSH Agent?
How many Active SSH tunnels to this host
and the X11 Display IP

I'm not a paid spokesman by any means.. but damn this is one friggin awesome product!

MobaXterm
http://mobaxterm.mobatek.net/

Thursday, January 26, 2017

Rescan Linux VM guest for new vmdk w/o reboot

So recently at $work I've been handling a project to migrate production and test Oracle environments to new hardware on top of new vSphere as well.

So my job is corralling the DBA contractor, keeping him on par and whatnot.  Anyway this post isn't about that really.  The servers themselves are CentOS 7 with Oracle 12c, and in the name of Best Practices I've created 5 hdd's: OS, U01, U02, tmp and Backups.  So last night DBA requests another named U03 to house teh redo log files.  Ok sounds good, but this time I did not want to have to bounce the server to see the hew 'hardware'. So credit goes to: Vivek Gite @ here


echo "- - -" > /sys/class/scsi_host/host#/scan


Works like a friggin champ!  Of course this string returns nothing but a quick Fdisk -l shows that my sdf was found.

*drops mike*