Posts

Showing posts from February, 2013

Solaris Zpool

root@edus008:/rpool # zpool status rpool   pool: rpool  state: ONLINE   scan: resilvered 37.8G in 0h6m with 0 errors on Fri Nov  9 13:37:50 2012 config:         NAME          STATE     READ WRITE CKSUM         rpool         ONLINE       0     0     0           mirror-0    ONLINE       0     0     0             c3t0d0s0  ONLINE       0     0     0             c3t1d0s0  ONLINE     ...

Solaris 11 commands (NIS/DNS)

root@edus008:/var/yp # svccfg svc:> select name-service/switch svc:/system/name-service/switch> setprop config/host = "files dns" svc:/system/name-service/switch> setprop config/password = "file nis" svc:/system/name-service/switch> setprop config/group  = "file nis" svc:/system/name-service/switch> setprop config/ipnodes = astring: "files dns" svc:/system/name-service/switch> select name-service/switch:default svc:/system/name-service/switch:default> refresh svc:/system/name-service/switch:default> validate svc:/system/name-service/switch:default> select dns/client svc:/network/dns/client> setprop config/nameserver=net_address: ( xxxx xxxx ) svc:/network/dns/client> select dns/client:default svc:/network/dns/client:default> refresh svc:/network/dns/client:default> validate svc:/network/dns/client:default> select nis/domain svc:/network/nis/domain> setprop config/domainname = "xxxx...