add sas2ircu and sas3ircu support#381
Closed
lkx007 wants to merge 1 commit intoRackHD:masterfrom
lkx007:master
Closed
add sas2ircu and sas3ircu support#381lkx007 wants to merge 1 commit intoRackHD:masterfrom lkx007:master
lkx007 wants to merge 1 commit intoRackHD:masterfrom
lkx007:master
Conversation
Member
Member
|
depends on: RackHD/on-tasks#595 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
My inspur server has a raid card (type sas2008) which can not support "perccli" and "storccli", and only support "sas2ircu".
so I add "catalog-sasraid" task using sudo python /opt/sas_info.py /opt/sas2ircu
I put "sas_info.py","sas2ircu","sas3ircu" in docker image ( secure.erase.docker.tar.xz) directory "/opt".
sas_info.py is a python script to parse "sas2ircu" and "sas3ircu" command output to json output.
sas2ircu is a raid command tool which support sas2008 raid card.
sas3ircu is a raid command tool which support sas3008 raid card.
I add a param "script" in payload .
script:"megaraid-config.sh" for megaraid
script:"sasraid-config.sh" for sasraid
also, during discovery workflow, I add "catalog-sasraid" task.