Solaris OracleClusterware: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „ ==Set swap to physical RAM== <source lang=bash> # export RAM=256G # swap -d /dev/zvol/dsk/rpool/swap # zfs destroy rpool/swap # zfs create \ -V ${RAM} \ …“)
 
No edit summary
Line 17: Line 17:
   rpool/swap
   rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap
</source>
==Set slew always for ntp==
After configuring ntp set slew always to avoid time warps!
<source lang=bash>
# svccfg -s svc:/network/ntp:default setprop config/slew_always = true
# svcadm refresh svc:/network/ntp:default
</source>
</source>

Revision as of 10:29, 8 February 2016


Set swap to physical RAM

# export RAM=256G
# swap -d /dev/zvol/dsk/rpool/swap
# zfs destroy rpool/swap
# zfs create \
   -V ${RAM} \
   -b 8k \
   -o primarycache=metadata \
   -o chksum=on \
   -o dedup=off \
   -o encryption=off \
   -o compression=off \
   rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap

Set slew always for ntp

After configuring ntp set slew always to avoid time warps!

# svccfg -s svc:/network/ntp:default setprop config/slew_always = true
# svcadm refresh svc:/network/ntp:default