X

An Oracle blog about Ops Center

  • FAQ
    September 3, 2015

Installing Ops Center in a Zone

Guest Author

I got a question recently about an Ops Center deployment:

"I'm looking at installing an Enterprise Controller, co-located Proxy Controller, and database inside an Oracle Solaris 11 Zone. Is this doable, and are there any special things I should do to make it work?"

You can install all of these components in an S11 zone. There are a few things that you should do beforehand:

-Limit the ZFS ARC cache size in the global zone. Without a limit, the ZFS ARC can consume memory that should be released. The recommended size of the ZFS ARC cache given in the Sizing and Performance guide is equal to (Physical memory - Enterprise Controller heap size - Database memory) x 70%. For example:

  # limit ZFS memory consumption, example (tune memory to your system):
  echo "set zfs:zfs_arc_max=1024989270" >>/etc/system

  echo "set rlim_fd_cur=1024" >>/etc/system

  # set Oracle DB FDs

  projmod -s -K "process.max-file-descriptor=(basic,1024,deny)" user.root

Make sure the global zone has enough swap space configured. The recommended swap space for an EC is twice the physical memory if the physical memory is less than 16 GB, or 16 GB otherwise. For example:

  volsize=$(zfs get -H -o value volsize rpool/swap)

  volsize=${volsize%G}

  volsize=${volsize%%.*}

  if (( $volsize < 16 )); then zfs set volsize=16G rpool/swap; \

  else echo "Swap size sufficient at: ${volsize}G"; fi

  zfs list


In the non-global zone that you're using for the install, set the ulimit:

  echo "ulimit -Sn 1024">>/etc/profile


Finally, run the OCDoctor to check the prerequisites before you install.

Join the discussion

Comments ( 1 )
  • David Friday, October 9, 2015

    Can we install OpsCenter and a co-resident Proxy in an LDom on the same cluster that it manages?

    How about having 2x clusters, where each OpsCenter & co-located Proxy monitors the alternate cluster?


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.