beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 70

background image

LSI Corporation

- 70 -

StorCLI Reference Manual

January 2013

Appendix B: MegaCLI Commands to StorCLI Command Conversion

Delete a virtual drive hosting the
operating system.

MegaCLI -CfgLdDel

-LX|-L0,2,5...|-LALL [-Force]

-aN|-a0,1,2|-aALL

storcli /cx/vx[all] delete -force

Delete a CacheCade virtual drive.

MegaCLI -CfgCacheCadeDel

-LX|-L0,2,5...|-LALL

-aN|-a0,1,2|-Aall

storcli /cx/vx[all] delete
CacheCade(cc)

Show, delete, and import the foreign
configuration commands.

MegaCli –CfgForeign –Scan |

{-Preview | –Dsply| -Import |

-Clear[FID]} -aN|-a0,1,2|-aALL"

storcli /cx/f(x|all) show [all]
[securityKey=xxx]

storcli /cx/f(x|all) del|delete
[securityKey=xxx]

storcli /cx/f(x|all) import
[preview] [securityKey=xxx]"

Table 18 Security Commands

Set the key ID for the controller.

MegaCli -CreateSecurityKey

-SecurityKey sssssssssss |

[-Passphrase sssssssssss] |

[-KeyID kkkkkkkkkkk] -aN

storcli /cx set SecurityKey=XXXXXX
[passphrase=yyyyy] [keyId=zzzz]

Change the security key for the
controller.

MegaCli -ChangeSecurityKey

-OldSecurityKey sssssssssss |

-SecurityKey sssssssssss|

[-Passphrase sssssssssss] |

[-KeyID kkkkkkkkkkk] -aN

storcli /cx set SecurityKey=XXXXXX
OldSecurityKey=yyyyy

Compare and verify the security key
for the controller.

MegaCli -VerifySecurityKey

-SecurityKey sssssssssss -aN

storcli /cx compare
SecurityKey=xxxxxx

Delete the security key.

MegaCLI -DestroySecurityKey |

[-Force] -aN

storcli /cx delete SecurityKey

Set the security key for the controller. MegaCli -SetKeyID -KeyID kkkkkkkkkkk

-aN

storcli /cx set SecurityKey
KeyId=xxxx

Table 17 RAID Configuration Commands (Continued)