{"id":23087090,"url":"https://github.com/opennebula/addon-netapp","last_synced_at":"2025-04-03T16:28:19.149Z","repository":{"id":74244479,"uuid":"89782522","full_name":"OpenNebula/addon-netapp","owner":"OpenNebula","description":"NetApp drivers for OpenNebula, based on the shared drivers.","archived":false,"fork":false,"pushed_at":"2017-05-02T19:36:04.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-09T05:17:15.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenNebula.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-29T11:57:30.000Z","updated_at":"2017-05-01T02:17:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec213f54-8981-4d95-b770-b448da1ae5a4","html_url":"https://github.com/OpenNebula/addon-netapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNebula%2Faddon-netapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNebula%2Faddon-netapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNebula%2Faddon-netapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNebula%2Faddon-netapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenNebula","download_url":"https://codeload.github.com/OpenNebula/addon-netapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247036193,"owners_count":20872913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T19:42:10.855Z","updated_at":"2025-04-03T16:28:19.113Z","avatar_url":"https://github.com/OpenNebula.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenNebula NetApp Drivers\n\nThese drivers are based on the OpenNebula shared drivers with the following differences:\n\n* Instead of executing a regular `cp` in the hypervisor, it will ssh to the NetApp and execute `volume file clone create ...`\n\n**TODO:**\n\n* Verify the RESIZE feature.\n* Use NetApp operation for disk snapshots\n\n### Checkout the code\n\n    git clone https://github.com/OpenNebula/addon-netapp\n\n### Installation\n\nInstall by running `./install.sh`:\n\n    cd addon-netapp\n    sudo ./install.sh -u oneadmin -g oneadmin\n\n### OpenNebula Configuration\n\nAdd `netapp` to the list of supported TMs in the `TM_MAD` directive in `/etc/one/oned.conf`.\n\n    TM_MAD = [\n        EXECUTABLE = \"one_tm\",\n        ARGUMENTS = \"-t 15 -d ...,netapp\"\n    ]\n\nNow add the specific netapp configuration:\n\n    TM_MAD_CONF = [\n        NAME = \"netapp\", LN_TARGET = \"NONE\", CLONE_TARGET = \"SYSTEM\", SHARED = \"YES\",\n        DS_MIGRATE = \"YES\"\n    ]\n\nFinally you need to add these parameters to the INHERIT section:\n\n    INHERIT_DATASTORE_ATTR  = \"NETAPP_HOST\"\n    INHERIT_DATASTORE_ATTR  = \"NETAPP_VOLUME\"\n    INHERIT_DATASTORE_ATTR  = \"NETAPP_PATH\"\n\nYou will need to restart OpenNebula after this change.\n\n### Configure image datastore\n\nYou will need to add the following parameters to your image datastore template:\n\n* `NETAPP_HOST`: The frontend will ssh from the oneadmin account to this host. Make sure the passwordless ssh is configured.\n* `NETAPP_VOLUME`: The name of the NetApp volumen on which it will operate through ssh.\n* `NETAPP_PATH`: The path of `/var/lib/one/datastore` as seen from the NetApp.\n* `TM_MAD`: It must be `netapp`\n\nIn order to apply these changes update the datastore's template. For example:\n\n    $ onedatastore update \u003cds_id\u003e\n    ...\n    TM_MAD=\"netapp\"\n    NETAPP_HOST=\"my-netapp.local\"\n    NETAPP_VOLUME=\"openvm_storage\"\n    NETAPP_PATH=\"/datastores\"\n\n### Configure system datastore\n\nMake sure that your system datastore is using `TM_MAD=\"shared\"`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennebula%2Faddon-netapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopennebula%2Faddon-netapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennebula%2Faddon-netapp/lists"}