Sponsored Content
Full Discussion: Some Question's about Zone
Operating Systems Solaris Some Question's about Zone Post 302369276 by bartus11 on Saturday 7th of November 2009 09:15:21 AM
Old 11-07-2009
Quote:
Originally Posted by dellxmax
thanks sir for your effort
did you know how to reconfigure zone already exist?
vi command
please explain
If you want to completely reset zone's configuration, then login to zone through console (zlogin -C) and execute:

Code:
# sys-unconfig

Zone will reboot, and after that it will prompt you to enter configuration info.

Be carefull not to execute sys-unconfig from global zone.
 

9 More Discussions You Might Find Interesting

1. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

2. Solaris

Question regarding Zone Migration

I have a general question regarding Zone Migration. I have an older system that is currently running a zone configured with ProFTPD & SSL. If I want to migrate or clone that zone to another (much newer) system, will I still have to setup & configure ProFTPD & SSL on the new system? (3 Replies)
Discussion started by: em23
3 Replies

3. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

4. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

5. Solaris

Zone ipf question

Hello, I was wondering, if your setting ipf filter rules on a Solaris 10 server with one or more full root zones. Where do you set it? I know that the place to set the rules is here; /etc/ipf/ipf.conf. Do I set it in each zone and the global? Or should I just set the rules at the global? ... (7 Replies)
Discussion started by: bitlord
7 Replies

6. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

7. Solaris

Zone Cluster Question

I have a question about losing a node in a zone cluster. Hopefully I can explain enough for someone to answer. Let's say I have a zone cluster spread over 3 physical nodes. If Node1 crashes, would I be correct in assuming I would lose all zones on Node1? If I lost Node1 below, would I lose... (4 Replies)
Discussion started by: MasonJ
4 Replies

8. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

9. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
zlogin(1)							   User Commands							 zlogin(1)

NAME
zlogin - enter a zone SYNOPSIS
zlogin [-CE] [-e c] [-l username] zonename zlogin [-ES] [-e c] [-l username] zonename utility [argument...] DESCRIPTION
The zlogin utility is used by the administrator to enter an operating system zone. Only a superuser operating in the global system zone can use this utility. zlogin operates in one of three modes: Interactive Mode If no utility argument is given and the stdin file descriptor for the zlogin process is a tty device, zlogin operates in interactive mode. In this mode, zlogin creates a new pseudo terminal for use within the login session. Programs requiring a tty device, for exam- ple, vi(1), work properly in this mode. In this mode, zlogin invokes login(1) to provide a suitable login session. Non-Interactive Mode If a utility is specified, zlogin operates in non-interactive mode. This mode can be useful for script authors since stdin, stdout, and stderr are preserved and the exit status of utility is returned upon termination. In this mode, zlogin invokes su(1M) in order to set up the user's environment and to provide a login environment. Console Mode If the -C option is specified, the user is connected to the zone console device and zlogin operates in console mode. The zone console is available once the zone is in the installed state. Connections to the console are persistent across reboot of the zone. OPTIONS
The following options are supported: -C Connects to the zone console. -e c Specifies a different escape character, c, for the key sequence used to access extended functions and to disconnect from the login. The default escape character is the tilde (~). -E Disables the ability to access extended functions or to disconnect from the login by using the escape sequence character. -l username Specifies a different username for the zone login. If you do not use this option, the zone username used is "root". This option is invalid if the -C option is specified. -S "Safe" login mode. zlogin does minimal processing and does not invoke login(1) or su(1M). The -S option can not be used if a username is specified through the -l option, and cannot be used with console logins. This mode should only be used to recover a damaged zone when other forms of login have become impossible. Escape Sequences Lines that you type that start with the tilde character (~) are "escape sequences". The escape character can be changed using the -e option. ~. Disconnects from the zone. This is not the same as a logout, because the local host breaks the connection with no warning to the zone's end. SECURITY
Once a process has been placed in a zone other than the global zone, the process cannot change zone again, nor can any of its children. OPERANDS
The following operands are supported: zonename The name of the zone to be entered. utility The utility to be run in the specified zone. argument... Arguments passed to the utility. EXIT STATUS
In interactive and non-interactive modes, the zlogin utility exits when the command or shell in the non-global zone exits. In non-interac- tive mode, the exit status of the remote program is returned as the exit status of zlogin. In interactive mode and console login mode, the exit status is not returned. zlogin returns a 0 exit status as long as no connection-related error occurred. In all modes, in the event that a connection to the zone cannot be established, the connection fails unexpectedly, or the user is lacking sufficient privilege to perform the requested operation, zlogin exits with status 1. To summarize, the following exit values are returned: 0 Successful entry. 1 Permission denied, or failure to enter the zone. Any Return code from utility, or from su(1M) if operating in non-interactive mode. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWzoneu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
login(1), vi(1), su(1M), zoneadm(1M), zonecfg(1M), attributes(5), zones(5) NOTES
zlogin fails if its open files or any portion of its address space corresponds to an NFS file. This includes the executable itself or the shared libraries. SunOS 5.10 14 May 2004 zlogin(1)
All times are GMT -4. The time now is 04:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy