forked from oracle/nosql-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexpand-add-capacity.kvs
17 lines (16 loc) · 1.1 KB
/
expand-add-capacity.kvs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Copyright (c) 2023 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
plan change-storagedir -sn sn1 -storagedir /home/opc/nosql/data/disk2 -storagedirsize 5500-MB -add -wait
plan change-storagedir -sn sn1 -storagedir /home/opc/nosql/data/disk3 -storagedirsize 5500-MB -add -wait
plan change-storagedir -sn sn2 -storagedir /home/opc/nosql/data/disk2 -storagedirsize 5500-MB -add -wait
plan change-storagedir -sn sn2 -storagedir /home/opc/nosql/data/disk3 -storagedirsize 5500-MB -add -wait
plan change-storagedir -sn sn3 -storagedir /home/opc/nosql/data/disk2 -storagedirsize 5500-MB -add -wait
plan change-storagedir -sn sn3 -storagedir /home/opc/nosql/data/disk3 -storagedirsize 5500-MB -add -wait
plan change-parameters -service sn1 -wait -params capacity=3
plan change-parameters -service sn2 -wait -params capacity=3
plan change-parameters -service sn3 -wait -params capacity=3
topology clone -current -name 3x3
topology redistribute -name 3x3 -pool AllStorageNodes
topology preview -name 3x3
plan deploy-topology -name 3x3 -wait