Archivo del Autor: carlosap

perl admin

Hey there! Today I wanted to focus on something that’s helping me do my job in a more efficient fashion. At a former workplace, I was responsible for ~200 high capacity webhosting machines, and a host of supporting machines. Back then, I was a huge fan of a management system mostly comprised of SSH Keys… Leer más »

crontab solaris

La única diferencia con la que nos encontramos, es que en Solaris el editor por defecto para crontab es ed, que hace que la edición del crontab se haga infumable. Así que antes de editar el crontab hay que definir en la variable del sistema EDITOR, que editor queremos utilizar, en mi caso vi. export… Leer más »

add afterimage

Remove before image proutil sports2000 -C disableSiteReplication source prostrct remove sports2000 bi [bl1:/db1/sports2000]$prostrct add sports2000 sports2000.st Formatting extents: size area name path name 16 Primary Recovery Area /db1/sports2000/sports2000.b1 00:00:00 16 Schema Area /db1/sports2000/sports2000.d2 00:00:00 16 After Image Area 1 /db1/sports2000/sports2000.a1 00:00:00 48 Employee /db1/sports2000/sports2000_7.d3 00:00:00 16 Employee /db1/sports2000/sports2000_7.d4 00:00:00 80 Inventory /db1/sports2000/sports2000_8.d3 00:00:01 16 Inventory… Leer más »

/etc/profile Variables Progress

cat /etc/profile #ident «@(#)profile 1.19 01/03/13 SMI» /* SVr4.0 1.3 */ # The profile that all logins get before using their own .profile. trap «» 2 3 export LOGNAME PATH if [ «$TERM» = «» ] then if /bin/i386 then TERM=sun-color else TERM=sun fi export TERM fi # Login and -su shells get /etc/profile services.… Leer más »

Change IP Address Solaris without restart

Solaris 10 edit /etc/hosts file (a symlink to /etc/inet/hosts file) and /etc/inet/ipnodes add an entry for IP address and hostname. Restart Network SRV # svcadm restart network/physical

Comandos útiles

  TOP command prstat -a ( like top ) vmstat   Para saber el uso del cpu sar 1 sar -u 10 60 mpstat 10 60