Archivo de la categoría: Nix

oracle certificate pkg ips publisher

sudo pkg set-publisher -k /tmp/pkg.oracle.com.key.pem -c /tmp/pkg.oracle.com.certificate.pem -G «*» -g https://pkg.oracle.com/solaris/support/ solaris para borrar el repositorio por default: pkg unset-publisher solaris pkg update –accept

Reset Solaris 11 root password x86 sparc

setenv network-boot-arguments host-ip=192.168.1.225,router-ip=192.168.1.1,subnet-mask=255.255.255.0,file=http://192.168.1.213:5555/cgi-bin/wanboot-cgi boot net -s failsafe root/solaris (default password) As you can see in the configuration file root is a role Assign the root role to your local account. # usermod -R root jdoe-local root@db04:~# cat /etc/user_attr # # The system provided entries are stored in different files # under «/etc/user_attr.d». They should not… Leer más »

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 »