Copy all needed custom resources

Tagged: 

This topic contains 4 replies, has 3 voices, and was last updated by Profile photo of Aaron Stainback Aaron Stainback 10 months ago.

  • Author
    Posts
  • #34900
    Profile photo of Aaron Stainback
    Aaron Stainback
    Participant

    I would like to do push configuration and send over all my custom resources on the fly to remote machines that need it, is there a best way of doing this? I can think of a bunch using the script resource but it would be awesome if there was something slick out of the box. Thanks.

  • #34902
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Not with purely push, no. In v5, a node can be configured to check a pull server for resources, even if the configuration is being pushed. Or, obviously you can manually deploy the resources ahead of time.

  • #34930
    Profile photo of Justin King
    Justin King
    Participant

    As Don mentioned, v5 will get you there, you can build a fileshare with domain computer permissions, then in your push config include pull server information for the LCM.

    Alternatively, grab some of the public cluster resources (like xsqlserver). Those almost all have "old school" copy commands buried in the examples to ensure modules are copied to and available on every node during the push of a cluster config. You may be able to lift some of that.

  • #34937
    Profile photo of Aaron Stainback
    Aaron Stainback
    Participant

    Hey thanks, being able to pull from a fileshare even with a push sounds great.

  • #34939
    Profile photo of Aaron Stainback
    Aaron Stainback
    Participant

    So if I base64 encode the files I need into a variable inside of the mof and write it to the file system on the other side this would not work? Is that correct? The resources have to exist before the mof starts being executed on the remote server?

You must be logged in to reply to this topic.