I have setup a cluster using puppet. Now I need to call call puppet agents for puppet master. For that I am planing to use MCollective. I have another requirement, need to call MCollective from a java client in order to achieve change client configurations from master and restart the servers. Is there a way to do it?. Thanks, Irham
How to call MCollective from java client
223 Views Asked by irham iqbal At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in CLUSTER-COMPUTING
- What clustering algorithms can I consider for graph?
- SQL Server 2012 or 2014 Failover Cluster - Change Instance Port Number
- Scatter 2D coordinates from distance matrix
- Forwarding signals in bash script which is submitted on the cluster
- How to deploy three config server instances for sharding in mongodb?
- do I need to restart ALL the hadoop daemons whenever I make changes to xml configuration files
- pbs python Error: No module named _pbs
- Predis: Pros and Cons of the two cluster strategies
- Hadoop NameNode does not start
- does redis cluster support transactions ?
- Best Practice for synchronized jobs in Application clusters
- Quartz scheduler with percona db cluster giving deadlock errors
- Running Batch Job on Slurm Cluster
- jdbc backed channel on a cluster mode
- How to run Cron Job in Node.js application that uses cluster module?
Related Questions in PUPPET
- Group nodes in hiera by hiera-defined fact
- Puppet: Pass variables from Puppet agent to master?
- Unable to install RabbitMQ using puppet due to curl error
- php5enmod mcrypt with Puppet
- Am I using puppet contain correctly?
- Install apache module with puppet on Debian 7
- How to make Puppet track TCP ports to avoid conflicts?
- Puppet inline template with puppet:// in URL
- Getting Error 400 on SERVER: Could not find terminus puppetdb for indirection facts
- How to create hierarchy in puppet
- Using puppet to create a lvm with dynamic size
- Does Puppet Dashboard work in Ruby Passenger 5?
- how to add template file in rspec-puppet
- RabbitMQ localhost strange character text
- Vagrant enters aborted state during apt-get update
Related Questions in JAVA-CLIENT
- Handling Float/Double datatypes using Aerospike Java Client
- EnergyStar Portfolio Manager - Java Client to consume their REST API with Authentication
- App connects to the server but can not communicate
- Couchbase partial update not working as expected
- Connect to RabbitMQ on EC2 from external client
- How to pagination with java client(provided by elasticsearch) for elasticsearch 8
- Retrieving specific fields using the OpenSearch Java API
- Java Client for Wcf service fedarated with Adfs
- How two diffrent projects running on java and .net can interact with each other using WCF?
- auto generated key in Riak via Java client
- Avoiding Duplication of RiakKey in BaseEntity and derived classes
- Riak search queries via the java client
- WCF Service for Java Client Using Service Certificate and Self Signed Client Certificate Supplied by Client Developer
- How to listen or watch pod ip change event history in kubernetes?
- Elasticsearch Database Listener using Java High level Rest Client
Related Questions in MCOLLECTIVE
- How can I run Puppet 6 on-demand against multiple remote Linux nodes?
- How to call MCollective from java client
- Mcollective-activemq load balancing
- MCollective Inventory Scripts - Replace certain facts conditionally
- Using RabbitMQ connector for MCollective
- Why puppet is not able to download latest from snapshot repo
- Export facter variable using MCollective
- Puppet is not applying updates when run from mcollective
- mcollective facts ohai for chef
- Mcollective Chef service agent failed to run
- Remote access, configuration and monitoring needs for linux machines in retail venues (shops) distributed across the country.
- Activemq high memory consumption
- how to trigger puppet agent from puppet master console v2015.2.3?
- Can you use regex for fact name in mcollective inventory query?
- Openshift node not showing up on oo-mco ping
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I solved the problem by using jruby. I installed the ruby gems mcollective-client,json and jruby-openssl using rvm. In the following example I am calling a simple mco puppet runonce
Java code
Ruby code