changeLoadBalancedServerInstances
    • PDF

    changeLoadBalancedServerInstances

    • PDF

    Article summary

    Overview

    Changing server load balancer instances

    Description

    Change server load balancer instances.
    This is a feature to newly group instances without cosidering the existing data. It is used when you have many instances to group.

    Request Parameters

    Parameter NameRequirednessTypeLimitationDescription
    loadBalancerInstanceNoYesStringRepeat not allowedLoad balancer instance No. to change
    serverInstanceNoListYesStringRepeat not allowedServer instance No. list to configure a load balancer

    Response Data Type

    • LoadBalancerInstanceList type
    LoadBalancerInstanceList extends CommonResponse
    private Integer totalRows;
    private List loadBalancerInstanceList = new ArrayList();
    LoadBalancerInstance
    private String loadBalancerInstanceNo;
    private String virtualIp;
    private String loadBalancerName;
    private CommonCode loadBalancerAlgorithmType;
    private String loadBalancerDescription;
    private Date createDate;
    private String domainName;
    private String loadBalancerInstanceStatusName;
    private CommonCode loadBalancerInstanceStatus;
    private CommonCode loadBalancerInstanceOperation;
    private CommonCode networkUsageType;
    private boolean isHttpKeepAlive;
    private Integer connectionTimeout;
    private String certificateName;
    private List loadBalancerRuleList;
    private List loadBalancedServerInstanceList;

    Examples

    Request

    ncloud loadbalancer changeLoadBalancedServerInstances --loadBalancerInstanceNo 465475 --serverInstanceNoList 463086
    

    Response

    {
      "changeLoadBalancedServerInstancesResponse": {
        "requestId": "70e6990f-45a8-49f9-905a-3e6fa5ada329",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "loadBalancerInstanceList": [
         {
           "loadBalancerInstanceNo": 465475,
           "virtualIp": "49.236.164.49,49.236.164.68",
           "loadBalancerName": "penguinlb",
           "loadBalancerAlgorithmType": {
             "code": "RR",
             "codeName": "Round Robin"
           },
           "loadBalancerDescription": "",
           "createDate": "0518-12-03T12:25:18+0900",
           "domainName": "slb-465475.ncloudslb.com",
           "loadBalancerInstanceStatusName": "changing",
           "loadBalancerInstanceStatus": {
             "code": "USED",
             "codeName": "NET USED state"
           },
           "loadBalancerInstanceOperation": {
             "code": "CHANG",
             "codeName": "NET CHANGE OP"
           },
           "networkUsageType": {
             "code": "PBLIP",
             "codeName": "Public"
           },
           "isHttpKeepAlive": false,
           "connectionTimeout": 60,
           "certificateName": "",
           "loadBalancerRuleList": [
             {
                 "protocolType": {
                   "code": "HTTP",
                   "codeName": "http"
                 },
                 "loadBalancerPort": 80,
                 "serverPort": 1024,
                 "l7HealthCheckPath": "/l7check.html",
                 "certificateName": "",
                 "proxyProtocolUseYn": "N",
                 "stickySessionUseYn": "N",
                 "http2UseYn": "N"
             }
           ],
           "loadBalancedServerInstanceList": [
            {
               "serverInstanceNo": 463086,
               "serverName": "penguin",
               "serverDescription": "",
               "cpuCount": 2,
               "memorySize": 2147483648,
               "baseBlockStorageSize": 53687091200,
               "platformType": {
                 "code": "LNX64",
                 "codeName": "Linux 64 Bit"
               },
               "loginKeyName": "ncloud",
               "isFeeChargingMonitoring": false,
               "publicIp": "",
               "privateIp": "10.39.3.139",
               "serverImageName": "centos-7.3-64",
               "serverInstanceStatus": {
                 "code": "RUN",
                 "codeName": "Server run state"
               },
               "serverInstanceOperation": {
                 "code": "NULL",
                 "codeName": "Server NULL OP"
               },
               "serverInstanceStatusName": "running",
               "createDate": "2017-12-04T16:26:54+0900",
               "uptime": "2017-12-04T17:33:16+0900",
               "serverImageProductCode": "SPSW0LINUX000046",
               "serverProductCode": "SPSVRSTAND000049",
               "isProtectServerTermination": false,
               "portForwardingPublicIp": "49.236.160.9",
               "zone": {
                 "zoneNo": 2,
                 "zoneName": "KR-1",
                 "zoneDescription": "가산 NANG zone"
               },
               "region": {
                 "regionNo": 1,
                 "regionCode": "KR",
                 "regionName": "Korea"
               },
               "baseBlockStorageDiskType": {
                 "code": "NET",
                 "codeName": "Network Storage"
               },
               "baseBlockStroageDiskDetailType": {
                 "code": "HDD",
                 "codeName": "HDD"
               },
               "userData": "",
               "accessControlGroupList": [
                 {
                   "accessControlGroupConfigurationNo": 17759,
                   "accessControlGroupName": "ncloud-default-acg",
                   "accessControlGroupDescription": "Default AccessControlGroup",
                   "isDefault": true,
                   "createDate": "2013-12-03T10:37:43+0900"
                 }
               ],
                "serverHealthCheckStatusList": [
                  {
                      "protocolType": {
                        "code": "HTTP",
                        "codeName": "http"
                      },
                      "loadBalancerPort": 80,
                      "serverPort": 1024,
                      "l7HealthCheckPath": "/l7check.html",
                      "proxyProtocolUseYn": "N",
                      "serverStatus": false
                  }
                ]
             }
           ]
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <changeLoadBalancedServerInstancesResponse>
      <requestId>70e6990f-45a8-49f9-905a-3e6fa5ada329</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <loadBalancerInstanceList>
        <loadBalancerInstanceNo>465475</loadBalancerInstanceNo>
        <virtualIp>49.236.164.49,49.236.164.68</virtualIp>
        <loadBalancerName>penguinlb</loadBalancerName>
        <loadBalancerAlgorithmType>
          <code>RR</code>
          <codeName>Round Robin</codeName>
        </loadBalancerAlgorithmType>
        <loadBalancerDescription></loadBalancerDescription>
        <createDate>0518-12-03T12:25:18+0900</createDate>
        <domainName>slb-465475.ncloudslb.com</domainName>
        <loadBalancerInstanceStatusName>changing</loadBalancerInstanceStatusName>
        <loadBalancerInstanceStatus>
          <code>USED</code>
          <codeName>NET USED state</codeName>
        </loadBalancerInstanceStatus>
        <loadBalancerInstanceOperation>
          <code>CHANG</code>
          <codeName>NET CHANGE OP</codeName>
        </loadBalancerInstanceOperation>
        <networkUsageType>
          <code>PBLIP</code>
          <codeName>Public</codeName>
        </networkUsageType>
        <isHttpKeepAlive>false</isHttpKeepAlive>
        <connectionTimeout>60</connectionTimeout>
        <certificateName></certificateName>
        <loadBalancerRuleList>
          <protocolType>
            <code>HTTP</code>
            <codeName>http</codeName>
          </protocolType>
          <loadBalancerPort>80</loadBalancerPort>
          <serverPort>1024</serverPort>
          <l7HealthCheckPath>/l7check.html</l7HealthCheckPath>
          <certificateName></certificateName>
          <proxyProtocolUseYn>N</proxyProtocolUseYn>
          <stickySessionUseYn>N</stickySessionUseYn>
          <http2UseYn>N</http2UseYn>
        </loadBalancerRuleList>
        <loadBalancedServerInstanceList>
          <serverInstanceNo>463086</serverInstanceNo>
          <serverName>penguin</serverName>
          <serverDescription></serverDescription>
          <cpuCount>2</cpuCount>
          <memorySize>2147483648</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <platformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </platformType>
          <loginKeyName>ncloud</loginKeyName>
          <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
          <publicIp></publicIp>
          <privateIp>10.39.3.139</privateIp>
          <serverImageName>centos-7.3-64</serverImageName>
          <serverInstanceStatus>
            <code>RUN</code>
            <codeName>Server run state</codeName>
          </serverInstanceStatus>
          <serverInstanceOperation>
            <code>NULL</code>
            <codeName>Server NULL OP</codeName>
          </serverInstanceOperation>
          <serverInstanceStatusName>running</serverInstanceStatusName>
          <createDate>2017-12-04T16:26:54+0900</createDate>
          <uptime>2017-12-04T17:33:16+0900</uptime>
          <serverImageProductCode>SPSW0LINUX000046</serverImageProductCode>
          <serverProductCode>SPSVRSTAND000049</serverProductCode>
          <isProtectServerTermination>false</isProtectServerTermination>
          <portForwardingPublicIp>49.236.160.9</portForwardingPublicIp>
          <zone>
            <zoneNo>2</zoneNo>
            <zoneName>KR-1</zoneName>
            <zoneDescription>가산 NANG zone</zoneDescription>
          </zone>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
          </region>
          <baseBlockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </baseBlockStorageDiskType>
          <baseBlockStroageDiskDetailType>
            <code>HDD</code>
            <codeName>HDD</codeName>
          </baseBlockStroageDiskDetailType>
          <userData></userData>
          <accessControlGroupList>
            <accessControlGroupConfigurationNo>17759</accessControlGroupConfigurationNo>
            <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
            <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
            <isDefault>true</isDefault>
            <createDate>2013-12-03T10:37:43+0900</createDate>
          </accessControlGroupList>
          <serverHealthCheckStatusList>
            <protocolType>
              <code>HTTP</code>
              <codeName>http</codeName>
            </protocolType>
            <loadBalancerPort>80</loadBalancerPort>
            <serverPort>1024</serverPort>
            <l7HealthCheckPath>/l7check.html</l7HealthCheckPath>
            <proxyProtocolUseYn>N</proxyProtocolUseYn>
            <serverStatus>false</serverStatus>
          </serverHealthCheckStatusList>
        </loadBalancedServerInstanceList>
      </loadBalancerInstanceList>
    </changeLoadBalancedServerInstancesResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.