CLI cookbook: how to change IP address of Delphix Engine
This topic describes how to change an IP address on the Delphix Engine.
Procedure
Stop all running VDBs by clicking the Stop button on the VDB card.
Disable all dSources.
Log into the Delphix Engine as sysadmin user and switch to the network interface context. Then use the list command to view the available network interfaces, and select the public interface to be changed.
CODEdelphix> network delphix network> setup delphix network interface> list NAME vmxnet3s0 delphix network interface> select vmxnet3s0 delphix network interface 'vmxnet3s0'> get type: NetworkInterface name: vmxnet3s0 addresses: 0: type: InterfaceAddress address: 10.1.2.3/24 addressType: STATIC enableSSH: true state: OK dataNode: DATA_NODE-34 device: vmxnet3s0 macAddress: 0:c:29:32:96:a3 mtu: 1500 mtuRange: 60-9000 reference: NETWORK_INTERFACE-vmxnet3s0-DATA_NODE-34 state: OK
Run the update command and update the address to the new IP address.
CODEdelphix network interface 'vmxnet3s0'> update delphix network interface 'vmxnet3s0' update *> edit addresses.0 delphix network interface 'vmxnet3s0' update addresses.0 *> get Properties type: InterfaceAddress address: 172.16.151.154/24 addressType: STATIC enableSSH: true delphix network interface 'vmxnet3s0' update addresses.0 *> set address=10.1.2.4/24 delphix network interface 'vmxnet3s0' update addresses.0 *> get type: InterfaceAddress (*) address: 10.1.2.4/24 (*) addressType: STATIC (*) enableSSH: true (*)
Commit the operation.
CODEdelphix network interface 'vmxnet3s0' update addresses.0 *> commit delphix network interface 'vmxnet3s0'> get type: NetworkInterface name: vmxnet3s0 addresses: 0: type: InterfaceAddress address: 10.1.2.4/24 addressType: STATIC enableSSH: true state: OK dataNode: DATA_NODE-34 device: vmxnet3s0 macAddress: 0:c:29:32:96:a3 mtu: 1500 mtuRange: 60-9000 reference: NETWORK_INTERFACE-vmxnet3s0-DATA_NODE-34 state: OK
Re-enable the VDBs and dSources running from the engine.