Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Server Import- Configure servers to use a raft



  • Hello, looking for a way without touching all of the servers I am importing to configure what raft to use. It does not appear this configuration is specified in either of the import. So if I am to understand this correctly, I import 100 servers and I have to 'touch' each one to configure a raft before I can do anything with them? I am sure there is a way to do this; I just am not aware of how.

    Thanks!

    Product: Otter
    Version: 2.0.10



  • The first thing that comes to mind is using the infrastructure import/export feature. it will export a JSON document, and you can modify that to have all the servers point to the appropriate raft.



  • Thanks for the reply. When I am looking at a server that I have made just for exporting, it does not contain an entry for the raft, which I thought was odd:

    {
          "active": true,
          "environments": [],
          "roles": [],
          "serverType": "powershell",
          "credentialsName": "USERNAME",
          "drift": "reportOnly",
          "tempPath": "C:\\Temp",
          "wsManUrl": "",
          "name": "Template",
          "variables": {
            "DiskLabel": "%(C: OSDisk, D: DataDisk1, E: DataDisk2, F: DataDisk3, G: DataDisk4, H: DataDisk5, I: DataDisk6)"
          }
        },
    

    I already had a raft configured on this template machine. but it does not show on the export. This doesn't make any sense to me why the raft would not show up as well on the configuration, IMHO. Is this a bug?



  • Also, I wanted to add that I tried making an entry called "Raft" and that didn't work.

    "Raft": "Default",

    That doesn't do anything. Any reason why this doesn't work?



  • The "raft" property is missing from exported data. We've filed this as OT-250, and it should be included in either the next release (planned for this week), or possibly in the next scheduled release after that.



  • Dean, thanks for the reply. I am hoping it makes it into this release, as each server I import I have to go into the properties of each one manually and change the raft from not configured to default. While I am trying to build traction for this product, this process of touching each machine does not give a good impression. Thanks for the update!


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation