Archivio tag: commandline

Bookmarks for 24 ott 2013 through 13 nov 2013

These are my links for 24 ott 2013 through 13 nov 2013:

Bookmarks for 15 gen 2013 through 16 gen 2013

These are my links for 15 gen 2013 through 16 gen 2013:

  • Simplify Advanced Shell Scripting With Ruby | AIX | IBM Systems Magazine | System p, System p5, Power System | Ruby, SSH, shell scripting, Bull Freeware, sysadmin, – IBM Systems Magazine – Ruby is just for experienced programmers. right? False! Originating in the mid-1990s, Ruby is a fantastic language, made popular recently by the Web application framework—Ruby on Rails. It’s a massively flexible and easy language to learn. You can find Ruby for AIX in the AIX Toolbox at the Bull Freeware. The script we’ll be creating will do the following:


    * Go through a large list of servers.
    * SSH them and determine whether the server is AIX.
    * If so, it will go through all disks, returning their type.
    * It will do all of this completely in parallel in batch at 25 sub-processes at a time.

  • Recovering a lost partition table with a VMFS volume | vInfrastructure Blog – Vi possono essere diversi motivi che portano alla perdita della tabella delle partizioni o alla sua corruzione. Nel caso di datastore VMFS le possibili cause sono: resignature da un altro sistema (ad esempio il backup server, nel caso funzioni in SAN mode), un errore umano (basta eseguire, su dischi condivisi, da vSphere Client un Datastore / Delete da un ESXi non ancora collegato al vCenter Server), o anche a causa di qualche problema lato storage (mi è capitato proprio questo caso di recente su uno storage entry level)[…]

    (Mi è capitato, ho seguito la kb di vmware e ne sono uscito. Comunque sto sudando ancora adesso…)

  • DataFart – DataFart lets you easily graph data from the command line.

Bookmarks for 5 dic 2012 through 6 dic 2012

These are my links for 5 dic 2012 through 6 dic 2012:

Bookmarks for 6 nov 2012 through 13 nov 2012

These are my links for 6 nov 2012 through 13 nov 2012:

  • Howto: Change the IP address of a Dell 4/P DRAC from the command line without rebooting the server – Normally you configure a Dell Remote Access Card (DRAC) when a server is initially commissioned. Once the card is set, administrators rarely if ever need to modify the settings. If you do need to change the settings, the server needs to be restarted so the DRAC BIOS can be modified, which obviously results in system downtime and requires a physical presence at the server console.
  • bash ini parser | /var/log/ajdiaz – In some situations i like to use INI files as configuration files, as python do. But bash do not provide a parser for these files, obviously you can use a awk code or a couple of sed calls, but if you are bash-priest and do not want to use nothing more, then you can try the following obscure code:
  • Jugg Monkey: VMWare HA Agent had an error – I recently had a problem with one hoste in a 3 node VMWare ESX 3. 5 cluster. For some reason, the HA Agent would not start after I applied outstanding software updates. I kept receiving "VMWare HA Agent had an error" in the alerts after the host came online. I had recently needed to change the IP address of the VMWare 3.5 ESX host, so I figured that was the root cause.