Recent update: 2008-5-9

implementing hashcode and equals

468 byte By teka at 2008-3-7
Is there anything more than performance reasons to always implement hashCode when you implement equals? If I understand correctly, when you put items in a hashtable it chooses the bucket by the hashcode and checks there is no equal item with the equals method. So it should still work if you ...

host search witch wildcards

236 byte By michPa at 2008-3-7
Hi,I am looking for a hostsearch with wildcards, for example list all hosts with domain test.I tried a search with hdb.h.la grep domain, but it must be possible to search with *test* ?thanks in advance

Sun Management Center configuration

590 byte By tduenas at 2008-3-7
Hi people,I need help about a Sun Management Center configuration that I don't know exactly if it's possible.I want to create 5 SunMC servers managed by 1 because I've 5 remote offices located at 100km or more and my network connection is not fast. These remote offices only has two machines, ...

Run Windows *.bat file with <execNative>

1052 byte By schleidla at 2008-3-6
Hi,I'm trying to run the startup.bat to start tomcat with the <execNative> command. I only found examples for Unix based systems. Can you give me an example how to invoke a *.bat file in Windows?Here is my code. <?xml version="1.0" encoding="UTF-8"?><!-- generated by N1 SPS ...

installName gets malformed

366 byte By reecemarkowskya at 2008-3-5
when checking in a component, the installName is getting chopped *sometimes* example... checkin in file with name "20070519-195607-file-part.tar.gzsometimes, the installName property is being set to:"-file-part.tar.gz"Any idea why?Any way I can explicitly set installName of the component with ...

Plugin GUI: How to link system types?

456 byte By maverick_1601a at 2008-3-1
Hi All,within a plugin's GUI descriptor it is possible to link to component procedures directly, without defining a plan for these explicitly. This is done using the compProcedureRun tag in XML.Is it possible, using this method, to link to the methods of an abstract super component, i.e. one ...

N1 Service Provisioning System - How to grab stdout/stderr using Jython CLI?

739 byte By maverick_1601a at 2008-2-28
Hi All,we are trying to grab stdout/stderr from within Jython CLI. Plan was run with 'pe.p.run'.Now we are trying to grab stdout/stderr from there using the 'pe.p.en' command. Therefore, we either need a so-called stepID, which we would have to parse from a separate file using 'pe.p.lo' ...

General questions on N1 OS Provisioning

784 byte By acravensa at 2008-2-27
I have spent several hours reading the docs on N1 OS provisioning but I still don't have a clear understanding of the whole system and how it all works. I have three basic questions I'd like to get answered before I get started installing the software.1) In order to do basic OS provisioning, ...

Hide Controls from System Service

701 byte By ChRa at 2008-2-26
Hi Experts,During customer project we want to hide controls of os system service. There is "access" keyword for <control> configuration. This parameter can set to PRIVATE or PROTECTED to control user acces to <control>s in the system service.But we want to use one of this protected ...

pointers to Creating Modules

80 byte By rohitgupta_india at 2008-2-26
anyone having knowledge creating modules that can be added on the client.

Applying Solaris Patches that Require Single User Mode

248 byte By jaysikkelanda at 2008-2-24
Some OS patches require single user mode and reboot. Does the standard Solaris plugin patch management handle this? If not, could I write my own patch component and simply add "init 1; patchadd; init 6" to the execnative? Thanks - Jay

How to add many hosts using jython interface to sps host database

1631 byte By ChRa at 2008-2-22
Hi,we want to create a huge number of virtual hosts into sps repository with jython interface.for exemple our variables are:hostname = sps1.internet.comip = 192.168.1.1masterserver = masterserverhardware = v550and the script command looks like:app.execRaw ( 'hdb.h.add' , { 'name' : hostname ...

Subagent works when compiled in 32 bits, not in 64bits

1497 byte By pjo_snmp at 2008-2-22
I'm working on a Fujitsu-Siemens PrimePower platform (SPARC64), running SunOS5.8. I've downloaded the SUNWsasdk 1.0.3 development kit and have built a subagent.When compiled without any particular options, my subagent is a 32bits executable. A "get" operation works perfectly for all types of ...

Documentation on SPS XML programming - Where are they?

424 byte By peter_Ca at 2008-2-22
In order to take advantage of SPS it appears that the XML for N1 SPS (Service Provisioning System" needs to be known well to manage systems.I found the "Sun N1 Service Provisioning System 5.2 XML Schema Reference Guide". That describes the constructs with a minimal amount of in context ...

Syntax to use -attr switch in the cli.

142 byte By KaPia at 2008-2-21
Hi,does anybody know the syntax to use multiple attributes after the -attr switch in the cli command?ThanksKarsten

smc 3.5 licence

84 byte By ljmoughan at 2008-2-21
Hi,Does use of smc 3.5 require a licence - even for the base install ?

jet creation failure

631 byte By peteziua at 2008-2-20
I am having difficulty getting through the Jet / Create action. The error reported is:Problems encountered during plan run or preflightThe plan (or preflight) "/com/sun/n1osp/untyped/Jet-create" finished with 1 failed host(s). (017034)The execNative step failed because the exit status "1" of ...

How to specify LDAP backup server?

384 byte By maverick1601 at 2008-2-19
Hi All,we are currently starting to authenticate more 'n' more of our master servers against an LDAP backend, which works great. However, we wonder if anyone knows of a possibility to specify a backup host. Our LDAP servers are usually mirrored, but we cannot assure SPS logins if the primary ...

Setting Environment Variables in execNative

672 byte By michti at 2008-2-17
Hi,one of my customers has the following problem:If using execNative with "userToRunAs" set to <whateveruser>, the current implementation of the Remote Agent doesn't work similar to "su - <whateveruser>". As a consequence of that, the environment variables etc. are not available ...

How to configure ssh....

84 byte By chappe at 2008-2-16
Is there a quick guide to configure SSH with other SSH versions than OpenSSH?

who know these errors means? Thanks !

614 byte By xiazy at 2008-2-16
(1) I use Solstice Enterprise Agents 1.0.3 SNM(2) My subagent suddenly stop in middle night and some messages be write in /var/adm/messges Sep 4 02:40:53 cool snmpdx: select() failed [errno: Invalid argument(22)]Sep 4 02:40:53 cool snmpdx: select() failed [errno: Invalid argument(22)](3) I want ...

Server: (/ERROR: No IP address specified., SunOS)

353 byte By peteziua at 2008-2-15
When attempting to provision an ALOM host, I get the following error: Gathering network information..Client: 192.168.1.51 (192.168.1.0/255.255.255.0)Server: (/ERROR: No IP address specified., SunOS)ERROR: Could not obtain network information for server Any help is greatly appriciated. ...

N1 Service Provisioning System - Installing components using auto-generated plans from Jython CL

1148 byte By maverick_1601a at 2008-2-14
Hi All,for specific reasons, we want to install a set of components with fixed signatures from Jython CLI, but without appropriate plans. In fact, we want to simulate the behavior that we know from Plugin UI, i.e. linking directly to an installer of a component.We figured the following steps ...

Not able to connect to Solaris SNMP using ServerStats (Empirix Tool)

813 byte By roly_r at 2008-2-14
We are having a SunSparc Solaris 2.8 machine. We have installed the Empirix tool, e-Tester Version 6.03.0384 on a Window2000 machine. This tool has a component ServerStats in which there is an option of connecting to Solaris SNMP. We are not able to use this option and connect to our Solaris ...

Error prevents Grid from working

708 byte By naturala at 2008-2-14
I took the Grid course and thught I'd followed the install instructions to the T, but I get the following error in the message file:04/25/2007 13:50:06|qmaster|thomas|C|denied: request for user "sgeadmin" does not match credentials for connection <niaaa-james,execd,1>04/25/2007 ...

x86 via patchsvr, "Failed to validate the digital signature(s)"

6589 byte By adminsmc at 2008-2-13
Been running very well for a while, now I'm getting these errors after an smpatch update/bash-3.00# smpatch updatecom.sun.patchpro.util.Percentage@96b5c2119146-05 has been validated.com.sun.patchpro.util.Percentage@5db5ae119253-05 has been ...

Question to config.properties

435 byte By ChRa at 2008-2-11
Hi experts,customer ask me how to reduce connection timeout time scale for SPS...?There is a parameter called "net.connection.timeout=3" in the config.properties masterserver configuration file. Is it possible to set this parameter to 0.1 and restart ms. Does this means, that all ssh (used for ...

N1 Provisioning - JET server uses FTP or TFTP ?

655 byte By acravensa at 2008-2-10
This question refers to the following document at docs.sun.com http://docs.sun.com/app/docs/doc/819-6519/6n8he6e0a?a=viewThis document says if you're using Solaris 10 you have to manually enable TFTP on the JET server. However, the actual command listed is really enabling FTP and not TFTP. So, ...

N1 Service Provisioning System - Error accessing User-Database from Jython CLI

6847 byte By maverick_1601a at 2008-2-8
Hi All,once again, we experience a problem, when running udb commands from the Jython CLI, namely one of 'udb.g.la' or 'udb.u.la' (Others may be affected as well).Our user is logged on and the application handle works well for any other CLI calls.Our code looks something like this:app = ...

How to integrate a Solaris x86 server on Sun Management Center ?

717 byte By tduenas at 2008-2-8
Hello people,I want to integrate a Solaris x86 server on Sun Management Center platform.If I'm not wrong, SunMC doesn't run for Solaris x86, server and client only as console with Java.In speat of it, I try to install Sun Management Center 3.0 Agent for Solaris x86. It seems to be ok, install ...

Error provsioning OS

1963 byte By peteziua at 2008-2-7
I was attempting my first provisioning a host and recieved the following error: Gathering network information..Client: 10.0.2.52 (10.0.2.0/255.255.255.0)Server: 10.0.2.3 (10.0.2.0/255.255.255.0, SunOS)Adding myportal to local /etc/hostsMerge hosts file /tmp/addhost.4939 with ...

x25 license error

528 byte By cip2 at 2008-2-7
BIG PROBLEM.We have installed Solstice x25 9.2 on our E250 (SunOS 5.8).License installs correctly with a "license installation successful message" displayed upon completion of the license install. The license was checked and is correct for our host.I then launch x25tool (/opt/SUNWconn/x25/bin), ...

The resource version for component changed from 1.0 to 1.1. (601633)

1066 byte By adrebita at 2008-2-7
Unable to save the component typeThe resource version for component "preload.sh" changed from "1.0" to "1.1". (601633)Getting this error message when I try to update a component type to use the latest version of its defining component.We have a component type that we want to use to define the ...

export shell variables into SPS variables

250 byte By michPa at 2008-2-6
I am looking for a way to assign shell variables which are defined in the "exec native" step, as a N1 variable.I will use this variable to generate a more userfriendly output in the "raise message" Has anyone an idea?Thanx

How can i get more info regarding Zoning.

107 byte By Silver75a at 2008-2-5
Hi,How can i get more info/Doc regarding Zoning in Solaris.Thanks in advance. S

tty "problem" with execNative

5550 byte By Matthias.Pfuetznera at 2008-2-4
Folks,we have a "small" problem with the execNative stuff:We have to automate the installation of a tool, which requires a couple ofmanual interventions...One of that is the restart of some software on a different node, and oncethat's done, we need to send a "c" for continue to the original ...

Question on N1SPS Linux rpm plugins with -U option vs -I

242 byte By n1core at 2008-2-4
Hi All, Is there a workaround to use rpm -U option with linux rpm plugins ? Instead of the default option of rpm -i . IHac requesting for a way to use -U option:Any pointers/ideas appreciated:Regards--n1core

Configuration Replication

835 byte By In0rog at 2008-2-4
Hi everyone,SunMC Version: 3.5 (latest patch level) - both on server and the agent.I have a bunch of clustered servers, each with 2 public interfaces (using IPMP). The problem seems to be that when updating the configuration, the agent for some reason keeps responding on "the other" interface ...

Solaris Zone provisioning initialisation issue

1409 byte By Tristan_Austina at 2008-2-3
I have successfully installed a bunch of Solaris Zones on a target machine via the SPS Solaris Plugin, however I was initially unable to get sshd running. The problem I'm seeing is described clearly in someone elses post here: http://www.opensolaris.org/jive/thread.jspa?messageID=88308The above ...

I need help

249 byte By carl0105 at 2008-2-2
Does anybody can help me?I have installed sun hpc cluster for runnig two processor or more the same time, but I can see if it had been runnning the processor. Does anybody can say me if there is some tools for this?Thanks

OSP support for Red Hat Linux Advanced Server 5.0

181 byte By t.wiika at 2008-2-2
Wondering, if anybody tried to install Red Hat Linux Advanced Server 5.0 with N1 SPS OSP? Does it work as with Red Hat Linux Advanced Server 4.0? -- Thorleif Wiik

subagent traps go to localhost but not remote host

2683 byte By caissie at 2008-2-2
I did a search of this forum and saw problems with traps, but nothing matched my problem exactly.Solstice Enterprise Agent 1.0.3 is not sending traps to remote hosts. The log states that the traps are going to the localhost and a remote host, but they are only going to localhost. In all config ...

Content is not allowed in prolog. (601010)

9014 byte By peteziua at 2008-2-1
This error occured while running plan: /com/sun/n1osp/untyped/SolarisImage-create-profile: 2006-12-27 15:16:40,293 ERROR [main] com.raplix.rolloutexpress.systemmodel.XMLUtil (XMLUtil.java:197) - Encountered error reading component at line 1, column 1: Content is not allowed in prolog. (601010) ...

How to change only one attribute at the host

466 byte By ChRa at 2008-1-31
Hi experts,we use host configuration with special host types. If we want to change only one attribute of the host with the cli we must change all attributes associates with the host. If we define only one new attribute all other values are set (back) to the default of the host type..(in the gui ...

Dynamic hosts and assigning attributes

534 byte By chappe at 2008-1-29
Hey!<P>How do I host assign attributes when using:<P><targetRef hostName='tmp_:[hostName]' typeName='com.sun.tst#tstHost'></targetRef><P>Like if my hostType <i>com.sun.tst#tstHost</i> has the following ...

Still SSH config mistakes evident during creation of solaris image profile

2037 byte By peteziua at 2008-1-28
Well, I can SSH to and fro and back from my two clients from both sides, yet still I am getting a "Host key verification failed ( i have enabled SSH debug on all output) when trying to create a Solaris Image Profile:....e yes -A 10.0.2.2 ...

problems to compile

1087 byte By mleboucher at 2008-1-28
Hi there,I work on a Sun OS: $ uname -snrvmapiX SunOS sun 5.8 Generic_108528-07 sun4u sparc SUNW,Sun-Blade-100System = SunOS Node = sun Release = 5.8 KernelID = Generic_108528-07 Machine = sun4uBusType = <unknown>Serial = <unknown>Users = <unknown>OEM# = 0Origin# = 1NumCPU = ...

Basic N1 SSH config questions...

1216 byte By peteziua at 2008-1-28
At the risk of asking remedial questions, are these actions correct?: <li> When generating SSH keys, I am to generate one set with the ID used to install/owner of the MS (agent, server, cli)? (i cant remember now if cli installed w/ the master seerver or not, i think it did)</li> ...

Need subagent for monitoring sys resources

90 byte By acravens at 2008-1-28
Does anybody have a SEA subagent for monitoring file system/CPU/memory utilization?

Accessing different Master Servers with one CLI installation

356 byte By maverick1601 at 2008-1-28
Hi All,upon installation of the SPS Command Line Interface, one is asked to name the target master server, which is then written to some config.properties file.How can such a CLI installation be used to access different master servers? Ideally using command line arguments, which do not seem to ...