I'm on splunk-4.1.3-80534
I have deployment manager setup and it works for sunos and linux.. but how would I match for aix?
maybe like this? machineTypes=linux-i686, linux-x86_64, sunos-sun4u, sunos-sun4v, aix-*
xxxxxx:/opt/splunk/var/log/splunk# grep "System info" splunkd.log 08-03-2010 18:48:03.484 INFO loader - System info: AIX, xxxxxxx, 3, 5, 000BF23C4C00. 08-03-2010 18:48:57.479 INFO loader - System info: AIX, xxxxxxx, 3, 5, 000BF23C4C00. xxxxxx:/opt/splunk/var/log/splunk# uname -a AIX xxxxxxx 3 5 000BF23C4C00
./splunk list deploy-clients shows Deployment client: ip=x.x.x.x, dns=xxxxxxx.com, hostname=xxxxxxx, mgmt=9089, build=80534, name=deploymentClient, id=connection_x.x.x.x_9089_xxxxxxxxxx.com_xxxxxxx_deploymentClient, utsname=aix-000bf23c4c00
Obviously I could use machineTypes=linux-i686, linux-x86_64, sunos-sun4u, sunos-sun4v, aix-000bf23c4c00 but then what about all the other AIX servers.. i have to list them all?
from "man uname" on aix *
The uname command writes to standard output the name of the operating system that you are using. The machine ID number contains 12 characters in the following digit format: xxyyyyyymmss. The xx positions indicate the system and is always 00. The yyyyyy positions contain the unique ID number for the entire system. The mm position represents the model ID. The ss position is the submodel number and is always 00. The model ID describes the ID of the CPU Planar, not the model of the System as a whole. Most machines share a common model ID of 4C. The machine identifier value returned by the uname command may change when new operating system software levels are installed. This change affects applications using this value to access licensed programs. To view this identifier, enter the uname -m command.
*
I get the feeling I need to do some type of workaround within serverclass using a whitelist.. which means I make a hardcoded serverlist or utsname list.. 😞
I don't see anything about wildcard matches for machineTypes: http://www.splunk.com/base/Documentation/4.1.4/Admin/Definedeploymentclasses http://www.splunk.com/base/Documentation/4.1.4/Admin/Serverclassconf
I haven't used Deployment Server with AIX, but I think that this should be considered a bug. I would try out wildcarding the machineType/utsname to see if it works in the short term.
Starting with 4.1.6, a machineTypes value can contain wildcards; For example: linux-* or aix-*
Starting with 4.1.6, a machineTypes value can contain wildcards; For example: linux-* or aix-*
sunos-* works as well..
I haven't used Deployment Server with AIX, but I think that this should be considered a bug. I would try out wildcarding the machineType/utsname to see if it works in the short term.
tried the wildcard.. didn't work.. let it sit on deployment manager for 3hours.. restarted both client and deployment server... even though i did the 'reload deploy-server'...
Then did this in serverclass.conf:
machineTypes=aix-000bf23c4c00
and it worked after a 'reload deploy-server'...