2 Replies Latest reply on Apr 3, 2020 1:18 PM by Tim Blackman-Oracle

    how to change Oracle NoSQL  haHostname?

    alesfur

      I already deployed a test Oracle NoSQL (19.5.16) on two VM Oracle Linux nodes (VMNoSQLLnuxserver1/sn1 and VMNoSQLLnuxserver2/sn1) . The haHostname has been set as default, so I tried to modify this parameter on both nodes with the commands 'plan change-parameters -service sn1 -wait -params haHostname=VMRac1-int' and 'plan change-parameters -service sn2 -wait -params haHostname=VMRac2-int' (VMRAC1-int and VMRAC2-int are interfaces on an 'internal' network), but it doesn't seem to have worked properly. Is it possible to change this parameter without having to redeploy nodes?

       

      This is my topology and parameters:

       

      kv-> show topology

      store=kvstore  numPartitions=20 sequence=29

        zn: id=zn1 name=zone1 repFactor=2 type=PRIMARY allowArbiters=false masterAffinity=false

       

        sn=[sn1] zn:[id=zn1 name=zone1] VMNoSQLLinuxServer1:5050 capacity=2 RUNNING

          [rg1-rn1] RUNNING

                   single-op avg latency=0.0 ms   multi-op avg latency=129.15501 ms

          [rg2-rn1] RUNNING

                   single-op avg latency=0.0 ms   multi-op avg latency=128.41827 ms

        sn=[sn2] zn:[id=zn1 name=zone1] VMNoSQLLinuxServer2:5050 capacity=2 RUNNING

          [rg1-rn2] RUNNING

                   single-op avg latency=0.0 ms   multi-op avg latency=13.103157 ms

          [rg2-rn2] RUNNING

                   single-op avg latency=0.0 ms   multi-op avg latency=8.193316 ms

       

        numShards=2

        shard=[rg1] num partitions=10

          [rg1-rn1] sn=sn1

          [rg1-rn2] sn=sn2

        shard=[rg2] num partitions=10

          [rg2-rn1] sn=sn1

          [rg2-rn2] sn=sn2

       

      kv-> show parameters -service sn1

      adminWebPort=-1

      capacity=2

      dnsCacheNegativeTTL=10

      dnsCacheTTL=10

      haHostname=VMNoSQLLinuxServer1

      haPortRange=5061,5070

      hostname=VMNoSQLLinuxServer1

      jvmOverheadPercent=25

      memoryMB=3072

      mgmtClass=oracle.kv.impl.mgmt.jmx.JmxAgent

      mgmtPollPort=0

      mgmtTrapPort=0

      numCPUs=2

      registryPort=5050

      rnHeapMaxMB=0

      rnHeapPercent=68

      rootDirPath=/u01/data/ondb/kvroot

      searchClusterSecure=false

      serviceLogFileCount=20

      serviceLogFileLimit=2000000

      servicePortRange=5200,5220

      storageDirStorageType=UNKNOWN

      storageNodeId=1

      systemPercent=10

      Storage directories:

          path=/u01/data/ondb/disk1/data size=10 gb

          path=/u01/data/ondb/disk2/data size=10 gb

      RN Log directories:

          path=/u01/data/ondb/disk1/rnlog

          path=/u01/data/ondb/disk2/rnlog

      Admin directory:

          path=/u01/data/ondb/admin size=0