Archivo de la categoría: solaris

Editing SNMP Support for Solaris 10 OS

vim /etc/sma/snmp/snmpd.conf Restart svcadm restart svc:/application/management/snmpdx:default svcadm restart svc:/application/management/dmi:default svcadm restart svc:/application/management/sma:default Solaris 10 Edit community string, acl on config file: /etc/sma/snmp/snmpd.conf By default SNMP service is installed and enabled on Solaris 10 with service name: sma After change config file you need to restart sma service for changes take effect.  # svcadm restart sma… Leer más »

Display the ok Prompt OpenBoot PROM

set /HOST/bootmode script=»setenv auto-boot? false» reset /SYS Choose the appropriate shutdown method from the following table to reach the ok prompt. Caution – When possible, reach the ok prompt by performing a graceful shutdown of the OS. Any other method used might result in the loss of system state data. System State What To Do… Leer más »

Resolving Problems With a zoneadm attach Operation

Patches and Packages Are Out of Sync The target system must be running the same versions of the following required operating system packages and patches as those installed on the original host. Packages that deliver files under an inherit-pkg-dir resource Packages where SUNW_PKG_ALLZONES=true If packages and patches are different between the original host and the… Leer más »

ssh session slow to start ( its dns )

Liraz Siri – Mon, 2010/03/08 – 14:10 – 14 comments | Latest by Ryan Ever tried logging into a machine with ssh and found you have to wait much longer than reasonable for the session to start? This happened to me a few times and was especially annoying with machines on my local network (or… Leer más »

ldoms solaris sparc ldom ldm

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=482193093532802&parent=SrDetailText&sourceId=3-13274423271&id=1019467.1&_afrWindowMode=0&_adf.ctrl-state=nhmqwbzoc_21   Applies to: SPARC T4-1 – Version All Versions and later Sun SPARC Enterprise T5120 Server – Version All Versions and later SPARC T3-1 – Version All Versions and later Sun SPARC Enterprise T5140 Server – Version All Versions and later Sun SPARC Enterprise T5440 Server – Version All Versions and later All Platforms… Leer más »

To scan new FC luns , disks, fiber channel

To scan new FC luns, Just execute the below commands. Scanning FC/SAN LUNS 1 cfgadm -al To scan FC luns 2 devfsadm -c disk  To make sure all the device files are created 3 tail /var/adm/messages To see the new LUN’s information 4 echo |format To get the new LUN’s information 5 ls -lrt /dev/rdsk… Leer más »

Jobs – Move Running Process to Background & Nohup

(method 1) ALREADY RUNNING PROCESS INTO BACKGROUND Pro:   Puts running process into background Con:  If you quit out of the shell window the process stops   Reference: http://www.unix.com/unix-advanced-expert-users/78975-make-foreground-running-process-run-background-without-hang-up.html   1. Ctrl-z 2. jobs or alternate method which lists the PID (note the PID is not the jobnum, the job number is shell specific to… Leer más »

zfs notes

zfs create rpool/db2 zfs create rpool/db3 zfs create rpool/db4 zfs create rpool/db5 zfs create rpool/db6 zfs create rpool/db7 zfs set mountpoint=/db1 rpool/db1 zfs set mountpoint=/db2 rpool/db2 zfs set mountpoint=/db3 rpool/db3 zfs set mountpoint=/db4 rpool/db4 zfs set mountpoint=/db5 rpool/db5 zfs set mountpoint=/db6 rpool/db6 zfs set mountpoint=/db7 rpool/db7 snapshot zfs snapshot rpool/db1@mig1 zfs list zfs rollback rpool/db1@mig1… Leer más »

ZFS Tutorials : Creating ZFS snapshot and clones

http://thegeekdiary.com/zfs-tutorials-creating-zfs-snapshot-and-clones/ By Sandeep 1 Comment ZFS snapshots zfs snapshot is a read-only copy of zfs file system or volume. They consume no extra space in the zfs pool and can be created instantly. They can be used to save a state of file system at particular point of time and can later be rolled back… Leer más »

zone cloning without shutdown

In my presentation at Oracle Openworld, I showed a demo of how to easily clone a zone to make a copy for development or testing purposes. These were the steps, given that the zone oow01 was already set up and running. zonecfg -z oow01 export > oow43.cfg — dump the existing config to a file… Leer más »