Fwd: [wildfly-dev] Wildfly start-up as service script depends on console log to determinate start result
by Heiko W.Rupp
This sounds interesting as it would also be
something like our computed resource state
with some simple form of "alerting" behind it.
Forwarded message:
> From: David M. Lloyd <david.lloyd(a)redhat.com>
> To: wildfly-dev(a)lists.jboss.org
> Subject: Re: [wildfly-dev] Wildfly start-up as service script depends
> on console log to determinate start result
> Date: Fri, 12 Jun 2015 07:57:25 -0500
>
> This is yet another good use case for an idea I proposed at the last
> couple developer meeting: the idea of configurable "availability"
> services, where you add a configuration which says "when these
> components and/or configured services are available, perform this
> action" where the action might be to notify a load balancer, perform a
> notification to humans, or even drop a file to the filesystem (which
> would be directly useful to this use case).
>
> Note (in case someone thinks this is a great idea and runs out to
> implement it right away) that when I say "configured services" I do
> not
> mean MSC service names; more like management capabilities where you
> have
> a constrained namespace and each subsystem can contribute services to
> this category.
>
> Also note that Java 9 adds limited support for signalling unrelated
> processes, though at the moment on UNIX the signals are basically
> limited to TERM and KILL.
>
> On 06/12/2015 07:06 AM, Jason T. Greene wrote:
>>
>>> On Jun 10, 2015, at 11:46 AM, Brian Stansberry
>>> <brian.stansberry(a)redhat.com> wrote:
>>>
>>> So, what purpose is this fulfilling?
>>>
>>> 2) How does other software solve this problem? If it's solving a
>>> valid
>>> problem, it seems like there would be a typical solution.
>>
>> The classic UNIX solution is that the daemon forks and returns,
>> dropping a PID file of its child to disk, after it is done
>> initializing and exits with an error code when there is a problem.
>>
>> Systemd added other approaches, where a daemon can signal systemd
>> directly, or it can use dbus to send a message.
>>
>> The former can't be done efficiently in Java because it doesn't have
>> a pure fork(), only an exec. Although it would be possible to emulate
>> with an exec with an unacceptable hit to boot time. The latter
>> options are too Linux specific.
>>
>> I think the best solution would be for us to add a signaling
>> mechanism specifically for this purpose. We could use sun.misc.Signal
>> (potentially an issue on Java 9), or we could exec the kill command
>> to signal a process.
>>
>> We could also use a specially status file (e.g standalone.sh
>> --start-status-file=blah) for a script to monitor.
>>
>> Thoughts?
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>
>
> --
> - DML
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
8 years, 10 months
Cassandra changes
by John Sanda
Yesterday Stefan finished up the work to move the embedded Cassandra modules out of h-metrics and into h-commons. The version has also been upgraded to 2.1.5. This should not any affect any code. Lastly the driver is now in the parent pom and has also been upgraded to 2.1.6. My apologies for the late notice. In the future I will send out the info in advance of the changes.
Thanks
- John
8 years, 11 months
i18n
by Thomas Heute
While we would like, we may not have full i18n by the time of the 1.0.0.GA.
That said, this needs to be taken into account now for some aspects as
we don't want to have to break API or even worse do some schema update
to enable i18n in a later version.
So please think of this when you deal with human-facing strings like
alert emails templates, some inventory or metrics metadata maybe ?
For the strings in the UI itself, I leave it to the developer, since we
do frequent changes in the UI it may be faster to deal with i18n at once
later.
For the strings that are directly taken from a component it would make
sense to raise a JIRA if that is not i18nized yet.
Thomas
8 years, 11 months
New or noteworthy in hawkular-parent 15
by Peter Palaga
Hi *,
New or noteworthy in hawkular-parent 15 [1]:
* JBoss Snapshots Maven repository is off by default. You'll need to use
-Psnapshots to activate it
* You can try a GUI-less release with
mvn -Prelease-guiless release:clean release:prepare release:perform
* com.datastax.cassandra:cassandra-driver-core is managed in parent
I have sent a PR with an upgrade to parent 15 to the following projects.
Please let me know if some project is missing.
hawkular-alerts
hawkular-agent
hawkular-bus
hawkular-btm
hawkular-commons
hawkular-inventory
hawkular-metrics
hawkular-accounts
hawkular
Best wishes,
Peter
[1] https://github.com/hawkular/hawkular-parent-pom/commits/15
8 years, 11 months
Fwd: Artificer 1.0.0.Beta1 released, beta testers needed
by Brett Meyer
----- Forwarded Message -----
From: "Brett Meyer" <brmeyer(a)redhat.com>
To: "The Core" <thecore(a)redhat.com>
Sent: Tuesday, June 9, 2015 10:17:06 PM
Subject: Artificer 1.0.0.Beta1 released, beta testers needed
Artificer 1.0.0.Beta1 is finally out. If any of you would be willing to help as beta testers, I'd sincerely appreciate it! Contact me off list. Thanks!
8 years, 11 months
BTM agent relationship with Hawkular agent
by Gary Brown
Hi
On the team call just now, Heiko raised a question about whether the BTM agent could work with the Hawkular agent. So thought I would start this discussion thread to see what the potential options are.
I currently see two issues:
1) The BTM agent must be configured on the jvm command line as a "-javaagent" to install ByteMan for instrumentation purposes. This is instantiated before the JBoss modules (and therefore subsystems etc) are initialised.
2) The hawkular agent won't necessarily be installed in all monitored servers, and instead remotely monitor some. The BTM agent would need to be installed in all servers where business transactions are executing.
One type of integration that may be possible is in terms of delivering the captured business transaction information to the backend? i.e. the BTM agent locally reports it to the Hawkular agent as a relay?
Thoughts?
Regards
Gary
8 years, 11 months
resource config and operations
by John Mazzitelli
I am working in my own branch, but am about to introduce resource configuration and operations to the resource type metadata. This was in part due to the UI folks needing the hostname to show in the GUI.
I wanted to let people know what this looks like - speak now if you see problems.
The resourceType will now have as part of its attached metadata a list named "resourceConfiguration" which consists of config property types (today, there is only "name" associated with resource config property types, but you can envision other things like "dataType" (for boolean, integers, etc)).
There is also a list of operations (today, consists of only a name and optional "operationName").
The JSON for resourceType looks like this inside inventory (this is for the top level "WildFly Server" type):
"tenant": "28026b36-8fe4-4332-84c8-524e173a68bf",
"id": "WildFly Server",
"version": "0.1",
"properties":
{
"name": "WildFly Server",
"operations":
[
{
"name": "Reload Server",
"operationName": "reload"
}
],
"resourceConfiguration":
[
{
"name": "Hostname"
},
{
"name": "Max Heap"
},
{
"name": "Version"
}
]
}
A resource of this type would look like:
"tenant": "28026b36-8fe4-4332-84c8-524e173a68bf",
"environment": "test",
"feed": "mazztower",
"id": "[Local Host~/]",
"type": <<<what I showed above>>>,
"properties":
{
"name": "WildFly Server [Local Host] [mazztower]",
"resourceConfiguration":
[
{
"name": "Version",
"value": "8.2.0.Final"
},
{
"name": "Hostname",
"value": "mazztower"
},
{
"name": "Max Heap",
"value": "477626368"
}
]
}
8 years, 11 months
Re: [Hawkular-dev] Mocking HTTP(S) Server
by Martin Vecera
Hello Peter,
do you have an idea when did that happen? The site is up and running. We do not have any plans to shut it down or do any maintenance mode. It might be that the response took too long.
Nevertheless, there was a very good reason why I used this site in your unit tests. Every other mock/test site I used was allowed to use HTTP as a backup. So even if I asked for HTTPS, if I refused the certificate, the test passed. So make sure you update the test to check that this is not happening.
Regards,
Martin
P.S.: Please CC me, I am not subscribed to your list.
> Hi *,
>
> it happened today: http://perfcake.org/ - one of the sites we unit-test
> Pinger against is down and therefore the tests are failing.
>
> Can anybody recommend a solution for mocking an HTTP Server?
>
> http://wiremock.org/ is the first result on Google and I am going to
> have a look at it.
>
> Thanks,
>
> Peter
--
Martin Večeřa
Middleware QE Manager
External no. +420 532 294 112
Internal no. 8262112
IRC: mvecera #brno #jbossqa
Calendar: https://www.google.com/calendar/b/1/embed?src=mvecera@redhat.com&ctz=Euro...
8 years, 11 months