3PAR StoreServ Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I run 3PAR cli commands without having answer "y" at every command?

SOLVED
Go to solution
StuartA46
Frequent Advisor

How do I run 3PAR cli commands without having answer "y" at every command?

How can I execute this 3par cli command without him asking me to approve every time:

 

[abramsd@adeld392p NADC_3PAR]$ tunevv usr_cpg FC_R5_SS4_VMware NADC_VMWARE.4
Are you sure you want to tune VV 'NADC_VMWARE.4' ?
select y=yes n=no: y
Task 9035 started

 

I don't want to have to answer "y" every time!  It messes up my scripts.

 

    Stuart

1 REPLY
Jason_L
Valued Contributor
Solution

Re: How do I run 3PAR cli commands without having answer "y" at every command?

Hello!

 

SYNTAX
The tunevv command uses one of the following syntax conventions:
• tunevv usr_cpg <CPG> [options <arg>] <VV_name>
• tunevv snp_cpg <CPG> [options <arg>] <VV_name>
• tunevv restart [options <arg>] <VV_name>
• tunevv rollback [options <arg>] <VV_name>
• tunevv <VV_name>
AUTHORITY
Super, Edit2
Any role granted the vv_tune right
SUBCOMMANDS
usr_cpg <CPG>
Moves the logical disks being used for user space to the specified Common Provisioning Group.
snp_cpg <CPG>
Moves the LDs being used for snapshot space to the specified Common Provisioning Group. This
option cannot be used on Thinly Provisioned Virtual Volumes.
restart
Restarts a tunevv command call that was previously interrupted because of component failure,
or because of user initiated cancellation. This cannot be used on Thinly Provisioned Virtual Volumes.
rollback
Returns to a previously issued tunevv operation call that was interrupted. The canceltask
command needs to run before the rollback. This cannot be used on Thinly Provisioned Virtual
Volumes.
OPTIONS
–f
Forces the command. The command completes without prompting for confirmation.

 

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02985999/c02985999.pdf

 

page 602.

 

 

Does this help?

 

-Jason


StuartA46 wrote:

How can I execute this 3par cli command without him asking me to approve every time:

 

[abramsd@adeld392p NADC_3PAR]$ tunevv usr_cpg FC_R5_SS4_VMware NADC_VMWARE.4
Are you sure you want to tune VV 'NADC_VMWARE.4' ?
select y=yes n=no: y
Task 9035 started

 

I don't want to have to answer "y" every time!  It messes up my scripts.

 

    Stuart




I work for HPE.