Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\CreateNic - Add NIC to Server
[Linux Manager]
/opt/FJSVcfmg/bin/CreateNic.sh - Add NIC to Server
Synopsis
[Windows Manager]
CreateNic -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -networkId network ID [-ipAddress IP address]
[Linux Manager]
CreateNic.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -networkId network ID [-ipAddress IP address]
Function description
This Command adds an NIC to 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 addition 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
When NIC is added, the automatic setting of Internet Protocol address on guest OS is not done.
Log in guest OS after adding NIC, and set IP address displayed in detailed information of L-Server to guest OS manually.
Confirm added NIC can be correctly communicated with the external instrument after IP address is set.
When two or more NIC is added, it is recommended to add it one by one.
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 network ID connecting the added NIC.
Specify the IP address to be allocated to the added NIC.
Requirements
User with OS administrator privilege
Admin server
Example
> CreateNic -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -networkId M3PGGWCFX-N-seg1 -ipAddress 192.xxx.xxx.xxx <?xml version="1.0" encoding="UTF-8"?> <CreateNicResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </CreateNicResponse>
# CreateNic.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -networkId M3PGGWCFX-N-seg1 -ipAddress 192.xxx.xxx.xxx <?xml version="1.0" encoding="UTF-8"?> <CreateNicResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </CreateNicResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.