zfs Snapshots / Clones

bash-3.00# zfs create poolraidz1/homebash-3.00# zfs listNAME              USED  AVAIL  REFER  MOUNTPOINTpoolraidz1        121K  9.78G  24.5K  /poolraidz1poolraidz1/home  24.5K  9.78G  24.5K  /poolraidz1/home Quota:bash-3.00# zfs set quota=4G poolraidz1/home bash-3.00# zfs listNAME              USED  AVAIL  REFER  MOUNTPOINTpoolraidz1        122K  9.78G  25.5K  /poolraidz1poolraidz1/home  24.5K  4.00G  24.5K  /poolraidz1/home ############ ZFS Snapshots ################# Features: 1. Read-only copies of volumes or file systems2. Use no additional space,… Leer más »

ZFS Redundacy

1. Mirroring – RAID – 12. RAID – 5 – RAID -Z bash-3.00# formatSearching for disks…done AVAILABLE DISK SELECTIONS:       0. c0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>          /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0       1. c0d1 <DEFAULT cyl 1303 alt 2 hd 255 sec 63>          /pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0       2. c1d1 <DEFAULT cyl 1303 alt 2 hd 255 sec 63>          /pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0… Leer más »

ZFS Web Gui

bash-3.00# ls -ltr /usr/sbin/smcwebserver lrwxrwxrwx   1 root     root          43 Mar 17 12:11 /usr/sbin/smcwebserver -> ../../usr/share/webconsole/bin/smcwebserver bash-3.00# netstat -anP tcp | grep 6789      *.6789               *.*                0      0 49152      0 LISTEN111.222.233.44.6789  111.222.104.222.3338 65498      0 49368      0 FIN_WAIT_2111.222.233.44.6789  111.222.104.222.3339 65498      0 49368      0 FIN_WAIT_2 Mozillahttps://localhost:6789/zfs

Zettabyte File System ZFS

Features: 1. 256 quadrillion zettabytes ( Terabytes, Petabytes, Exabytes, Zettabytes (1024 Exabytes))2. RAID-0/1 & RAID-Z ( RAID-5 with enhancements ) ( 2 – required virtual devices )3. Snapshots – read-only copies of file systems or volumes4. Create volumes5. Uses storage pools to manage storage – aggregates virtual devices6. File systems attached to pools grow dinamically… Leer más »

no hostkeys solaris 10 sshd

cat /var/svc/log/network-ssh\:default.log Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key cd /etc/sshssh-keygen -d -f ssh_host_dsa_key -N «»ssh-keygen -b 1024 -f ssh_host_rsa_key -t rsa -N «»      

Solaris 10 HANDBOOK

Solaris 10 admintools is not implemented pkgchk -P instead of grep /var/sadm/install/contents RBAC: Role-Based access control (kind of built in sudo) Solaris management commands smc Starts the Solaris management console smcront Manage cron jobs smdiskless Manage diskless client support smexec Manage entries in the exec_attr database smgroup Manages group entries smlog Manages and views WBEN… Leer más »

mount cdrom solaris core install : p

 Unless you’ve changed the system’s configuration, mountingCD/DVD media is supposed to happen automatically, with thehelp of the «vold» daemon. The CD/DVD will be mounted somewhere in /cdrom/xxxx with a symbolic link /cdrom/cdrom0 pointing to the root directory of themedia. If you’ve disabled «vold», of if you didn’t install it, manual mountingworks like this: 1. iostat… Leer más »

Solaris Init RunLevels

init is a legacy unix and linux application generally responsabily of the process running in the system.   ###Grand Unified Bootloader ####1. BIOS ( Ensure hardware health) CPU (s), Memory, Hard Disk(s)2. GRUB (Present menu to user and defaults to a selection within timer)3. OS Kernel (Solaris / Linux / Windows / etc )4. Sched… Leer más »

mysql

Hi All,This is my first blog and I am going to start off with some content which could potentially help others who had gone through some of the common obstacles and blockers of installing MySQL 5.0 on Solaris 10. What motivates me to write this is that it was difficult for me find a comprehensive… Leer más »

PHP

This script will configure a web server instance to run PHP scripts.usage :      setupPHP -instancename=<instance name> [-sapi=nsapi|fastcgi]Examples:     setupPHP -instancename=https-php     setupPHP -instancename=https-php -sapi=nsapibash-3.00# setupPHP -instancename=https-miservidor.combash: setupPHP: command not foundbash-3.00# ./setupPHP -instancename=https-miservidor.com UPDATED: /sun/webserver7/https-miservidor.com/config/magnus.conf UPDATED: /sun/webserver7/https-miservidor.com/config/solarisapp-obj.conf UPDATED: /sun/webserver7/https-miservidor.com/config/miservidor.com-obj.conf UPDATED: /sun/webserver7/https-miservidor.com/config/mime.types     Setup was sucessful.——————– The following steps are necessary to make the changes to all the… Leer más »