request system software in-service-upgrade (Maintenance)
구문
request system software in-service-upgrade image_name <no-copy> <no-old-master-upgrade> <no-sync> <no-tcp-syn-check> <no-validate> <status> <unlink>
설명
ISSU(In-Service Software Upgrade) 기능을 사용하면 섀시 클러스터 쌍을 지원되는 Junos OS 버전에서 업그레이드하여 중복 그룹 페일오버와 유사한 트래픽 영향을 미칠 수 있습니다. 업그레이드하기 전에 모든 중복 그룹이 하나의 디바이스에서만 활성화되도록 페일오버를 수행해야 합니다. ISSU를 시작하기 전에 라우팅 프로토콜에 대한 Graceful Restart를 활성화하는 것이 좋습니다.
SRX300, SRX320, SRX340, SRX345 및 SRX380 디바이스의 경우 매개 변수를 사용하여 no-sync
대역 내 클러스터 업그레이드(ICU)를 수행해야 합니다. 이를 통해 약 30초의 서비스 중단을 최소화하면서 섀시 클러스터 쌍을 업그레이드할 수 있습니다.
SRX1500, SRX4100 및 SRX4200 디바이스의 no-sync
경우 ISSU를 사용하여 업그레이드할 때 매개 변수가 지원되지 않습니다. 이 no-sync
옵션은 상태가 기본 노드에서 보조 노드로 동기화되지 않도록 지정합니다.
SRX1500 디바이스의 경우 ISSU를 no-tcp-syn-check
사용하여 업그레이드할 때 매개 변수가 지원되지 않습니다.
옵션
image_name
- 설치할 소프트웨어 업그레이드 패키지의 위치와 이름을 지정합니다.no-copy
- (선택 사항) 소프트웨어 업그레이드 패키지를 설치하되 패키지 파일의 사본은 저장하지 않습니다.no-old-master-upgrade
—(선택 사항) 전환 후 이전 기본을 업그레이드하지 마십시오.이 매개 변수는 SRX5400, SRX5600 및 SRX5800 장치에만 적용됩니다.
no-sync
—(선택 사항) 이전 보조 노드가 새 Junos OS 이미지로 부팅되면 플로우 상태가 동기화되지 않도록 합니다.이 매개 변수는 SRX300, SRX320, SRX340, SRX345 및 SRX380 디바이스에만 적용됩니다. ICU에 필요합니다.
no-tcp-syn-check
- (선택 사항) 수신 패킷에 대한 TCP SYN 검사가 비활성화된 창을 만듭니다. 창의 기본값은 7200초(2시간)입니다.이 매개 변수는 SRX300, SRX320, SRX340, SRX345 및 SRX380 디바이스에만 적용됩니다.
no-validate
- (선택 사항) 설치 시 구성 검증 단계를 비활성화합니다. 시스템 동작은 명령의request system software add
동작과 유사합니다.이 매개 변수는 SRX300, SRX320, SRX340, SRX345 및 SRX380 디바이스에만 적용됩니다.
status
—(옵션) 업그레이드 중 통합 ISSU의 상태를 표시합니다. 올바른 ISSU 로그 파일을 표시하려면 ISSU가 트리거된 라우팅 엔진에서 이 명령을 실행해야 합니다.이 매개변수는 SRX1500, SRX4100, SRX4200, SRX4600, SRX5400, SRX5600 및 SRX5800 장치에만 적용됩니다.
unlink
—(선택 사항) 성공적으로 설치한 후 소프트웨어 패키지를 제거합니다.
필요한 권한 수준
유지 관리
출력 필드
이 명령을 입력하면 요청 상태에 대한 피드백이 제공됩니다.
샘플 출력
시스템 소프트웨어 서비스 중 업그레이드 상태 요청(SRX1500, SRX4100, SRX4200, SRX4600, SRX5400, SRX5600 및 SRX5800)
user@host> request system software in-service-upgrade status [Apr 29 01:31:11]:ISSU: Validating Image [Apr 29 01:43:13]:ISSU: Validating Image Done [Apr 29 01:43:13]:ISSU: Preparing Backup RE [Apr 29 01:43:13]:ISSU: Pushing /var/tmp/junos-install-mx-x86-32-19.3I20190425_1 100_divyansh.tgz to re1:/var/tmp/junos-install-mx-x86-32-19.3I20190425_1100_divy ansh.tgz [Apr 29 01:44:48]:ISSU: Pushing package /var/tmp/junos-install-mx-x86-32-19.3I20 190425_1100_divyansh.tgz to re1 done [Apr 29 01:44:48]:ISSU: Installing package /var/tmp/junos-install-mx-x86-32-19.3 I20190425_1100_divyansh.tgz on re1 [Apr 29 01:52:35]:ISSU: Installing package /var/tmp/junos-install-mx-x86-32-19.3 I20190425_1100_divyansh.tgz on re1 done [Apr 29 01:52:35]:ISSU: Rebooting Backup RE [Apr 29 01:52:36]:ISSU: Backup RE Prepare Done [Apr 29 01:52:36]:ISSU: Waiting for Backup RE reboot [Apr 29 01:56:45]:ISSU: Backup RE reboot done. Backup RE is up [Apr 29 01:56:45]:ISSU: Waiting for Backup RE state synchronization [Apr 29 01:57:10]:ISSU: Backup RE state synchronization done [Apr 29 01:57:10]:ISSU: GRES operational [Apr 29 01:58:16]:ISSU: Preparing Daemons [Apr 29 01:58:40]:ISSU: Daemons Ready for ISSU [Apr 29 01:58:46]:ISSU: Offline Incompatible FRUs [Apr 29 01:58:51]:ISSU: Starting Upgrade for FRUs [Apr 29 02:03:32]:ISSU: Preparing for Switchover [Apr 29 02:03:57]:ISSU: Ready for Switchover [Apr 29 02:03:59]:ISSU: RE switchover Done [Apr 29 02:03:59]:ISSU: Upgrading Old Master RE [Apr 29 02:12:51]:ISSU: Old Master Upgrade Done [Apr 29 02:12:51]:ISSU: IDLE
샘플 출력
시스템 소프트웨어 서비스 중 업그레이드 요청(SRX300, SRX320, SRX340, SRX345 및 SRX380 디바이스)
user@host> request system software in-service-upgrade /var/tmp/junos-srxsme-15.1I20160520_0757-domestic.tgz no-sync ISSU: Validating package WARNING: in-service-upgrade shall reboot both the nodes in your cluster. Please ignore any subsequent reboot request message ISSU: start downloading software package on secondary node Pushing /var/tmp/junos-srxsme-15.1I20160520_0757-domestic.tgz to node0:/var/tmp/junos-srxsme-15.1I20160520_0757-domestic.tgz Formatting alternate root (/dev/da0s1a)... /dev/da0s1a: 2510.1MB (5140780 sectors) block size 16384, fragment size 2048 using 14 cylinder groups of 183.62MB, 11752 blks, 23552 inodes. super-block backups (for fsck -b #) at: 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544, 3384608, 3760672, 4136736, 4512800, 4888864 Installing package '/altroot/cf/packages/install-tmp/junos-15.1I20160520_0757-domestic' ... Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 WARNING: The software that is being installed has limited support. WARNING: Run 'file show /etc/notices/unsupported.txt' for details. Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 JUNOS 15.1I20160520_0757 will become active at next reboot WARNING: A reboot is required to load this software correctly WARNING: Use the 'request system reboot' command WARNING: when software installation is complete cp: cannot overwrite directory /altroot/cf/etc/ssh with non-directory /cf/etc/ssh Saving state for rollback ... ISSU: finished upgrading on secondary node node0 ISSU: start upgrading software package on primary node Formatting alternate root (/dev/da0s1a)... /dev/da0s1a: 2510.1MB (5140780 sectors) block size 16384, fragment size 2048 using 14 cylinder groups of 183.62MB, 11752 blks, 23552 inodes. super-block backups (for fsck -b #) at: 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544, 3384608, 3760672, 4136736, 4512800, 4888864 Installing package '/altroot/cf/packages/install-tmp/junos-15.1I20160520_0757-domestic' ... Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 WARNING: The software that is being installed has limited support. WARNING: Run 'file show /etc/notices/unsupported.txt' for details. Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 JUNOS 15.1I20160520_0757 will become active at next reboot WARNING: A reboot is required to load this software correctly WARNING: Use the 'request system reboot' command WARNING: when software installation is complete cp: cannot overwrite directory /altroot/cf/etc/ssh with non-directory /cf/etc/ssh Saving state for rollback ... ISSU: failover all redundancy-groups 1...n to primary node Successfully reset all redundancy-groups priority back to configured priority. Successfully reset all redundancy-groups priority back to configured priority. error: Command failed. None of the redundancy-groups has been failed over. Some redundancy-groups' priority on node1 are 0. e.g.: priority of redundancy-groups-1 on node1 is 0. Use 'force' option at the end to ignore this check. WARNING: Using force option may cause traffic loss. ISSU: rebooting Secondary Node Shutdown NOW! ISSU: Waiting for secondary node node0 to reboot. ISSU: node 0 went down ISSU: Waiting for node 0 to come up ISSU: node 0 came up ISSU: secondary node node0 booted up. ISSU: failover all redundancy-groups 1...n to remote node, before reboot. Successfully reset all redundancy-groups priority back to configured priority. Shutdown NOW! {primary:node1} user@host> *** FINAL System shutdown message from user@host *** System going down IMMEDIATELY
릴리스 정보
SRX5400, SRX5600 및 SRX5800 디바이스의 경우, Junos OS 릴리스 9.6에서 명령어가 소개되었습니다. SRX5400 디바이스의 경우 명령이 Junos OS 릴리스 12.1X46-D20에 도입되었습니다. SRX300, SRX320, SRX340 및 SRX345 디바이스의 경우, Junos OS 릴리스 15.1X49-D40에 소개된 명령입니다. SRX1500 디바이스의 경우, Junos OS 릴리스 15.1X49-D50에 명령어가 도입되었습니다. SRX380 디바이스의 경우, Junos OS 릴리스 20.1R1에 명령어가 도입되었습니다.
Junos OS 릴리스 15.1X49-D80부터 SRX4100 및 SRX4200 디바이스가 ISSU를 지원합니다.
Junos OS 릴리스 17.4R1부터 SRX4600 디바이스가 ISSU를 지원합니다.
SRX300 시리즈 디바이스 및 vSRX 가상 방화벽은 ISSU를 지원하지 않습니다.
SRX1500, SRX4100, SRX4200, SRX4600, SRX5400, status
SRX5600 및 SRX5800의 경우 옵션이 Junos OS 릴리스 20.4R1에 도입되었습니다.