Category Archives: Solaris

Disable IPV6 on Solaris 11.2…

ipadm ipadm disable-addr -t net0/v6

Posted in Solaris | Comments Off on Disable IPV6 on Solaris 11.2…

Hotplug new disk to a solaris virtual machine…

if a newly added disk is not visible in solaris, then maybe hotplug is not enabled. Eenable hotplug: > svcadm enable hotplug

Posted in Solaris | Comments Off on Hotplug new disk to a solaris virtual machine…

How to set dns-server and search domain in solaris 5.11

root@solaris:~# svccfg svc:> select dns/client svc:/network/dns/client> setprop config/nameserver = net_address: 192.168.1.14 svc:/network/dns/client> setprop config/search = astring: rocworks.local svc:/network/dns/client> select default svc:/network/dns/client:default> refresh svc:/network/dns/client:default> validate svc:/network/dns/client:default> select name-service/switch svc:/system/name-service/switch> setprop config/host = astring: “files dns” svc:/system/name-service/switch> select default svc:/system/name-service/switch:default> refresh svc:/system/name-service/switch:default> … Continue reading

Posted in Solaris | Comments Off on How to set dns-server and search domain in solaris 5.11

Solaris nfs mount at boot (for oracle db_recovery_file_dest)

svcadm enable -r nfs/client   /etc/vfstab: nas2:/vols/disk/oradata – /data/oradata nfs – yes rw,xattr,rsize=32768,wsize=32768,hard   SQL> show parameter db_recovery NAME TYPE VALUE ———————————— ———– —————————— db_recovery_file_dest string /data/oradata db_recovery_file_dest_size big integer 80G

Posted in Oracle, Solaris | Comments Off on Solaris nfs mount at boot (for oracle db_recovery_file_dest)

Oracle 11gR2 Solaris DBConsole did not start…

On my machine the dbconsole didn’t start. The problem was the timezone didn’t match the timezone of the machine/host. $ORACLE_HOME/solaris_DB/sysman/config$ vi emd.properties agentTZRegion=+02:00 =============================================================== how to recreate DBConsole & repository: export ORACLE_UNQNAME = XXX emca -deconfig dbcontrol db -repos drop emca … Continue reading

Posted in Oracle, Solaris | Comments Off on Oracle 11gR2 Solaris DBConsole did not start…

Solaris ZFS snapshot to save machine state…

Very nice feature of solaris is to use a zfs snapshots to protect the current state/configuration of a machine. And it is very easy to use, all we have to do is: > beadm list BE Active Mountpoint Space Policy … Continue reading

Posted in Oracle, Solaris | Comments Off on Solaris ZFS snapshot to save machine state…

Setup Solaris 11.1 / 11.2 for Oracle Database with ASM

# allow root ssh 1) Modify PermitRootLogin to yes in /etc/ssh/sshd_config. 2) Comment out the “CONSOLE=/dev/console” line in /etc/default/login. 3) Remove “type=role” from the root entry in /etc/user_attr. # for ssh X11 forwarding pkg install xauth /etc/ssh/sshd_config: # X11 tunneling … Continue reading

Posted in Oracle, Solaris | Comments Off on Setup Solaris 11.1 / 11.2 for Oracle Database with ASM