En Español

¿Por qué intentarlo?

Existen ya un montón de libros, tal vez demasiados, y aún más cursillos hechos además por gente con mucha más experiencia que yo. Va a ser difícil no sólo el intentar mejorarlo, si no simplemente igualarlo.

Me rindo a la evidencia de que va a ser imposible satisfacer a todo el mundo. Dispongo de poco tiempo, y aunque me gusta investigar todo el material que voy a preparar, sé que va a haber errores y fallos. En algunos casos los artículos no serán del todo completos.

Recupera licencias de Xsan a traves de Apple Remote Desktop

Algunas veces te será necesario recuperar las licencias que se hayan asignado a cada uno de tus clientes Xsan. Aún en el caso de Xsan 2.x que hace una asignación automática de licencias puede ser necesario a la hora de documentar o saber a que sistema está asociado. No tengo claro, porque no he dedicado suficiente tiempo al asunto, si Xsan Admin 2 permite exportar la lista de licencias (¡porque si que permite importarlas!), pero en el pasado he usado el siguiente comando a traves de Apple Remote Desktop para recuperar rápidamente esta información.

Shells

Lo primero que necesitamos entender es como vamos a comunicarnos con el sistema. OS X viene con un emulador de terminal llamado Terminal que tiene bastantes novedades interesantes en Leopard. Cosas que deberían haber puesto hace años como pestañas y la posibilidad de crear favoritos (para poder conectarte rápidamente a un servidor, por ejemplo). Ya mencione en la antigua bitácora que hace un año me pase a iTerm, y aunque ahora las dos aplicaciones estén a la par en términos de funcionalidad para mi es tarde. Estoy convertido.


Una introducción a la linea de comandos: Presentación

De manera demasiado frecuente me encuentro a administradores de OS X que no tienen ningún o muy limitado conocimiento del uso de la linea de comandos.

Puede que muchos de estos administradores hayan sido empujados a gestionar estos sistemas por accidente. Al fin y al cabo la migración a Unix fue elección de Apple y no de ellos.

NTFS en OS X

Desde las primeras versiones de OS X existe soporte para la lectura de volúmenes NTFS.
Es bastante habitual el tener que intercambiar archivos entre plataformas y a veces el poder leer no es suficiente. Grabar archivos al disco duro de un amigo o un cliente es algo muy frecuente. Y el tener que usar una partición FAT no es lo mas práctico hoy en día considerando el tamaño de los discos duros disponibles en el mercado.
Por no decir que para aquellos de vosotros con Boot Camp instalado puede ser muy útil si queréis copiar entre particiones.
Esta semana salio la versión 1.0 del controlador NTFS-3G que permite el escribir en volúmenes NTFS desde prácticamente todas las distribuciones de Linux. Apple contrato hace unos dos años a uno de los desarrolladores principales del controlador. En teoría, el código desarrollado será liberado por Apple en el futuro, pero por el momento no es posible escribir en volúmenes NTFS desde OS X sin software de terceras partes.

In English

Why try?

There are far too many books and far too many good tutorials already available that have been created by people with a lot more experience than me about Unix and the use of the command line. It is going to be very difficult to top most of them, and the harsh reality is that it is going to be impossible to satisfy everyone. Time is a big constrain for me, and although I like to research as much as possible all of the training that I prepare, there are going to be mistakes and in some cases lack of completion.

Retrieving Xsan licenses from clients through Apple Remote Desktop

Sometimes you will need to retrieve the licenses that have been assigned to each of your clients on Xsan. Not sure if Xsan Admin 2 allows to export the license file, but I have used in the past Apple Remote Desktop to retrieve this information.

Because I know that the license string is stored in /Library/Filesystems/Xsan/config/role.plist the only thing that is required is to select the line containing the string with the serial.

If you use Apple Remote Desktop you can send the following command to get it in a nicely formatted report.

Shells

The first thing that we need to understand is how we are going to be interacting with the system. OS X provides you with the Terminal application that has been revamped for Leopard and offers long requested features like tabs and favourites. Personally, I migrated to iTerm over a year ago and even though probably by now both applications are on par I won't be swapping again.

What is a shell and what is its function?

An introduction to the command line: Introduction

I encounter on a daily basis a lot of OS X sysadmins that have no idea or a great fear of using the command line.

How anyone can administer a system just from the GUI is beyond me. I do not mean this in a condescending way, but learning the basics should not take a long time and it does indeed make your life a lot easier.

So, with the blog reborn I am going to be creating an introduction to the use of the Terminal while I try to add things that are also useful to people that are already proficient with the CLI.