This discussion is archived
8 Replies Latest reply: Mar 16, 2010 3:04 PM by 807750 RSS

./es-setup error

807750 Newbie
Currently Being Moderated
I am trying to configure my non-global zones for Sun MC4.0 monitoring. The command es-setup -z (zonename) is giving me the following error
This option is not a valid for whole root zone.
Does anybody know the fix for this.
Thanks
  • 1. Re: ./es-setup error
    807567 Newbie
    Currently Being Moderated
    source: [Setting Up Sun Management Center Using es-setup|http://docs.sun.com/app/docs/doc/817-7958/6mn891lie?a=view]
    [...]
    The following table describes the es-setup parameters
    [...]
    -z +Setup agent to be run in zone+
    [...]

    source: [To Install and Set Up Sun Management Center Server Inside a Whole Root Zone|http://docs.sun.com/app/docs/doc/820-2215/gbwil?a=view]
    [...]
    +Sun Management Center supports the server layer of all add-ons inside a non-global zone. Sun Management Center does not support the agent layer of add-ons like ELP Config Reader, X86 Config Reader, and Solaris Container Manager inside a non-global zone.+
    [...]

    My conclusion: The SunMC agent(layer) is not supported inside a non-global zone
    Read here: [(On Solaris 10) Monitoring a Zone Using Sun Management Center|http://docs.sun.com/app/docs/doc/817-7958/6mn891ldj?a=view] or [Solaris Container Manager 1.1 Software Collection|http://docs.sun.com/app/docs/coll/810.6]

    HTH
    Michele

    Update:
    You try install a SunMC Server or SunMC Agent inside a non-global zone (Whole type)?
    By chance you're following [this document|http://docs.sun.com/app/docs/doc/817-7958/6mn891ldj?a=view] that proved wrong when I wrote above? At this point I am not sure where you are running the command ... Global Zone (GZ) or Local Zone (LZ)

    Edited by: Michele_Vecchiato on 2-mar-2010 20.41
  • 2. Re: ./es-setup error
    796313 Newbie
    Currently Being Moderated
    Hi Zeealee,
    zeealee wrote:
    I am trying to configure my non-global zones for Sun MC4.0 monitoring. The command es-setup -z (zonename) is giving me the following error
    This option is not a valid for whole root zone.
    Does anybody know the fix for this.
    Thanks
    If the local zone is "whole root" (as the script seems to imply) then there's no need to use any special steps to install in the zone (i.e. "es-setup -z"). Install the Agent the same way you would in the global zone (i.e. es-inst/es-setup or agent-update.bin).

    What Michelle is talking about is that the Agent addons for hardware monitoring don't work inside a local zone (as they don't really have their own hardware). Those "Config Reader" hardware addons will only work in a global zone Agent.

    Regards,

    Mike.Kirk@HalcyonInc.com
  • 3. Re: ./es-setup error
    807567 Newbie
    Currently Being Moderated
    Hi MK
    Thanks for clarification.
    Regards,
    MV
  • 4. Re: ./es-setup error
    807750 Newbie
    Currently Being Moderated
    Hi folks,

    I have tried it. I have installed the SUN mc agent on the global zone and non-global zone. Everything seems to be fine but the issue that I am facing is that the graphs that I generate using SUN MC java console are all the same. That is if I graph the Global-zone or if I graph the non-global zones all of the graphs are the same. But if I use the prstat -z command I have different information. So, I am looking for a cure to create the correct and accurate graphs for my zones. Any ideas folks?
  • 5. Re: ./es-setup error
    796313 Newbie
    Currently Being Moderated
    Hi Zeealee,
    zeealee wrote:
    Hi folks,

    I have tried it. I have installed the SUN mc agent on the global zone and non-global zone. Everything seems to be fine but the issue that I am facing is that the graphs that I generate using SUN MC java console are all the same. That is if I graph the Global-zone or if I graph the non-global zones all of the graphs are the same. But if I use the prstat -z command I have different information. So, I am looking for a cure to create the correct and accurate graphs for my zones. Any ideas folks?
    If your global zone and local zone are sharing the same CPUs (i.e. the zones have not been assigned to a dedicated CPU pool) then you will see the same graphs (since the CPUs are the same %-busy). To get "prstat -Z"-type numbers you need to look in the [Solaris Container Manager|http://www.sun.com/software/products/container_mgr] part of SunMC, or look at another tool like [Ops Center|http://wikis.sun.com/display/OC2dot5/Charts] for those metrics.

    Also, I think we've got an internal version of per-zone numbers for our [Neuron Agent|http://www.halcyoninc.com/products/NeuronAgent/index.php], if you're interested in trying it out. I think the prototype can show prstat-type numbers in the UI, let you set thresholds, graph them etc. Email me if you have questions.

    Regards,

    Mike.Kirk@HalcyonInc.com
  • 6. Re: ./es-setup error
    807750 Newbie
    Currently Being Moderated
    Hi Mike,

    I have been able to install the Neuron on agent on one global zone and one non-global zone. Unfortunately, I still see the same graphs on both the servers. There is no difference in the graphs created by global zone and non-global zone. Do I have to run some script to make Neuron identify that this server is a global zone or non-global zone.
    Please let me know.

    Thanks
  • 7. Re: ./es-setup error
    807567 Newbie
    Currently Being Moderated
    Hi zeealee,

    Please take a look at [http://forums.halcyoninc.com/showthread.php?p=935|http://forums.halcyoninc.com/showthread.php?p=935]. We now have a beta module that monitors the actual utilization of Solaris zones, including CPU & Memory statistics. You can use the numbers gathered by the module and graph them.

    Please contact me if you would like to try this beta module.

    Patrick.Lui@HalcyonInc.com
  • 8. Re: ./es-setup error
    807750 Newbie
    Currently Being Moderated
    howdy,

    I just sent you an email. Please reply back with the link to download the module for zone statistics.

    thanks