Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\DestroyNic - Delete Specified NIC from Server
[Linux Manager]
/opt/FJSVcfmg/bin/DestroyNic.sh - Delete Specified NIC from Server
Synopsis
[Windows Manager]
DestroyNic -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -nicNo NIC number [-force forced_deletion]
[Linux Manager]
DestroyNic.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -nicNo NIC number [-force forced_deletion]
Function description
This commandI deletes a specified NIC from a server.
This command can only be executed when the server virtualization software on the server is VMware, Hyper-V, or RHEL-KVM.
If the target server has snapshots, NIC deletion cannot be done.
This command cannot be executed in the following cases:
The target L-Platform has Solaris Zones servers not managed by BladeLogic.
The target L-Platform has OVM for SPARK management servers.
Note
If a NIC being deleted has been configured on the guest OS, the deletion on the L-Platform tab does not delete the configuration from the guest OS.
Delete the configuration of the NIC from the guest OS beforehand.
Options
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Specify the L-Platform ID.
Specify the server ID.
Specify the NIC number.
Specify whether NICs that are distribution targets for the server load balancer will be forcibly deleted.
Requirements
User with OS administrator privilege
Admin server
Example
> DestroyNic -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -nicNo 2 <?xml version="1.0" encoding="UTF-8"?> <DestroyNicResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </DestroyNicResponse>
# DestroyNic.sh -version 2.0 -locale en -jp user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -nicNo 2 <?xml version="1.0" encoding="UTF-8"?> <DestroyNicResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </DestroyNicResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.