Cluster I/O Protocols (CIP) Configuration and Management Manual (H06.16+, J06.05+)

Example 18 Changing Providers
1. Stop the CLIM by using the SCF ABORT CLIM command:
> ABORT CLIM $ZZCIP.clim-name, FORCE
2. Change the CLIM's provider by using the SCF ALTER command:
> ALTER CLIM $ZZCIP.clim-name, PROVIDER prov-name
3. Start the CLIM by using the SCF START command:
> START CLIM $ZZCIP.clim-name
> START PROVIDER $ZZCIP.prov-name
CLIMs with MULTIPROV ON
To change the providers that a CLIM provides services to, you discover the current usage of the
CLIM, free any resources that might be in use by pre-existing providers, and configure the new
provider.
Example 19 Changing Providers or Adding New Providers
1. Determine what providers exist on the CLIM:
> CLIMCMD clim-name climconfig prov -info all
2. Determine what interfaces are configured on the CLIM:
> SCF STATUS CLIM $ZZCIP.clim-name, DETAIL
3. Delete any interfaces that are no longer needed:
CAUTION: Deleting interfaces will also delete IP addresses and routes.
> CLIMCMD clim-name ifstop interface-name
> CLIMCMD clim-name climconfig interface -delete interface-name
4. Delete any unused providers on the CLIM:
CAUTION: Deleting providers will also delete iptables rules and ipsec objects. Objects
include sp, sa, psk, remote, iptables and ip6tables.
> CLIMCMD clim-name climconfig prov -delete prov-name
5. Add new providers, as necessary:
> SCF ADD PROCESS $ZZKRN.process-name, PROGRAM CIPSAM, NAME $process-name
> SCF ADD PROVIDER $ZZCIP.prov-name, TPNAME process-name
> SCF START PROCESS $ZZKRN.process-name
> SCF START PROVIDER $ZZCIP.prov-name
For more options on adding the provider, see ALTER CLIM Guidelines (page 232).
6. Register the provider on the CLIM:
> CLIMCMD clim-name climconfig prov -add prov-name
7. Configure unused interfaces in the new provider:
> CLIMCMD clim-name climconfig interface -add interface-name -prov prov-name
8. Configure the objects for the new provider.
> CLIMCMD clim-name climconfig ip -add interface-name
-ipaddress ip-address netmask 255.255.255.0
Refer to the climconfig prov command and the other commands for objects, such as sp, sa,
psk, remote, iptables and ip6tables, under “Climconfig (Man Pages)” (page 301).
9. Delete any unused providers on the NonStop system by issuing the following SCF commands:
a. Verify that the provider is unused:
Changing Providers, Adding and Starting a CLIM (IP and Telco Only) 131