SMC agent installation error (sparse zone-related problem)

Hi,

I am new to SMC and I really could not find any solution to my problem regarding the SMC agent installation in the local zones.

The installations of the SMC agent in the global zones are successful (used xwindow). However, during the execution of the command:

./es-inst

in the local zone, the error below is displayed:

"es-inst is not a valid command in the sparse zone".

I have already changed my DISPLAY environment variable.

export DISPLAY=<hostname>:0.0,

still, same error is being displayed.

Hoping someone could help me here.

[607 byte] By [minasam] at [2007-11-26 11:55:35]
# 1

Hi Minasam,

> "es-inst is not a valid command in the sparse zone".

For an Agent in a sparse Zone, you should try the instructions here:

http://docs.sun.com/app/docs/doc/817-7958/6mn891ldj?a=view

Basically your sparse Zone will inherit /opt from the Global Zone (where you already have SunMC installed). Then you run "es-setup -z localzonename" in the global Zone to copy in the extra files you need... then just the regular "es-setup" from within the Zone to finish things off.

Regards,

Mike.Kirk@HalcyonInc.com

http://www.HalcyonInc.com

Aronek at 2007-7-7 12:14:20 > top of Java-index,Administration Tools,Sun Management Center...
# 2

Hi Minasam

try this in the global zone.

- SMC Installation# normal installation

- es-setup -z ZONE # run a setup with option z for zone setup

copy all SMC files from your global zone into the ZONE.

- cd /opt/SUNWsymon

- mkdir /opt/zones/ZONE/root/opt/SUNWsymon

- tar cvf - . | (cd /opt/zones/ZONE/root/opt/SUNWsymon; tar xvf -)

That should do it.

aloha.

kona_kunst

kona_kunst at 2007-7-7 12:14:20 > top of Java-index,Administration Tools,Sun Management Center...
# 3

Hello Aronek and kona_kunst,

thanks so much for these great helps and for your quick responses. I really appreciate it. But, I am sorry, I have to give the duke dollars to the first one who replied to me..

Hoping you would not stop helping people who are new to sun techs like me..

Thanks again for your generosity.

Message was edited by:

minasam

minasam at 2007-7-7 12:14:20 > top of Java-index,Administration Tools,Sun Management Center...